Skip to content

Commit

Permalink
Bug 1914417 - Refactor notification permission checker using principa…
Browse files Browse the repository at this point in the history
…l partition key r=asuth,bvandersloot

This patch keeps the current status where Firefox and Chrome both allows notification permission in ABA context although the spec does not cover it. (whatwg/notifications#177, also listed in https://privacycg.github.io/storage-partitioning/#remaining-user-agent-state)

The child patch in bug 1914203 will add a telemetry to see whether the usage is low enough so that we can block ABA access, to make it more consistent with storage partitioning.

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

UltraBlame original commit: bd858e1f75435642347157a152c8e28d612e1895
  • Loading branch information
marco-c committed Sep 25, 2024
1 parent dacce8c commit 5a27f9a
Show file tree
Hide file tree
Showing 17 changed files with 950 additions and 775 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ let
notificationURL
=
"
http
https
:
/
/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const
PAGE
=
"
http
https
:
/
/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var
notificationURL
=
"
http
https
:
/
/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var
notificationURL
=
"
http
https
:
/
/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var
notificationURL
=
"
http
https
:
/
/
Expand Down
Loading

0 comments on commit 5a27f9a

Please sign in to comment.