Closed Bug 1643189 Opened 4 months ago Closed 3 months ago

[wpt-sync] Sync PR 23964 - Origin isolation: refactor and deduplicate web platform tests

Categories

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

task

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla.org, 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: I3e2220708f4d5afff5a815de876971db3f689826

Reviewed-on: https://chromium-review.googlesource.com/2229435
WPT-Export-Revision: d42dd6dbeea81bc71714b42b54cb7270e7e6ab36

PR 23964 applied with additional changes from upstream: d3ea88514a93b7b69687837de19b1ca6da15cf91, 9ce780e6a023d92cca6b7cb2e3da621fe8e34acc, e7e5f03642e0d32eac9965ee993efa589fb3997d
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

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)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9eebe1e610fb
[wpt PR 23964] - Origin isolation: refactor and deduplicate web platform tests, a=testonly
https://hg.mozilla.org/integration/autoland/rev/fc5c49e3cb08
[wpt PR 23964] - Update wpt metadata, a=testonly
Status: REOPENED → RESOLVED
Closed: 3 months ago3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.