Closed Bug 1697777 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 28023 - CSP: Fix history inheritance WPTs for firefox

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 28023 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/28023
Details from upstream follow.

b'Antonio Sartori <antoniosartori@chromium.org>' wrote:

CSP: Fix history inheritance WPTs for firefox

The Web Platform Tests introduced with https://crrev.com/c/2728996
fail on Firefox because of several reasons, which this CL addresses:

  • We must consider bfcache when navigating back from history
    (img.onerror will not fire again).
  • The cleanup function to close popup sometimes fails.
  • The history-iframe.sub.html test was flaky, although only on the wpt
    runner (I could not reproduce manually in Firefox).

Fixed: 1186710
Change-Id: I8be49897e60a6d6c8cd4c99660ae756707964048
Reviewed-on: https://chromium-review.googlesource.com/2752230
WPT-Export-Revision: f7d8e86009ffe8061616951897555563692886b1

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/1ddcaeb0c817
[wpt PR 28023] - CSP: Fix history inheritance WPTs for firefox, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.