Skip to content

Commit

Permalink
Prerender: Upstream a test for cookies in same-origin prerendered pages
Browse files Browse the repository at this point in the history
This CL upstreams a test for cookies in same-origin prerendered pages to
the WPT. The behavior of cookies is not defined in the spec yet, but we
already reached a consensus that the storage APIs including cookies in
same-origin prerendered pages are just allowed.

See the GitHub issue for details:
WICG/nav-speculation#7 (comment)

Bug: 1253158
Change-Id: I512a8e6b6f8a20f5464045900d67f8b2ef752266
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3232796
Reviewed-by: Lingqi Chi <[email protected]>
Commit-Queue: Hiroki Nakagawa <[email protected]>
Cr-Commit-Position: refs/heads/main@{#933299}
  • Loading branch information
nhiroki authored and Chromium LUCI CQ committed Oct 20, 2021
1 parent da6677e commit 35c2fb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<body>
<script>

setup(() => assertSpeculationRulesIsSupported());

promise_test(async t => {
const bc = new BroadcastChannel('prerender-channel');

Expand Down

0 comments on commit 35c2fb2

Please sign in to comment.