Follow up on stopping setting CORS flag for data URLs
- Replace |url.ProtocolIsData() || origin->CanRequest(url)| with |origin->CanReadContent(url)|. - Remove cross-origin settings for data URLs in workers as data URLs are now considered as same-origin. This is a follow up for [1]. 1: https://chromium-review.googlesource.com/c/chromium/src/+/1160126 Bug: 870173 Change-Id: Ie95e82c57882e4ce7d52e8ab0607c81e4b18c171 Reviewed-on: https://chromium-review.googlesource.com/1177472 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by:Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#587955}
Showing
Please register or sign in to comment