Skip to content

Commit

Permalink
Bug 1895215 - [devtools] Display cookie's partitionKey in storage pan…
Browse files Browse the repository at this point in the history
…el. r=timhuang,devtools-reviewers,ochameau

Differential Revision: https://phabricator.services.mozilla.com/D216397

UltraBlame original commit: a551f98b192c80a6b84cf2e9d9f441251d522f67
  • Loading branch information
marco-c committed Dec 13, 2024
1 parent b9e4c05 commit 8b83c47
Show file tree
Hide file tree
Showing 5 changed files with 399 additions and 47 deletions.
128 changes: 128 additions & 0 deletions devtools/client/storage/test/browser_storage_cookies_partitioned.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,14 @@ expandAll
(
)
;
showColumn
(
"
partitionKey
"
true
)
;
info
(
"
Expand Down Expand Up @@ -434,6 +442,36 @@ top
"
)
;
checkCell
(
topLevelExampleComFooId
"
partitionKey
"
"
"
)
;
await
findVariableViewProperties
(
[
{
name
:
"
foo
.
Partition
Key
"
dontMatch
:
true
}
]
)
;
const
nestedExampleComFooId
=
Expand Down Expand Up @@ -480,6 +518,51 @@ nested
"
)
;
checkCell
(
nestedExampleComFooId
"
partitionKey
"
"
https
:
/
/
example
.
com
"
)
;
await
findVariableViewProperties
(
[
{
name
:
"
foo
.
Partition
Key
"
value
:
"
https
:
/
/
example
.
com
"
}
]
)
;
await
selectTreeItem
(
Expand Down Expand Up @@ -546,6 +629,51 @@ party
"
)
;
checkCell
(
thirdPartyPartitionedId
"
partitionKey
"
"
https
:
/
/
example
.
com
"
)
;
await
findVariableViewProperties
(
[
{
name
:
"
fooThirdPartyPartitioned
.
Partition
Key
"
value
:
"
https
:
/
/
example
.
com
"
}
]
)
;
info
(
"
Expand Down
6 changes: 6 additions & 0 deletions devtools/client/storage/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,12 @@ isSecure
"
Secure
"
partitionKey
:
"
Partition
Key
"
path
:
"
Expand Down
2 changes: 2 additions & 0 deletions devtools/client/themes/storage.css
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,8 @@ hostOnly
isHttpOnly
#
sameSite
#
partitioned
{
min
-
Expand Down
Loading

0 comments on commit 8b83c47

Please sign in to comment.