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 1555704] webdriver: add simple cross-origin WPT tests #17141

Merged
merged 1 commit into from Jun 12, 2019

Conversation

moz-wptsync-bot
Copy link
Collaborator

Adds two simple cross-origin WPT tests for WebDriver, testing
that WebDriver's Switch To Frame command can transcend frames from
different site origins.

The justification for adding these tests to WPT is two-fold: firstly,
browsers enforce strict cross-origin checks on frames and we should
test for that scenario; but secondly, and perhaps more importantly,
modern browsers are moving towards process isolation on a site-origin
basis and this is expected to cause problems for WebDriver.

Testing this behaviour will ensure any attempts at switching on
process isolation on site-origin basis (i.e. "Fission") will test
WebDriver's behaviour.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1555704
gecko-commit: 8f179514723d391b75c6388dc4b73719c6e93508
gecko-integration-branch: autoland
gecko-reviewers: webdriver-reviewers, whimboo

Adds two simple cross-origin WPT tests for WebDriver, testing
that WebDriver's Switch To Frame command can transcend frames from
different site origins.

The justification for adding these tests to WPT is two-fold: firstly,
browsers enforce strict cross-origin checks on frames and we should
test for that scenario; but secondly, and perhaps more importantly,
modern browsers are moving towards process isolation on a site-origin
basis and this is expected to cause problems for WebDriver.

Testing this behaviour will ensure any attempts at switching on
process isolation on site-origin basis (i.e. "Fission") will test
WebDriver's behaviour.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1555704
gecko-commit: 8f179514723d391b75c6388dc4b73719c6e93508
gecko-integration-branch: autoland
gecko-reviewers: webdriver-reviewers, whimboo
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.

Already reviewed downstream.

@jgraham jgraham closed this Jun 4, 2019
@jgraham jgraham reopened this Jun 4, 2019
@jgraham jgraham merged commit 2ce0e2f into master Jun 12, 2019
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1555704 branch June 12, 2019 20:40
aarongable pushed a commit to chromium/chromium that referenced this pull request Jun 18, 2019
Namely, `doc_root` and `domains` (the latter was added in
web-platform-tests/wpt#17141)

Also a drive-by fix to improve test discovery (only run .py files).

Bug: 974877
Change-Id: Idb917ee0dcab9691709e3d99e3f29ceec82edeb2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1664042
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670227}
T3-M4 pushed a commit to bayandin/chromedriver that referenced this pull request Jun 19, 2019
Namely, `doc_root` and `domains` (the latter was added in
web-platform-tests/wpt#17141)

Also a drive-by fix to improve test discovery (only run .py files).

Bug: 974877
Change-Id: Idb917ee0dcab9691709e3d99e3f29ceec82edeb2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1664042
Reviewed-by: John Chen <johnchen@chromium.org>
Commit-Queue: Robert Ma <robertma@chromium.org>
Cr-Commit-Position: refs/heads/master@{#670227}
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

4 participants