Bug 1695877 [wpt PR 27856] - CSP: Add WPT for inheritance on history navigation,...
commit56821ea7a392860b33b06f3689abe922d1510078
authorBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Wed, 17 Mar 2021 13:25:24 +0000 (17 13:25 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 19 Mar 2021 10:34:49 +0000 (19 10:34 +0000)
tree536262b549e7d945db2c4bed93885031fd8ca9ef
parent7c3599f4173b8c1f0c76647e11706b318f6295bc
Bug 1695877 [wpt PR 27856] - CSP: Add WPT for inheritance on history navigation, a=testonly

Automatic update from web-platform-tests
CSP: Add WPT for inheritance on history navigation (#27856)

This CL adds a Web Platform Test checking that we correctly reload the
original Content Security Policies in case of a history navigation to
a local-scheme document.

Bug: 1149272
Change-Id: If6ae4bf2181156850a7e3a066f34eb891cd9b90f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2728996
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861486}

Co-authored-by: Antonio Sartori <antoniosartori@chromium.org>
--

wpt-commits: d939726120da770f56cf86b455435ed8c2d697af
wpt-pr: 27856
testing/web-platform/tests/content-security-policy/inheritance/history-iframe.sub.html [new file with mode: 0644]
testing/web-platform/tests/content-security-policy/inheritance/history.sub.html [new file with mode: 0644]
testing/web-platform/tests/content-security-policy/inheritance/support/message-opener-and-navigate-back.html [copied from testing/web-platform/tests/content-security-policy/inheritance/support/postmessage-opener.html with 68% similarity]
testing/web-platform/tests/content-security-policy/inheritance/support/message-top-and-navigate-back.html [new file with mode: 0644]
testing/web-platform/tests/content-security-policy/inheritance/support/postmessage-opener.html