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

Issue 379113002: Move fetch-related predicates to core/fetch. (Closed)

Created:
6 years, 5 months ago by yhirano
Modified:
6 years, 4 months ago
Reviewers:
falken, tkent, sof, horo
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, gavinp+loader_chromium.org, horo+watch_chromium.org, Nate Chapin, alecflett+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Move fetch-related predicates to core/fetch. Currently core/fetch, core/xml and modules/serviceworkers have predicates defined in http://fetch.spec.whatwg.org/ such as "simple method". This CL moves these predicates to core/fetch/FetchUtils.h and renames some predicates. BUG=NONE Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179692

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : rebase #

Total comments: 13

Patch Set 10 : rebase #

Patch Set 11 : rebase #

Patch Set 12 : #

Total comments: 4

Patch Set 13 : #

Total comments: 4

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -210 lines) Patch
M Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/fetch/CrossOriginAccessControl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/fetch/CrossOriginAccessControl.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -39 lines 0 comments Download
A Source/core/fetch/FetchUtils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +31 lines, -0 lines 0 comments Download
A Source/core/fetch/FetchUtils.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +169 lines, -0 lines 0 comments Download
M Source/core/loader/CrossOriginPreflightResultCache.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +5 lines, -4 lines 0 comments Download
M Source/core/loader/DocumentThreadableLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +5 lines, -3 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +4 lines, -70 lines 0 comments Download
M Source/modules/serviceworkers/FetchHeaderList.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/FetchHeaderList.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -45 lines 0 comments Download
M Source/modules/serviceworkers/FetchManager.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/FetchManager.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -23 lines 0 comments Download
M Source/modules/serviceworkers/Headers.cpp View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +10 lines, -10 lines 0 comments Download
M Source/modules/serviceworkers/Request.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -3 lines 0 comments Download
M Source/web/AssociatedURLLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
yhirano
6 years, 5 months ago (2014-07-17 07:19:58 UTC) #1
sof
(Cc: +abarth) https://codereview.chromium.org/379113002/diff/180001/Source/core/fetch/CrossOriginAccessControl.cpp File Source/core/fetch/CrossOriginAccessControl.cpp (right): https://codereview.chromium.org/379113002/diff/180001/Source/core/fetch/CrossOriginAccessControl.cpp#newcode97 Source/core/fetch/CrossOriginAccessControl.cpp:97: static const ForbiddenHeaderNames* initializeForbiddenHeaderNames() Unless there are ...
6 years, 5 months ago (2014-07-17 08:18:09 UTC) #2
horo
lgtm
6 years, 5 months ago (2014-07-18 03:03:28 UTC) #3
horo
lgtm lgtm
6 years, 5 months ago (2014-07-18 03:03:28 UTC) #4
yhirano
Sorry for the delay. sof@, can you take a look again? https://codereview.chromium.org/379113002/diff/180001/Source/core/fetch/CrossOriginAccessControl.cpp File Source/core/fetch/CrossOriginAccessControl.cpp (right): ...
6 years, 4 months ago (2014-08-06 08:48:03 UTC) #5
sof
lgtm, but a related test is currently failing? https://codereview.chromium.org/379113002/diff/180001/Source/core/fetch/CrossOriginAccessControl.cpp File Source/core/fetch/CrossOriginAccessControl.cpp (right): https://codereview.chromium.org/379113002/diff/180001/Source/core/fetch/CrossOriginAccessControl.cpp#newcode357 Source/core/fetch/CrossOriginAccessControl.cpp:357: // ...
6 years, 4 months ago (2014-08-06 19:48:15 UTC) #6
yhirano
Fixed the test failure. https://codereview.chromium.org/379113002/diff/240001/Source/core/fetch/FetchUtils.cpp File Source/core/fetch/FetchUtils.cpp (right): https://codereview.chromium.org/379113002/diff/240001/Source/core/fetch/FetchUtils.cpp#newcode19 Source/core/fetch/FetchUtils.cpp:19: struct ForbiddenHeaderNames { On 2014/08/06 ...
6 years, 4 months ago (2014-08-07 03:21:50 UTC) #7
yhirano
+falken for modules/serviceworker +tkent for web
6 years, 4 months ago (2014-08-07 03:22:42 UTC) #8
tkent
lgtm https://codereview.chromium.org/379113002/diff/260001/Source/core/fetch/FetchUtils.h File Source/core/fetch/FetchUtils.h (right): https://codereview.chromium.org/379113002/diff/260001/Source/core/fetch/FetchUtils.h#newcode8 Source/core/fetch/FetchUtils.h:8: #include "wtf/text/WTFString.h" Use wtf/Forward.h instead. https://codereview.chromium.org/379113002/diff/260001/Source/core/fetch/FetchUtils.h#newcode24 Source/core/fetch/FetchUtils.h:24: }; ...
6 years, 4 months ago (2014-08-07 03:39:25 UTC) #9
falken
great! lgtm
6 years, 4 months ago (2014-08-07 04:05:28 UTC) #10
yhirano
https://codereview.chromium.org/379113002/diff/260001/Source/core/fetch/FetchUtils.h File Source/core/fetch/FetchUtils.h (right): https://codereview.chromium.org/379113002/diff/260001/Source/core/fetch/FetchUtils.h#newcode8 Source/core/fetch/FetchUtils.h:8: #include "wtf/text/WTFString.h" On 2014/08/07 03:39:25, tkent wrote: > Use ...
6 years, 4 months ago (2014-08-07 05:20:01 UTC) #11
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 4 months ago (2014-08-07 05:20:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/379113002/280001
6 years, 4 months ago (2014-08-07 05:20:58 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_compile_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-07 06:42:54 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 07:55:45 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_compile_dbg/builds/15646)
6 years, 4 months ago (2014-08-07 07:55:48 UTC) #16
yhirano
The CQ bit was checked by yhirano@chromium.org
6 years, 4 months ago (2014-08-07 07:58:52 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yhirano@chromium.org/379113002/280001
6 years, 4 months ago (2014-08-07 07:59:25 UTC) #18
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 08:14:56 UTC) #19
Message was sent while issue was closed.
Change committed as 179692

Powered by Google App Engine
This is Rietveld 408576698