Skip to content

Commit 8b83c47

Browse files
committed
Bug 1895215 - [devtools] Display cookie's partitionKey in storage panel. r=timhuang,devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D216397 UltraBlame original commit: a551f98b192c80a6b84cf2e9d9f441251d522f67
1 parent b9e4c05 commit 8b83c47

File tree

5 files changed

+399
-47
lines changed

5 files changed

+399
-47
lines changed

devtools/client/storage/test/browser_storage_cookies_partitioned.js

+128
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,14 @@ expandAll
363363
(
364364
)
365365
;
366+
showColumn
367+
(
368+
"
369+
partitionKey
370+
"
371+
true
372+
)
373+
;
366374
info
367375
(
368376
"
@@ -434,6 +442,36 @@ top
434442
"
435443
)
436444
;
445+
checkCell
446+
(
447+
topLevelExampleComFooId
448+
"
449+
partitionKey
450+
"
451+
"
452+
"
453+
)
454+
;
455+
await
456+
findVariableViewProperties
457+
(
458+
[
459+
{
460+
name
461+
:
462+
"
463+
foo
464+
.
465+
Partition
466+
Key
467+
"
468+
dontMatch
469+
:
470+
true
471+
}
472+
]
473+
)
474+
;
437475
const
438476
nestedExampleComFooId
439477
=
@@ -480,6 +518,51 @@ nested
480518
"
481519
)
482520
;
521+
checkCell
522+
(
523+
nestedExampleComFooId
524+
"
525+
partitionKey
526+
"
527+
"
528+
https
529+
:
530+
/
531+
/
532+
example
533+
.
534+
com
535+
"
536+
)
537+
;
538+
await
539+
findVariableViewProperties
540+
(
541+
[
542+
{
543+
name
544+
:
545+
"
546+
foo
547+
.
548+
Partition
549+
Key
550+
"
551+
value
552+
:
553+
"
554+
https
555+
:
556+
/
557+
/
558+
example
559+
.
560+
com
561+
"
562+
}
563+
]
564+
)
565+
;
483566
await
484567
selectTreeItem
485568
(
@@ -546,6 +629,51 @@ party
546629
"
547630
)
548631
;
632+
checkCell
633+
(
634+
thirdPartyPartitionedId
635+
"
636+
partitionKey
637+
"
638+
"
639+
https
640+
:
641+
/
642+
/
643+
example
644+
.
645+
com
646+
"
647+
)
648+
;
649+
await
650+
findVariableViewProperties
651+
(
652+
[
653+
{
654+
name
655+
:
656+
"
657+
fooThirdPartyPartitioned
658+
.
659+
Partition
660+
Key
661+
"
662+
value
663+
:
664+
"
665+
https
666+
:
667+
/
668+
/
669+
example
670+
.
671+
com
672+
"
673+
}
674+
]
675+
)
676+
;
549677
info
550678
(
551679
"

devtools/client/storage/ui.js

+6
Original file line numberDiff line numberDiff line change
@@ -746,6 +746,12 @@ isSecure
746746
"
747747
Secure
748748
"
749+
partitionKey
750+
:
751+
"
752+
Partition
753+
Key
754+
"
749755
path
750756
:
751757
"

devtools/client/themes/storage.css

+2
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ hostOnly
365365
isHttpOnly
366366
#
367367
sameSite
368+
#
369+
partitioned
368370
{
369371
min
370372
-

0 commit comments

Comments
 (0)