|
chrome.loadTimes() shouldn't be affected by in-document navigation.
Data that's only pertinent to initially loading the document is stored in LoadTimes. These are carried over when the NavigationState changes due to in-document navigation.
I'd be interested in feedback on the position of LoadTimes. I'm not happy with it. I'd prefer to have it on WebDataSource, but I expect NavigationState was hidden in ExtraData for a reason.
This also impacts PLT histograms. In-document navigation is the cause of some of the missing start types. So, by fixing this, we should get more complete page load data. There are probably whole classes of sites where we have no PLT data, such as Google Docs.
BUG= 79078
TEST=ui_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=110392
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+496 lines, -707 lines) |
Patch |
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/content_settings_observer.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/loadtimes_extension_bindings.cc
|
View
|
1
2
3
4
|
3 chunks |
+20 lines, -20 lines |
0 comments
|
Download
|
 |
A |
chrome/renderer/loadtimes_extension_bindings_uitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/page_load_histograms.h
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/page_load_histograms.cc
|
View
|
1
2
3
4
|
36 chunks |
+109 lines, -109 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/prerender/prerender_helper.cc
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/safe_browsing/phishing_classifier_delegate.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
content/public/renderer/document_state.h
|
View
|
1
2
3
4
|
10 chunks |
+64 lines, -119 lines |
0 comments
|
Download
|
 |
A + |
content/public/renderer/document_state.cc
|
View
|
1
2
3
4
|
1 chunk |
+23 lines, -30 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/navigation_state.h
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -245 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/navigation_state.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -31 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
2
3
4
5
|
30 chunks |
+165 lines, -136 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|