summaryrefslogtreecommitdiffstats
path: root/content/browser/system_message_window_win.cc
diff options
context:
space:
mode:
authorsimonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-05 23:59:24 +0000
committersimonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-05 23:59:24 +0000
commitd30237313646c9636991f6cb0d278761dbe775fb (patch)
tree63a84179e90dd83ef4e353ea4ee8e66e874cf207 /content/browser/system_message_window_win.cc
parent433f3edb01e1b8a3e58a115e40ac52ff00a61862 (diff)
downloadchromium_src-d30237313646c9636991f6cb0d278761dbe775fb.zip
chromium_src-d30237313646c9636991f6cb0d278761dbe775fb.tar.gz
chromium_src-d30237313646c9636991f6cb0d278761dbe775fb.tar.bz2
Fix performance.timing.navigationStart on cross-renderer navigation.
According to the Navigation Timing spec, this value should be right after beforeunload fires on the previous document. On cross-renderer navigations, we were instead using the no-previous-document code path. The result is that navigationStart is 80 - 500 ms earlier and lines up better with other load time metrics. I have a test case in mind that should be pretty reliable, but it will no longer work once we update to make navigationStart 0 and base all other times from that. Given that, I'm not sure it's worth writing the test, only to have it removed in the next test. My idea was to have one tab initiate the navigation in another tab, then record the time. navigationStart should be < the recorded time. If you have any other ideas how to test this, please let me know. See also: https://bugs.webkit.org/show_bug.cgi?id=75922 BUG=104788 TEST=Added printfs. Review URL: http://codereview.chromium.org/9166003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125035 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/system_message_window_win.cc')
0 files changed, 0 insertions, 0 deletions