[wpt-sync] Sync PR 23351 - Origin isolation: add three-document scenario WPTs
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox78 fixed)
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 23351 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23351
Details from upstream follow.
Domenic Denicola <domenic@chromium.org> wrote:
Origin isolation: add three-document scenario WPTs
This covers all the scenarios in
https://github.com/WICG/origin-isolation/blob/1ecf3793b42647aa001aa24306d7cfb77b463601/scenarios.md#three-document-scenarios.It reveals two bugs:
1077044, which causes timeouts where siblings do not
receive messageerror events when trying to postMessage() each other.
This causes us to mark 3 of these tests as timing out in
TestExpectations.An over-isolation case. This might be 1062719, addressed by
https://chromium-review.googlesource.com/c/chromium/src/+/2136703??Bug: 1042415, 1077044, 1062719
Change-Id: I55051c1fc736befd418f8240370f9432df3c8cc7
Reviewed-on: https://chromium-review.googlesource.com/2171730
WPT-Export-Revision: 3c56c12a038cc6066a94568d6b32f8aa3913da7c
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 83 tests
Status Summary
Firefox
OK : 14
PASS : 32[GitHub] 101[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL : 44
Chrome
OK : 10
PASS : 48
CRASH : 2
FAIL : 2
TIMEOUT: 1
ERROR : 1
NOTRUN : 8
Safari
OK : 14
PASS : 32
FAIL : 44
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/origin-isolation/parent-yes-child1-no-child2-yes-children-same.sub.https.html
Parent to child1: messageerror event must occur: FAIL (Chrome: NOTRUN, Safari: FAIL)
Parent to child2: messageerror event must occur: FAIL (Chrome: NOTRUN, Safari: FAIL)
Parent to child1: setting document.domain must not give sync access: FAIL (Chrome: NOTRUN, Safari: FAIL)
Parent to child2: setting document.domain must not give sync access: FAIL (Chrome: NOTRUN, Safari: FAIL)
/origin-isolation/parent-yes-child-no-subdomain.sub.https.html
setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/parent-yes-child1-yes-child2-yes-children-same.sub.https.html
Parent to child1: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child1: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/parent-yes-child1-no-child2-yes-children-different.sub.https.html
child1 to child2: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
child2 to child1: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
child1 to child2: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child1: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child1: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
child2 to child1: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/parent-no-child1-yes-child2-no-children-same.sub.https.html
Parent to child1: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child1: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/parent-yes-child1-yes-child2-yes-children-different.sub.https.html
child1 to child2: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
child2 to child1: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
child1 to child2: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child1: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child1: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
child2 to child1: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/parent-no-child-yes-subdomain.sub.https.html
messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
setting document.domain should no-op instead of giving sync access: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/parent-yes-child-yes-subdomain.sub.https.html
setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/parent-no-child1-no-child2-yes-children-different.sub.https.html
child1 to child2: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
child2 to child1: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
child1 to child2: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
Parent to child2: setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
child2 to child1: messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
/origin-isolation/parent-yes-child1-yes-child2-no-children-same.sub.https.html
Parent to child1: messageerror event must occur: FAIL (Safari: FAIL)
Parent to child2: messageerror event must occur: FAIL (Safari: FAIL)
Parent to child1: setting document.domain must not give sync access: FAIL (Safari: FAIL)
Parent to child2: setting document.domain must not give sync access: FAIL (Safari: FAIL)
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f83995ed2671
https://hg.mozilla.org/mozilla-central/rev/fab19539112d
Description
•