Closed Bug 1837168 Opened 1 year ago Closed 1 year ago

Rework user activation checks for requestStorageAccess

Categories

(Core :: Privacy: Anti-Tracking, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: bvandersloot, Assigned: bvandersloot)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

We need to match the current status of the spec algorithm. This means probably removing Step 0 from Document::RequestStorageAccess and moving this check later in the logic of requesting storage access.

Blocks: 1836993
Assignee: nobody → hsohaney
Attachment #9343103 - Attachment description: WIP: Bug 1837168 - Moved transient activation check to match the spec for storage access api. WIP → Bug 1837168 - Moved transient activation check to match the spec for storage access api. r?bvandersloot
Severity: S2 → --
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d21bdbf5baf1 Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers

Backed out for assertion failure on PermissionManager.cpp

Backout link: https://hg.mozilla.org/integration/autoland/rev/072cb0ddcc54c39e69e7ba612f2319f78ef6f8c1
Log link: https://treeherder.mozilla.org/logviewer?job_id=429664159&repo=autoland&lineNumber=10097

There were also perma dt failures on browser_webconsole_requestStorageAccess_errors.js

Flags: needinfo?(hsohaney)
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/15a005bef445 Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers
Assignee: hsohaney → bvandersloot
Flags: needinfo?(hsohaney)
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9ff5b92032cb Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers
Flags: needinfo?(bvandersloot)
Flags: needinfo?(bvandersloot)
Pushed by bvandersloot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd3e3766443a Update user activation check to be after the permission check - r=timhuang,anti-tracking-reviewers
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Duplicate of this bug: 1857187
Attachment #9343103 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: