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

Issue 23702040: Send synchronous loads through the cache. (Closed)

Created:
7 years, 3 months ago by Nate Chapin
Modified:
7 years, 3 months ago
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, gavinp+loader_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, do-not-use
Visibility:
Public.

Description

Send synchronous loads through the cache. The logic for actually performing the sync request now lives in ResourceLoader. BUG=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158065

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 22

Patch Set 5 : Rebaseline to master #

Patch Set 6 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -168 lines) Patch
M LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/appcache/resources/remove-cache-frame.html View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/appcache/resources/remove-cache-frame-2.html View 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/http/tests/inspector/network/network-content-replacement-xhr-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/inspector/network/network-cyrillic-xhr.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/inspector/network/network-cyrillic-xhr-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/inspector/network/network-empty-xhr.html View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/inspector/network/network-empty-xhr-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/http/tests/w3c/webperf/submission/Google/resource-timing/html/test_resource_redirects-expected.txt View 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/http/tests/xmlhttprequest/logout.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/http/tests/xmlhttprequest/open-async-overload.html View 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-sync-vs-async-assertion-failure.html View 1 chunk +1 line, -1 line 0 comments Download
D LayoutTests/platform/linux/http/tests/w3c/webperf/submission/Google/resource-timing/html/test_resource_redirects-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
D LayoutTests/platform/mac/http/tests/w3c/webperf/submission/Google/resource-timing/html/test_resource_redirects-expected.txt View 1 chunk +0 lines, -12 lines 0 comments Download
M Source/core/fetch/Resource.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fetch/Resource.cpp View 1 2 3 4 5 2 chunks +11 lines, -6 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.h View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 5 4 chunks +17 lines, -15 lines 0 comments Download
M Source/core/fetch/ResourceLoader.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/fetch/ResourceLoader.cpp View 1 2 3 4 5 3 chunks +22 lines, -12 lines 0 comments Download
M Source/core/fetch/ResourceLoaderOptions.h View 4 chunks +8 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorFrontendHost.cpp View 1 2 2 chunks +8 lines, -9 lines 0 comments Download
M Source/core/inspector/InspectorInstrumentation.idl View 1 2 3 4 1 chunk +0 lines, -6 lines 0 comments Download
M Source/core/inspector/InspectorResourceAgent.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorResourceAgent.cpp View 5 chunks +2 lines, -17 lines 0 comments Download
M Source/core/loader/DocumentThreadableLoader.cpp View 1 2 3 4 chunks +15 lines, -16 lines 0 comments Download
M Source/core/loader/appcache/ApplicationCacheHost.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/xml/XMLHttpRequest.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M Source/core/xml/XSLTProcessorLibxslt.cpp View 3 chunks +11 lines, -14 lines 0 comments Download
M Source/core/xml/parser/XMLDocumentParser.cpp View 3 chunks +12 lines, -6 lines 0 comments Download
M Source/web/ApplicationCacheHost.cpp View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Nate Chapin
https://codereview.chromium.org/23702040/diff/2001/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt File LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt (right): https://codereview.chromium.org/23702040/diff/2001/LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt#newcode1 LayoutTests/fast/dom/xmlhttprequest-constructor-in-detached-document-expected.txt:1: CONSOLE MESSAGE: line 15: Uncaught NetworkError: A network error ...
7 years, 3 months ago (2013-09-12 23:28:45 UTC) #1
abarth-chromium
I'm not sure about the inspector aspects. We should probably have someone who knows about ...
7 years, 3 months ago (2013-09-13 23:48:28 UTC) #2
Nate Chapin
New version coming soon... https://codereview.chromium.org/23702040/diff/2001/Source/core/fetch/ResourceFetcher.cpp File Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/23702040/diff/2001/Source/core/fetch/ResourceFetcher.cpp#newcode220 Source/core/fetch/ResourceFetcher.cpp:220: options.synchronousPolicy = RequestSynchronously; On 2013/09/13 ...
7 years, 3 months ago (2013-09-16 20:32:50 UTC) #3
Nate Chapin
New version up. Unfortunately, the patch set delta broke for several of the files, so ...
7 years, 3 months ago (2013-09-16 21:19:04 UTC) #4
abarth-chromium
LGTM I'm not super confident in the inspector parts of this change. Please use your ...
7 years, 3 months ago (2013-09-17 18:01:19 UTC) #5
Nate Chapin
pfeldman, would you mind taking a look at the inspector changes? I believe that with ...
7 years, 3 months ago (2013-09-17 21:42:56 UTC) #6
pfeldman
inspector lgtm. > Also, I'm not sure if > http/tests/inspector/network/network-content-replacement-xhr.html is still > meaningful, since ...
7 years, 3 months ago (2013-09-18 05:49:06 UTC) #7
Nate Chapin
On 2013/09/18 05:49:06, pfeldman wrote: > inspector lgtm. > > > Also, I'm not sure ...
7 years, 3 months ago (2013-09-19 21:19:04 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/23702040/31001
7 years, 3 months ago (2013-09-19 22:03:10 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-09-19 23:13:02 UTC) #10
Message was sent while issue was closed.
Change committed as 158065

Powered by Google App Engine
This is Rietveld 408576698