Closed Bug 1524347 Opened 5 years ago Closed 5 years ago

Improve document.domain tests

Categories

(Core :: DOM: Core & HTML, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

Once bug 1523562 lands, we should be able to test something like this:

  1. Start two pages at foo.bar.test.com and baz.bar.test.com.
  2. Set document.domain to "bar.test.com" on both.
  3. Set document.domain to "test.com" on one of them.

And verify that at all points access works correctly between them.

This will need additions to testing/web-platform/tests/html/browsers/origin/relaxing-the-same-origin-restriction/document_domain_access_details.sub.html

Assignee: nobody → bzbarsky
Priority: -- → P2
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/382c65f3c243
Improve document.domain tests to test the join-and-diverge scenario.  r=jgraham
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/15445 for changes under testing/web-platform/tests
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: