Move Storage Access API logic from ContentBlocking.h to its own file/folder in the AT module
Categories
(Core :: Privacy: Anti-Tracking, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox103 | --- | fixed |
People
(Reporter: bvandersloot, Assigned: bvandersloot)
References
(Blocks 1 open bug)
Details
Attachments
(3 external files)
| Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
These functions are used to check if an object or context should have storage access.
Therefore they belong in StorageAccess.h with other functions that serve this purpose.
Depends on D148284
| Assignee | ||
Comment 3•4 years ago
|
||
The only functions that remain are used as helper functions in the various variants of the Storage Access API.
To make this clearer, I have renamed this class and file that contains it.
Depends on D148285
Comment 5•4 years ago
|
||
Backed out 5 changesets (bug 1765313, bug 1770403) for causing lint failure in tools/lint/rejected-words.yml
Backout link: https://hg.mozilla.org/integration/autoland/rev/ab670f6df4832b577f1298f3a36d5790b06a524f
There is a new type of failure that appeared after the backout was done.
Failure line : TEST-UNEXPECTED-FAIL | /storage-access-api/requestStorageAccess.sub.window.html | [top-level-context] document.requestStorageAccess() should be rejected by default with no user gesture - assert_unreached: Should have rejected: document.requestStorageAccess() call without user gesture Reached unreachable code
| Assignee | ||
Comment 8•4 years ago
|
||
Thanks for the heads up on the test failure. I resolved it by amending a patch further down the stack and resolved the lint error as well.
Comment 9•4 years ago
|
||
Backed out 5 changesets (Bug 1765313, Bug 1770403) for causing bc failures on browser_storageAccessPrivilegeAPI.js.
Backout link
Push with failures <--> bc3
Failure Log
| Assignee | ||
Comment 10•4 years ago
|
||
The fix for /storage-access-api/requestStorageAccess.sub.window.html caused this failure. I edited D147867 to resolve this.
I also re-tested locally, both browser chrome tests and wpt.
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/09ca524adf7d
https://hg.mozilla.org/mozilla-central/rev/7806f737966d
https://hg.mozilla.org/mozilla-central/rev/b618f17c8f28
Description
•