commit | 13105d485c9488e47eeaf5077755e0df5fa1e4e8 | [log] [tgz] |
---|---|---|
author | Nasko Oskov <nasko@chromium.org> | Fri Mar 23 22:02:08 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 23 22:02:08 2018 |
tree | a70273265d5c5cc928360971187227f2564e7b88 | |
parent | 8a8e2e2058afe6f1b6a2e39163536197725d0d63 [diff] |
Allow content script requests to attach SameSite cookies. When a content script is injected into a document, it can make requests to origins in its manifest. With recent changes to allow Chrome to block cross-site documents, the initiator of content scripts requests was changed to reflect the extension origin. This change meant that SameSite cookies were not attached to those requests. This CL introduces a check for content scripts making subresource requests and tags those requests to allow attaching SameSite cookies. Reland of https://chromium-review.googlesource.com/c/chromium/src/+/896690 Bug: 796480 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: I8316f259f8b04c4fad406c398ba5207abef8a00e Reviewed-on: https://chromium-review.googlesource.com/974882 Commit-Queue: Nasko Oskov <nasko@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#545584}
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 .