Closed Bug 1555704 Opened 5 years ago Closed 5 years ago

Write cross-origin <iframe> WPT tests

Categories

(Remote Protocol :: Marionette, task, P1)

Version 3
task

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: ato, Assigned: ato)

References

Details

Attachments

(1 file)

In order to ensure WebDriver continues working in a post site origin
isolation world, we should write some cross-origin <iframe> tests
for WPT.

I believe the existing tests all serve content from web.platform
or an equivalent loopback domain. wptserve has support for multiple
origins.

See also https://bugzilla.mozilla.org/show_bug.cgi?id=1555701 for
running the Wd job with Fission enabled. The two are strictly not
dependencies.

Priority: -- → P3

Bugbug thinks this bug is a task, but please change it back in case of error.

Type: defect → task

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.

Assignee: nobody → ato
Priority: P3 → P1
Status: NEW → ASSIGNED
Pushed by atolfsen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8f179514723d webdriver: add simple cross-origin WPT tests; r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/17141 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Upstream PR was closed without merging
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: