Closed Bug 1609418 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21191 - [Security] Implement the context switch for COOP.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Arthur Hemery <ahemery@chromium.org> wrote:

[Security] Implement the context switch for COOP.

Force a BrowsingInstance switch when we have a COOP mismatch.

Bug:922191
Change-Id: I7d5169f7d53bfc28ea01a1a03c7658e0645bc492
Reviewed-on: https://chromium-review.googlesource.com/1985013
WPT-Export-Revision: fb3fb16991d96d49e3a47481a6d2486be8517ffd

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
PR 21191 applied with additional changes from upstream: 11ac3be74161354bc2bcfac233abfbb57b227a8a
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Whiteboard: [wptsync downstream error] → [wptsync downstream]
PR 21191 applied with additional changes from upstream: b3bb7d0e0a97d3b86618271309fa15182938515d, b7477ead631829b0261f98a18c9bab2c407d72ea, 3624a87d4176e814d2e67cfa5e427bc217c9c5b0
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 43 tests

Status Summary

Firefox

OK : 1
PASS : 3[GitHub] 42[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 45[Gecko-linux1804-64-asan-opt, 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-opt]
FAIL : 6

Chrome

OK : 1
PASS : 6
FAIL : 3

Safari

FAIL : 1
ERROR : 1
NOTRUN: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html: OK [Gecko-linux1804-64-asan-opt, 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-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] (Chrome: OK, Safari: ERROR)
same-origin with CROSS_ORIGIN iframe opening popup a SAME_SITE with COOP: : FAIL (Chrome: PASS, Safari: NOTRUN)
same-origin with CROSS_ORIGIN iframe opening popup a CROSS_ORIGIN with COOP: : FAIL (Chrome: PASS, Safari: NOTRUN)
same-origin with SAME_SITE iframe opening popup a SAME_SITE with COOP: : FAIL (Chrome: PASS, Safari: NOTRUN)
same-origin with SAME_SITE iframe opening popup a SAME_ORIGIN with COOP: : FAIL (Chrome: PASS, Safari: NOTRUN)
same-origin with SAME_SITE iframe opening popup a CROSS_ORIGIN with COOP: : FAIL (Chrome: PASS, Safari: NOTRUN)
same-origin with CROSS_ORIGIN iframe opening popup a SAME_ORIGIN with COOP: : FAIL (Chrome: PASS, Safari: NOTRUN)

Tests Disabled in Gecko Infrastructure

/html/cross-origin-opener-policy/iframe-popup-same-origin-to-unsafe-none.https.html: OK [Gecko-linux1804-64-asan-opt, 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-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] (Chrome: OK, Safari: ERROR)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b3450e9c5b09
[wpt PR 21191] - [Security] Implement the context switch for COOP., a=testonly
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.