Closed Bug 1840902 Opened 2 years ago Closed 2 years ago

Make all anti-tracking tests compliant with storage access API grants for secure contexts

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: hsohaney, Assigned: hsohaney)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Tests within the Anti-tracking component can currently be granted access through the RequestStorageAccess() call. However, the Storage Access API graduation spec states that storage access must only be granted to secure contexts. We have to make our anti-tracking tests compliant with this behaviour.

Assignee: nobody → hsohaney
Attachment #9346555 - Attachment description: WIP: Bug 1840902 - Adjusted browser chrome tests under the Anti-tracking test suite to support only secure context storage access. WIP → Bug 1840902 - Adjusted browser chrome tests under the Anti-tracking test suite to support only secure context storage access. r?bvandersloot
Status: NEW → ASSIGNED
Pushed by hsohaney@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a8267c9267da Adjusted browser chrome tests under the Anti-tracking test suite to support only secure context storage access. r=bvandersloot

Backed out for causing mochitest failures in automation.py

Flags: needinfo?(hsohaney)
Pushed by hsohaney@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/db935375566a Adjusted browser chrome tests under the Anti-tracking test suite to support only secure context storage access. r=bvandersloot

(In reply to Narcis Beleuzu [:NarcisB] from comment #5)

Backed out for bc failure on browser_storageAccessThirdPartyChecks

Backout link: https://hg.mozilla.org/integration/autoland/rev/232191c3ef9861082467fea69f62c9b7fffb3a1c
Log link: https://treeherder.mozilla.org/logviewer?job_id=426055211&repo=autoland&lineNumber=6878

Hey, thanks for backing that out. I made an error while pushing to phab and it didnt update! Sorry about that, I'll fix it.

Flags: needinfo?(hsohaney)

Harshit, please also take a look over those 2 failures:

  1. This bc failure on browser_urlbar_keyed_search.js
  2. This Mn failure
Flags: needinfo?(hsohaney)

(In reply to Narcis Beleuzu [:NarcisB] from comment #7)

Harshit, please also take a look over those 2 failures:

  1. This bc failure on browser_urlbar_keyed_search.js
  2. This Mn failure

I have pushed the new patch on try, let me know if these cover the concerned tests
Try Link: https://treeherder.mozilla.org/jobs?repo=try&revision=283058eccc4a17760d81c4bf65af270c4bdaa5d3

Flags: needinfo?(hsohaney)
Pushed by hsohaney@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/76c2ef9d279a Adjusted browser chrome tests under the Anti-tracking test suite to support only secure context storage access. r=bvandersloot
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: