Closed Bug 1753949 Opened 4 years ago Closed 4 years ago

Explicitly disable dFPI for cross-origin wpt tests in html/cross-origin-opener-policy

Categories

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

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: timhuang, Assigned: timhuang)

References

Details

(Whiteboard: [FXATPS-dFPI-Mochitests])

Attachments

(1 file)

We need to disable dFPI for some wpt tests in html/cross-origin-opener-policy because they are relying on the broadcast channel to send data across different top-level windows with distinct origins. The broadcast channel is partitioned in this case, so we need to disable dFPI in order to make these tests work.

These tests include

  • html/cross-origin-opener-policy/historical/popup-same-origin-unsafe-allow-outgoing-with-cross-origin.https.html
  • html/cross-origin-opener-policy/historical/popup-same-site-unsafe-allow-outgoing-with-cross-origin.https.html
  • html/cross-origin-opener-policy/historical/popup-same-site-with-cross-origin.https.html
  • html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin-allow-popups.https.html
  • html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-same-origin.https.html
  • html/cross-origin-opener-policy/iframe-popup-same-origin-allow-popups-to-unsafe-none.https.html

And following tests

  • html/cross-origin-opener-policy/iframe-popup-same-origin-to-same-origin.https.html
  • html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html
  • html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-same-origin.https.html
  • html/cross-origin-opener-policy/iframe-popup-unsafe-none-to-unsafe-none.https.html
  • html/cross-origin-opener-policy/javascript-url.https.html.ini
  • html/cross-origin-opener-policy/popup-redirect-cache.https.html
  • html/cross-origin-opener-policy/popup-same-origin-allow-popups-with-cross-origin.https.html
  • html/cross-origin-opener-policy/popup-same-origin-with-cross-origin.https.html
  • html/cross-origin-opener-policy/popup-unsafe-none-with-cross-origin.https.html
  • html/cross-origin-opener-policy/popup-unspecified-with-cross-origin.https.html

The test framework of cross-origin-opener-policy WPTs is based on
broadcast channels to send data across origins. This behavior will fail
when dFPI is enabled because we partition broadcast channels.

This patch disables dFPI for the WPTs that will send data across origins
by using broadcast channels.

Assignee: nobody → tihuang
Status: NEW → ASSIGNED
Pushed by tihuang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e655dce84ea4 Disable dFPI for cross-origin-opener-policy WPTs. r=annevk
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: