Bug 1728730 [wpt PR 30300] - [anonymous-iframe] Baseline sandbox test., a=testonly
commit5047b5e5c56bdbc28f57bea547edf3c0ef5d56a3
authorBlink WPT Bot <blink-w3c-test-autoroller@chromium.org>
Sun, 3 Oct 2021 10:12:48 +0000 (3 10:12 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 4 Oct 2021 00:19:00 +0000 (4 00:19 +0000)
treee42f28f59868c0978e056e5062f19c4aab2e740b
parent669472dd4a57d0fd36bebb0bd87d659a2ef45b31
Bug 1728730 [wpt PR 30300] - [anonymous-iframe] Baseline sandbox test., a=testonly

Automatic update from web-platform-tests
[anonymous-iframe] Baseline sandbox test. (#30300)

- Add WPT to know the behavior of sandbox for navigation and normal
  requests relative to credentials. Goal is to learn Chrome behavior,
  but also other browsers's behavior.

- Update the symmetric test about anonymous iframe.
  Use "anonymous = true" instead of "credentials = omit", since we
  changed our mind in the implementation:
  https://chromium-review.googlesource.com/c/chromium/src/+/3001278
  (The explainer still use credentials=omit (?))

- Use ";SameSite=None;Secure".

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

Co-authored-by: Arthur Sonzogni <arthursonzogni@chromium.org>
--

wpt-commits: 9f641ba9bf2314fc541e0a921135cf498dd1d447
wpt-pr: 30300
testing/web-platform/tests/html/cross-origin-embedder-policy/anonymous-iframe/cookie-sandboxed-origin.https.window.js [new file with mode: 0644]
testing/web-platform/tests/html/cross-origin-embedder-policy/anonymous-iframe/cookie.tentative.https.html [deleted file]
testing/web-platform/tests/html/cross-origin-embedder-policy/anonymous-iframe/cookie.tentative.https.window.js [new file with mode: 0644]
testing/web-platform/tests/html/cross-origin-embedder-policy/anonymous-iframe/resources/common.js