[wpt-sync] Sync PR 24498 - Origin isolation: add various navigation WPTs
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox80 fixed)
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
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=535d656b5d85a589e1061aa4ce058f432b1fd279
Assignee | ||
Comment 2•4 years ago
|
||
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
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
Comment 4•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b44b9807dc48
https://hg.mozilla.org/mozilla-central/rev/50ffdda1ea01
Description
•