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

Issue 602073002: [ServiceWorker] Add was_fallback_required flag to ResourceResponseInfo. [1/2 blink] (Closed)

Created:
6 years, 2 months ago by horo
Modified:
6 years, 2 months ago
CC:
abarth-chromium, blink-reviews, dglazkov+blink, jamesr, mkwst+moarreviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[ServiceWorker] Add was_fallback_required flag to ResourceResponseInfo. [1/2 blink] This flag is set when the request whose mode is CORS or CORS-with-forced-preflight is sent to a ServiceWorker but FetchEvent.respondWith is not called. It is because the CORS preflight logic is implemented in the renderer. So we can't simply fallback to the network in the browser process. [1/2] blink: https://codereview.chromium.org/602073002/ [2/2] chromium: https://codereview.chromium.org/603913002/ BUG=416371, 408507 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182910

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add ByServiceWorker suffix #

Total comments: 2

Patch Set 3 : wrap the comment in 80 columns #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M Source/platform/exported/WebURLResponse.cpp View 1 1 chunk +10 lines, -0 lines 0 comments Download
M Source/platform/network/ResourceResponse.h View 1 3 chunks +7 lines, -0 lines 0 comments Download
M Source/platform/network/ResourceResponse.cpp View 1 4 chunks +4 lines, -0 lines 0 comments Download
M public/platform/WebURLResponse.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
horo
yhirano@ Could you please review?
6 years, 2 months ago (2014-09-25 10:54:28 UTC) #2
yhirano
https://codereview.chromium.org/602073002/diff/1/Source/platform/network/ResourceResponse.h File Source/platform/network/ResourceResponse.h (right): https://codereview.chromium.org/602073002/diff/1/Source/platform/network/ResourceResponse.h#newcode265 Source/platform/network/ResourceResponse.h:265: bool m_wasFallbackRequired; Isn't this name too generic? Suffixing with ...
6 years, 2 months ago (2014-09-26 01:23:32 UTC) #3
horo
https://codereview.chromium.org/602073002/diff/1/Source/platform/network/ResourceResponse.h File Source/platform/network/ResourceResponse.h (right): https://codereview.chromium.org/602073002/diff/1/Source/platform/network/ResourceResponse.h#newcode265 Source/platform/network/ResourceResponse.h:265: bool m_wasFallbackRequired; On 2014/09/26 01:23:32, yhirano wrote: > Isn't ...
6 years, 2 months ago (2014-09-26 01:44:16 UTC) #4
yhirano
"which mode is CORS" in the description should be "whose mode is CORS". https://codereview.chromium.org/602073002/diff/20001/public/platform/WebURLResponse.h File ...
6 years, 2 months ago (2014-09-26 04:27:39 UTC) #5
horo
done https://codereview.chromium.org/602073002/diff/20001/public/platform/WebURLResponse.h File public/platform/WebURLResponse.h (right): https://codereview.chromium.org/602073002/diff/20001/public/platform/WebURLResponse.h#newcode170 public/platform/WebURLResponse.h:170: // Flag whether the fallback request with skip ...
6 years, 2 months ago (2014-09-26 05:07:25 UTC) #6
yhirano
lgtm
6 years, 2 months ago (2014-09-26 05:49:50 UTC) #7
horo
jochen@ Could you please review this?
6 years, 2 months ago (2014-09-26 07:34:16 UTC) #9
jochen (gone - plz use gerrit)
where is this flag used?
6 years, 2 months ago (2014-09-29 12:59:01 UTC) #10
horo
On 2014/09/29 12:59:01, jochen wrote: > where is this flag used? I'm planing to use ...
6 years, 2 months ago (2014-09-29 13:11:22 UTC) #11
jochen (gone - plz use gerrit)
lgtm
6 years, 2 months ago (2014-09-30 08:31:28 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/602073002/40001
6 years, 2 months ago (2014-09-30 09:01:38 UTC) #14
commit-bot: I haz the power
6 years, 2 months ago (2014-09-30 11:24:27 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 182910

Powered by Google App Engine
This is Rietveld 408576698