Closed Bug 1660252 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25150 - Origin isolation: finish off popup test coverage

Categories

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

task

Tracking

(firefox82 fixed)

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Domenic Denicola <domenic@chromium.org> wrote:

Origin isolation: finish off popup test coverage

As part of this, we fix a bug in send-header-page-script.mjs which was
not correctly reading the "send-loaded-message" query parameter. In the
less-comprehensive tests that were there previously, the buggy code
still worked, but these new tests brought out the problem.

Bug: 1042415
Change-Id: Id34c627d1d7fdd41727f3db362ada25a6651498f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364172
Commit-Queue: Domenic Denicola \<domenic@chromium.org>
Reviewed-by: James MacLean \<wjmaclean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#799870}

Whiteboard: [wptsync downstream] → [wptsync downstream error]
PR 25150 applied with additional changes from upstream: 127286f9b8fe998db82add546285d2e509e5d87a, 9f0103203082e75cc7be338c46165f32853909f6
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 10 tests and 4 subtests

Status Summary

Firefox

OK : 9
PASS : 6
FAIL : 30
ERROR : 1
NOTRUN : 9

Chrome

OK : 10
PASS : 24
FAIL : 21

Safari

OK : 6
PASS : 6
FAIL : 18
TIMEOUT: 4
NOTRUN : 21

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/origin-isolation/popups/opener-yes-openee-yes-same.sub.https.html
openee: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: FAIL)
opener: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: FAIL)
/origin-isolation/about-blank.https.sub.html: ERROR (Chrome: OK, Safari: TIMEOUT)
parent: originIsolated must equal true: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
about:blank to child2: messageerror event must occur: NOTRUN (Chrome: PASS, Safari: NOTRUN)
parent to about:blank: setting document.domain must give sync access: NOTRUN (Chrome: PASS, Safari: NOTRUN)
parent to about:blank: message event must occur: NOTRUN (Chrome: PASS, Safari: NOTRUN)
child2: originIsolated must equal false: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
about:blank to child2: setting document.domain must not give sync access: NOTRUN (Chrome: PASS, Safari: NOTRUN)
child2 to about:blank: setting document.domain must not give sync access: NOTRUN (Chrome: PASS, Safari: NOTRUN)
about:blank: originIsolated must equal true: NOTRUN (Chrome: FAIL, Safari: NOTRUN)
child2 to about:blank: messageerror event must occur: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/origin-isolation/popups/opener-yes-openee-no-same.sub.https.html
openee: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: FAIL)
opener: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: FAIL)
/origin-isolation/popups/opener-yes-openee-no-subdomain.sub.https.html
setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: NOTRUN)
openee: originIsolated must equal false: FAIL (Chrome: FAIL, Safari: NOTRUN)
messageerror event must occur: FAIL (Chrome: PASS, Safari: NOTRUN)
opener: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: NOTRUN)
/origin-isolation/popups/opener-yes-openee-yes-port.sub.https.html
setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
openee: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: FAIL)
messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
opener: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: FAIL)
/origin-isolation/popups/opener-no-openee-yes-port.sub.https.html
setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
openee: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: FAIL)
messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
opener: originIsolated must equal false: FAIL (Chrome: FAIL, Safari: FAIL)
/origin-isolation/popups/opener-no-openee-yes-subdomain.sub.https.html
setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: NOTRUN)
openee: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: NOTRUN)
messageerror event must occur: FAIL (Chrome: PASS, Safari: NOTRUN)
opener: originIsolated must equal false: FAIL (Chrome: FAIL, Safari: NOTRUN)
/origin-isolation/popups/opener-yes-openee-yes-subdomain.sub.https.html
setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: NOTRUN)
openee: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: NOTRUN)
messageerror event must occur: FAIL (Chrome: PASS, Safari: NOTRUN)
opener: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: NOTRUN)
/origin-isolation/popups/opener-no-openee-yes-same.sub.https.html
openee: originIsolated must equal false: FAIL (Chrome: FAIL, Safari: FAIL)
opener: originIsolated must equal false: FAIL (Chrome: FAIL, Safari: FAIL)
/origin-isolation/popups/opener-yes-openee-no-port.sub.https.html
setting document.domain must not give sync access: FAIL (Chrome: PASS, Safari: FAIL)
openee: originIsolated must equal false: FAIL (Chrome: FAIL, Safari: FAIL)
messageerror event must occur: FAIL (Chrome: PASS, Safari: FAIL)
opener: originIsolated must equal true: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/82662893c0b2
[wpt PR 25150] - Origin isolation: finish off popup test coverage, a=testonly
https://hg.mozilla.org/integration/autoland/rev/b2fe1821cd36
[wpt PR 25150] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.