Closed Bug 1651213 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24498 - Origin isolation: add various navigation WPTs

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 24498 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/24498
Details from upstream follow.

Domenic Denicola <domenic@chromium.org> wrote:

Origin isolation: add various navigation WPTs

This adds web platform tests covering various navigation scenarios for
origin isolation. The intention is to cover at least all the non-popup
navigation cases in isolated_origin_browsertest.cc. We also want to
approach the same coverage for navigation as we have for two-iframe
scenarios (i.e. the various parent-child1-child2 tests), but we avoid
doubling the size of the test suite by focusing on the more important
or tricky scenarios instead of just copying all of those.

Bug: 1042415
Change-Id: Ifb937f183af2610f348e4fea036d96aa0504ddab
Reviewed-on: https://chromium-review.googlesource.com/2285258
WPT-Export-Revision: 80f3eba1642fd98ab8397a656be843346a80dc29

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 8 tests and 9 subtests

Status Summary

Firefox

OK : 8
PASS: 24
FAIL: 48

Chrome

OK : 8
PASS: 72

Safari

OK : 8
PASS: 24
FAIL: 48

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/origin-isolation/navigation-parent-no-1-same-no-2-subdomain-yes.sub.https.html
after child: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
after parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before child: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/navigation-parent-no-1-same-no-2-ports-yes.sub.https.html
after child: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
after parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before child: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/navigation-parent-no-1-subdomain-no-2-subdomain-yes.sub.https.html
after child: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
after parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before child: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/navigation-parent-no-1-subdomain-yes-2-subdomain2-no.sub.https.html
after child: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
Before: parent to child: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
after parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before child: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
before parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
Before: parent to child: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/navigation-parent-no-1-subdomain-no-2-subdomain2-yes.sub.https.html
after child: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
after parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before child: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/navigation-parent-no-1-subdomain-yes-2-subdomain-no.sub.https.html
after child: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
Before: parent to child: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
after parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before child: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
before parent: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
Before: parent to child: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/navigation-parent-yes-1-same-no-2-subdomain-no.sub.https.html
after child: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before child: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
after parent: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
before parent: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/navigation-parent-yes-1-same-no-2-ports-no.sub.https.html
after child: originIsolationRestricted must equal false: FAIL (Chrome: PASS, Safari: FAIL)
before child: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
after parent: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
After: parent to child: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
before parent: originIsolationRestricted must equal true: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b44b9807dc48
[wpt PR 24498] - Origin isolation: add various navigation WPTs, a=testonly
https://hg.mozilla.org/integration/autoland/rev/50ffdda1ea01
[wpt PR 24498] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.