commit | a7e0aee027dd136299552e5aa24d73aa29904f63 | [log] [tgz] |
---|---|---|
author | Matt Falkenhagen <falken@chromium.org> | Fri Dec 07 22:50:33 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 07 22:50:33 2018 |
tree | 63f80e412807f53d934a8403d1de1ef9f4295054 | |
parent | e3140a8f27345d395ea75fe619d730951a438e89 [diff] |
Clean up cross-origin check in StyleSheetContents. The code was using a combination of the request URL and response URL. It can just use ResourceResponse::IsCorsSameOrigin(). This is covered by the existing WPT test: service-workers/service-worker/fetch-request-css-cross-origin.https.html Bug: 911974 Change-Id: I3a136fe8a0f99507610ccc8ae49eab7828a96f4f Reviewed-on: https://chromium-review.googlesource.com/c/1366461 Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#614853}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .