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

Issue 337783003: DevTools: Preload HTML documents content before fetching resource content. (Closed)

Created:
6 years, 6 months ago by vsevik
Modified:
6 years, 5 months ago
CC:
blink-reviews, caseq+blink_chromium.org, Nate Chapin, loislo+blink_chromium.org, eustas+blink_chromium.org, malch+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, gavinp+loader_chromium.org, devtools-reviews_chromium.org, sergeyv+blink_chromium.org, aandrey+blink_chromium.org
Project:
blink
Visibility:
Public.

Description

DevTools: Preload HTML documents content before fetching resource content. This is a last step in fixing the issue of HTML document content being unavailable when DevTools is first opened. This patch adds HTML document content fetching logic as well as fixing all the tests that somehow depend on it. BUG=354447 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177538

Patch Set 1 #

Total comments: 1

Patch Set 2 : Comments addressed #

Patch Set 3 : Fixed tests #

Patch Set 4 : Moved out a few tests changes to reduce the size of the patch #

Patch Set 5 : Rebaselined #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -40 lines) Patch
A LayoutTests/http/tests/inspector-enabled/resource-tree/main-resource-content.html View 1 chunk +56 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/inspector-enabled/resource-tree/main-resource-content-expected.txt View 1 chunk +20 lines, -0 lines 0 comments Download
M LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html View 1 2 3 1 chunk +9 lines, -16 lines 0 comments Download
A + LayoutTests/http/tests/inspector-enabled/search/sources-search-scope-expected.txt View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/linkifier-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/script-formatter-console-expected.txt View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/inspector/sources/debugger/open-close-open-expected.txt View 2 chunks +15 lines, -4 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 2 5 chunks +10 lines, -6 lines 0 comments Download
M Source/core/inspector/InspectorResourceContentLoader.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorResourceContentLoader.cpp View 1 2 4 chunks +48 lines, -5 lines 0 comments Download
M Source/core/loader/FrameLoader.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
vsevik
PTAL
6 years, 6 months ago (2014-06-20 16:34:23 UTC) #1
pfeldman
lgtm
6 years, 6 months ago (2014-06-26 16:46:15 UTC) #2
eseidel
6 years, 6 months ago (2014-06-26 16:48:24 UTC) #3
pfeldman
eseidel@ sees everything.
6 years, 6 months ago (2014-06-26 16:50:22 UTC) #4
vsevik
Nate, could you please review this? Eric, did you mean to say something? :)
6 years, 6 months ago (2014-06-26 16:55:42 UTC) #5
eseidel
Nope, just ccing nate. Mostly "preload" caught my eye, but these aren't actual preload requests. ...
6 years, 6 months ago (2014-06-26 16:58:15 UTC) #6
Nate Chapin
https://codereview.chromium.org/337783003/diff/1/Source/core/loader/FrameLoader.h File Source/core/loader/FrameLoader.h (right): https://codereview.chromium.org/337783003/diff/1/Source/core/loader/FrameLoader.h#newcode193 Source/core/loader/FrameLoader.h:193: bool requestFromHistoryForInspector(ResourceRequestCachePolicy, ResourceRequest*); Let's just make requestFromHistoryItem a public ...
6 years, 5 months ago (2014-07-01 02:22:06 UTC) #7
vsevik
On 2014/07/01 02:22:06, Nate Chapin wrote: > https://codereview.chromium.org/337783003/diff/1/Source/core/loader/FrameLoader.h > File Source/core/loader/FrameLoader.h (right): > > https://codereview.chromium.org/337783003/diff/1/Source/core/loader/FrameLoader.h#newcode193 ...
6 years, 5 months ago (2014-07-01 15:15:07 UTC) #8
Nate Chapin
LGTM, thanks!
6 years, 5 months ago (2014-07-01 19:01:33 UTC) #9
vsevik
The CQ bit was checked by vsevik@chromium.org
6 years, 5 months ago (2014-07-01 20:35:54 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vsevik@chromium.org/337783003/20001
6 years, 5 months ago (2014-07-01 20:36:30 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 5 months ago (2014-07-01 21:48:58 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-01 22:14:09 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/14360)
6 years, 5 months ago (2014-07-01 22:14:10 UTC) #14
vsevik
The CQ bit was checked by vsevik@chromium.org
6 years, 5 months ago (2014-07-04 11:13:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vsevik@chromium.org/337783003/80001
6 years, 5 months ago (2014-07-04 11:14:11 UTC) #16
commit-bot: I haz the power
6 years, 5 months ago (2014-07-04 12:22:07 UTC) #17
Message was sent while issue was closed.
Change committed as 177538

Powered by Google App Engine
This is Rietveld 408576698