Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1614674] Poll for load in CSP frame-ancestors tests #21757

Merged
merged 1 commit into from Feb 13, 2020

Conversation

moz-wptsync-bot
Copy link
Collaborator

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).

Differential Revision: https://phabricator.services.mozilla.com/D62447

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1614674
gecko-commit: a2bf92004940994b68132da4d82c3965af991535
gecko-integration-branch: autoland
gecko-reviewers: bzbarsky

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

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).

Differential Revision: https://phabricator.services.mozilla.com/D62447

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1614674
gecko-commit: 25bfc69bd9cc90510c530600d3141e4cf05821cb
gecko-integration-branch: autoland
gecko-reviewers: bzbarsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants