Skip to content
Commit ab925af1 authored by Jonathan Hao's avatar Jonathan Hao Committed by Chromium LUCI CQ
Browse files

[Private Network Access] Fix service worker new script wpt test

When browser requests service worker scripts, it sends a header "Service-Worker".  If the preflight response doesn't safelist it with
"Access-Control-Allow-Headers", the request will fail, which is why the
2 cases of private-network-access/service-worker.https.window.js fails.
This CL fixes it.

Bug: 1239551
Change-Id: Iba1fee1f7384a39c1ce418382dc0efb069853ebf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3858436


Reviewed-by: default avatarWeizhong Xia <weizhong@google.com>
Commit-Queue: Jonathan Hao <phao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1041035}
parent 34fd76d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment