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

Issue 267393003: DevTools: Load document (html) content from disk cache in page agent enabling. (Closed)

Created:
6 years, 7 months ago by vsevik
Modified:
6 years, 6 months ago
Reviewers:
pfeldman
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
Visibility:
Public.

Description

DevTools: Load document (html) content from disk cache in page agent enabling. BUG=354447 R=pfeldman@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174557 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176213

Patch Set 1 #

Patch Set 2 : Fixed tests #

Patch Set 3 : Fixed nullptr #

Patch Set 4 : Completely rewritten #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 6

Patch Set 8 : #

Patch Set 9 : Fixed test #

Patch Set 10 : #

Patch Set 11 : Fixed the case when there are several resources with the same url in different frames. #

Patch Set 12 : New approach #

Patch Set 13 : #

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+485 lines, -719 lines) Patch
M LayoutTests/FlakyTests View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/SlowTests View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
A LayoutTests/http/tests/inspector-enabled/resource-tree/main-resource-content.html View 1 2 3 4 1 chunk +56 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/inspector-enabled/resource-tree/main-resource-content-expected.txt View 1 2 3 4 1 chunk +20 lines, -0 lines 0 comments Download
A + LayoutTests/http/tests/inspector-enabled/resource-tree/resources/main-resource-content-frame.html View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/http/tests/inspector-enabled/resource-tree/resources/main-resource-content-frame-utf8.php View 1 2 3 4 5 6 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/http/tests/inspector-enabled/search/sources-search-scope.html View 1 2 3 4 5 6 2 chunks +16 lines, -12 lines 0 comments Download
A + LayoutTests/http/tests/inspector-enabled/search/sources-search-scope-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
D LayoutTests/http/tests/inspector/resource-tree/resources/main-resource-content-frame.html View 1 2 3 4 5 6 1 chunk +0 lines, -5 lines 0 comments Download
D LayoutTests/http/tests/inspector/resource-tree/resources/main-resource-content-frame-utf8.php View 1 2 3 4 5 6 1 chunk +0 lines, -8 lines 0 comments Download
M LayoutTests/http/tests/inspector/search/sources-search-scope.html View 1 2 3 4 5 6 1 chunk +0 lines, -139 lines 0 comments Download
M LayoutTests/http/tests/inspector/search/sources-search-scope-expected.txt View 1 2 3 4 5 6 1 chunk +0 lines, -86 lines 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/linkifier.html View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -1 line 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/linkifier-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1.html View 1 2 3 4 3 chunks +11 lines, -2 lines 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-1-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4.html View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +12 lines, -3 lines 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/script-formatter-breakpoints-4-expected.txt View 1 2 3 4 0 chunks +-1 lines, --1 lines 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/script-formatter-console.html View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
A + LayoutTests/inspector-enabled/sources/debugger/script-formatter-console-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -3 lines 0 comments Download
D LayoutTests/inspector/sources/debugger/linkifier.html View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -89 lines 0 comments Download
D LayoutTests/inspector/sources/debugger/linkifier-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -11 lines 0 comments Download
M LayoutTests/inspector/sources/debugger/open-close-open-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +15 lines, -4 lines 0 comments Download
D LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html View 1 2 3 4 1 chunk +0 lines, -73 lines 0 comments Download
D LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -18 lines 0 comments Download
D LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -62 lines 0 comments Download
D LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -9 lines 0 comments Download
D LayoutTests/inspector/sources/debugger/script-formatter-console.html View 1 2 3 4 1 chunk +0 lines, -75 lines 0 comments Download
D LayoutTests/inspector/sources/debugger/script-formatter-console-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -14 lines 0 comments Download
M Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorCSSAgent.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/inspector/InspectorCSSAgent.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 9 chunks +25 lines, -78 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.h View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +11 lines, -2 lines 0 comments Download
M Source/core/inspector/InspectorPageAgent.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 16 chunks +84 lines, -15 lines 0 comments Download
A Source/core/inspector/InspectorResourceContentLoader.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +47 lines, -0 lines 0 comments Download
A Source/core/inspector/InspectorResourceContentLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +143 lines, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +8 lines, -0 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
vsevik
PTAL
6 years, 7 months ago (2014-05-07 14:57:45 UTC) #1
vsevik
6 years, 7 months ago (2014-05-07 16:02:13 UTC) #2
pfeldman
https://codereview.chromium.org/267393003/diff/110001/Source/core/inspector/InspectorController.cpp File Source/core/inspector/InspectorController.cpp (right): https://codereview.chromium.org/267393003/diff/110001/Source/core/inspector/InspectorController.cpp#newcode255 Source/core/inspector/InspectorController.cpp:255: for (Vector<String>::const_iterator it = m_messages.begin(); it != m_messages.end(); ++it) ...
6 years, 7 months ago (2014-05-20 19:50:48 UTC) #3
vsevik
> https://codereview.chromium.org/267393003/diff/110001/Source/core/inspector/InspectorController.cpp#newcode255 > Source/core/inspector/InspectorController.cpp:255: for > (Vector<String>::const_iterator it = m_messages.begin(); it != m_messages.end(); > ++it) ...
6 years, 7 months ago (2014-05-21 11:25:24 UTC) #4
vsevik
PTAL
6 years, 7 months ago (2014-05-21 11:25:32 UTC) #5
pfeldman
lgtm.
6 years, 7 months ago (2014-05-21 14:25:10 UTC) #6
vsevik
The CQ bit was checked by vsevik@chromium.org
6 years, 7 months ago (2014-05-21 14:27:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vsevik@chromium.org/267393003/130001
6 years, 7 months ago (2014-05-21 17:51:15 UTC) #8
vsevik
Committed patchset #10 manually as r174557 (presubmit successful).
6 years, 7 months ago (2014-05-22 14:49:34 UTC) #9
miichefurr
On 2014/05/22 14:49:34, vsevik wrote: > Committed patchset #10 manually as r174557 (presubmit successful Hi. ...
6 years, 7 months ago (2014-05-23 09:25:17 UTC) #10
vsevik
pfeldman@, could you please take another look? This patch uses a new approach to collecting ...
6 years, 6 months ago (2014-06-13 09:56:51 UTC) #11
pfeldman
lgtm
6 years, 6 months ago (2014-06-16 08:42:19 UTC) #12
vsevik
The CQ bit was checked by vsevik@chromium.org
6 years, 6 months ago (2014-06-16 08:55:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vsevik@chromium.org/267393003/270001
6 years, 6 months ago (2014-06-16 08:56:44 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-16 10:16:04 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/9150) mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/11477) mac_gpu ...
6 years, 6 months ago (2014-06-16 10:16:06 UTC) #16
vsevik
The CQ bit was checked by vsevik@chromium.org
6 years, 6 months ago (2014-06-16 11:17:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vsevik@chromium.org/267393003/290001
6 years, 6 months ago (2014-06-16 11:18:09 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-16 12:50:41 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/linux_gpu/builds/27962)
6 years, 6 months ago (2014-06-16 12:50:43 UTC) #20
vsevik
The CQ bit was checked by vsevik@chromium.org
6 years, 6 months ago (2014-06-16 13:16:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vsevik@chromium.org/267393003/310001
6 years, 6 months ago (2014-06-16 13:16:49 UTC) #22
commit-bot: I haz the power
Change committed as 176213
6 years, 6 months ago (2014-06-16 15:39:10 UTC) #23
Dirk Pranke
This change appears to have made inspector-protocol/stylesheet-tracking-restart.html substantially flakier. I've noted this w/ a suppression ...
6 years, 6 months ago (2014-06-16 22:06:54 UTC) #24
vsevik
6 years, 6 months ago (2014-06-17 07:58:10 UTC) #25
Message was sent while issue was closed.
On 2014/06/16 22:06:54, Dirk Pranke wrote:
> This change appears to have made
> inspector-protocol/stylesheet-tracking-restart.html substantially flakier.
> 
> I've noted this w/ a suppression in TestExpectations (r176245).

Thanks, I have fixed it in https://codereview.chromium.org/339133002/

Powered by Google App Engine
This is Rietveld 408576698