Closed Bug 1614674 Opened 4 years ago Closed 4 years ago

frame-ancestors tests time out waiting for load event on CSP-blocked resources

Categories

(Core :: DOM: Security, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: jgraham, Assigned: jgraham)

References

(Depends on 1 open bug)

Details

(Whiteboard: [domsecurity-active], [wptsync upstream])

Attachments

(1 file)

This means that the tests end up testing nothing, and take 5 minutes per platform of machine time (not) doing it.

These tests are all timing out in Firefox because we don't send either
a load or an error event for CSP-blocked loads. To work around this,
poll the iframe for the load, assuming it's complete when we see a
non-about:blank document with readyState complete (or an exception
from trying to access a cross-origin resource).

Assignee: nobody → james
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [domsecurity-active]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/a2bf92004940
Poll for load in CSP frame-ancestors tests, r=bzbarsky
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/21757 for changes under testing/web-platform/tests
Whiteboard: [domsecurity-active] → [domsecurity-active], [wptsync upstream]
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Upstream PR was closed without merging
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/25bfc69bd9cc
Poll for load in CSP frame-ancestors tests, r=bzbarsky
Flags: needinfo?(james)
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Upstream PR merged by moz-wptsync-bot
See Also: → 1614408
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: