[wpt-sync] Sync PR 23964 - Origin isolation: refactor and deduplicate web platform tests
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox79 fixed)
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 23964 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23964
Details from upstream follow.
Domenic Denicola <domenic@chromium.org> wrote:
Origin isolation: refactor and deduplicate web platform tests
Now that I've written a bunch of them, I'm confident in building some
abstractions to deduplicate the testing code.This additionally adds jsdoc documentation for all of the exported
functions in helpers.mjs.Bug: 1042415
Change-Id: I3e2220708f4d5afff5a815de876971db3f689826Reviewed-on: https://chromium-review.googlesource.com/2229435
WPT-Export-Revision: d42dd6dbeea81bc71714b42b54cb7270e7e6ab36
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 21 tests and 8 subtests
Status Summary
Firefox
OK : 21
PASS : 75
FAIL : 68
Chrome
OK : 18
PASS : 109
ERROR: 3
Safari
OK : 20
PASS : 68
FAIL : 60
ERROR: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/origin-isolation/parent-yes-child1-no-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-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-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/removing-iframes.sub.https.html
Parent to child3: messageerror event must occur: FAIL (Safari: FAIL)
Before: messageerror event must occur: FAIL (Safari: FAIL)
Parent to child2: messageerror event must occur: FAIL (Safari: FAIL)
Before: 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)
Parent to child3: setting document.domain must not give sync access: FAIL (Safari: FAIL)
/origin-isolation/parent-no-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-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-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-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-no-child-yes-with-params-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-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/going-back.sub.https.html
After navigation: parent to child2: setting document.domain must not give sync access: FAIL
Before navigation: parent to child1: messageerror event must occur: FAIL
After back: parent to child1: messageerror event must occur: FAIL
After navigation: parent to child2: messageerror event must occur: FAIL
After back: parent to child2: setting document.domain must not give sync access: FAIL
After back: parent to child2: messageerror event must occur: FAIL
Before navigation: parent to child1: setting document.domain must not give sync access: FAIL
After back: parent to child1: setting document.domain must not give sync access: FAIL
/origin-isolation/parent-yes-child1-no-child2-yes-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)
/origin-isolation/parent-yes-child1-no-child2-no-children-different.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)
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9eebe1e610fb
https://hg.mozilla.org/mozilla-central/rev/fc5c49e3cb08
Description
•