Bug 1738194 [wpt PR 31413] - [CSP]: Do not block same-document navigations., a=testonly
commitd1f8bdfa792e734c9922fb23730e79f1a9801eb8
authorArthur Sonzogni <arthursonzogni@chromium.org>
Mon, 1 Nov 2021 16:31:54 +0000 (1 16:31 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Tue, 2 Nov 2021 14:58:05 +0000 (2 14:58 +0000)
tree41bb7443c228e5a2b51cb6433323624a84f729f9
parentde10a04eb798aa18b9e33aaa6afd2957f23bba45
Bug 1738194 [wpt PR 31413] - [CSP]: Do not block same-document navigations., a=testonly

Automatic update from web-platform-tests
[CSP]: Do not block same-document navigations.

A cross-origin initiated same-document navigation caused crash when
blocked by CSP.

Stop blocking it + WPT regression test.

This is #9 Mac crasher on M95 stable. So expect M96 (beta) cherry-pick.
That's probably not enough for cherry-pick M95 (stable).

Bug: 1262203
Change-Id: Ie70f77bd9ec69ac0659321f2e8e626b2bd091126
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3247135
Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/main@{#935920}

--

wpt-commits: 038de3e0ddeaf9e20bb3074a270b558559927add
wpt-pr: 31413
testing/web-platform/tests/content-security-policy/frame-src/frame-src-cross-origin-same-document-navigation.window.js [new file with mode: 0644]
testing/web-platform/tests/content-security-policy/frame-src/support/executor.html [new file with mode: 0644]