Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Issue 2818703003: Consider the Access-Control-Allow-Origin header for Background Fetch (Closed)

Created:
3 years, 8 months ago by Peter Beverloo
Modified:
3 years, 8 months ago
CC:
chromium-reviews, Peter Beverloo, jam, darin-cc_chromium.org, awdf+watch_chromium.org, harkness+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Consider the Access-Control-Allow-Origin header for Background Fetch This adds very basic support for CORS to Background Fetch. A full security review will be requested and done prior to shipping this. BUG=692579 Review-Url: https://codereview.chromium.org/2818703003 Cr-Commit-Position: refs/heads/master@{#464740} Committed: https://chromium.googlesource.com/chromium/src/+/bbecee1672a258c459e05b7a9b88f4ef907497eb

Patch Set 1 #

Total comments: 6

Patch Set 2 : Consider the Access-Control-Allow-Origin header for Background Fetch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -6 lines) Patch
M content/browser/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A content/browser/background_fetch/background_fetch_cross_origin_filter.h View 1 chunk +43 lines, -0 lines 0 comments Download
A content/browser/background_fetch/background_fetch_cross_origin_filter.cc View 1 1 chunk +99 lines, -0 lines 0 comments Download
A content/browser/background_fetch/background_fetch_cross_origin_filter_unittest.cc View 1 chunk +111 lines, -0 lines 0 comments Download
M content/browser/background_fetch/background_fetch_data_manager.cc View 2 chunks +6 lines, -5 lines 0 comments Download
M content/browser/background_fetch/background_fetch_request_info.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/background_fetch/background_fetch_request_info.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/test/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
Peter Beverloo
+miguelg, avi for BUILD.gn
3 years, 8 months ago (2017-04-13 17:05:11 UTC) #2
Miguel Garcia
lgtm https://codereview.chromium.org/2818703003/diff/1/content/browser/background_fetch/background_fetch_cross_origin_filter.cc File content/browser/background_fetch/background_fetch_cross_origin_filter.cc (right): https://codereview.chromium.org/2818703003/diff/1/content/browser/background_fetch/background_fetch_cross_origin_filter.cc#newcode34 content/browser/background_fetch/background_fetch_cross_origin_filter.cc:34: std::set<url::Origin> candidate_origins; would unordered_set work here? (you'd have ...
3 years, 8 months ago (2017-04-13 17:14:22 UTC) #5
Peter Beverloo
https://codereview.chromium.org/2818703003/diff/1/content/browser/background_fetch/background_fetch_cross_origin_filter.cc File content/browser/background_fetch/background_fetch_cross_origin_filter.cc (right): https://codereview.chromium.org/2818703003/diff/1/content/browser/background_fetch/background_fetch_cross_origin_filter.cc#newcode34 content/browser/background_fetch/background_fetch_cross_origin_filter.cc:34: std::set<url::Origin> candidate_origins; On 2017/04/13 17:14:21, Miguel Garcia wrote: > ...
3 years, 8 months ago (2017-04-13 17:26:02 UTC) #6
Avi (use Gerrit)
lgtm
3 years, 8 months ago (2017-04-13 17:32:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2818703003/20001
3 years, 8 months ago (2017-04-14 17:02:15 UTC) #14
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 17:10:54 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/bbecee1672a258c459e05b7a9b88...

Powered by Google App Engine
This is Rietveld 408576698