Use user activation for the Storage Access API
Categories
(Core :: Privacy: Anti-Tracking, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: johannh, Assigned: pbz)
References
(Blocks 2 open bugs)
Details
Attachments
(4 files)
Instead of the deprecated user gesture/interaction mechanism.
Assignee | ||
Comment 1•3 years ago
|
||
We need this for the Kinja shim. When the user accepts the requestStorageAccess prompt we need to renew the user activation.
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D127151
Comment 5•3 years ago
•
|
||
Backed out for causing mochitest and wpt failures on browser_webconsole_requestStorageAccess_errors.js
Assignee | ||
Comment 6•3 years ago
|
||
The base patch updated the behavior of document.requestStorageAccess to require user activation and moved the user activation check to the top of the method.
To test for the other rsA error messages, which are in the user activation guarded parts of the method, we need to simulate user activation.
Requiring user activation also means we should not run the rsA requests in parallel to avoid side effects.
Depends on D127152
Assignee | ||
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Backed out for wpt failures at requestStorageAccess.sub.window.html
Failure log: https://treeherder.mozilla.org/logviewer?job_id=354517969&repo=autoland&lineNumber=10231
Backout: https://hg.mozilla.org/integration/autoland/rev/b318026aa323e9a4208c54ad2dbadd94779c3c66
Assignee | ||
Comment 9•3 years ago
|
||
Comment 10•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 11•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/93edca563ab6
https://hg.mozilla.org/mozilla-central/rev/bf5c1bc311c8
https://hg.mozilla.org/mozilla-central/rev/80776c2142e0
https://hg.mozilla.org/mozilla-central/rev/37b33717e0b6
Description
•