WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
126760
Web Inspector: Resource durations are sometimes years long
https://bugs.webkit.org/show_bug.cgi?id=126760
Summary
Web Inspector: Resource durations are sometimes years long
Timothy Hatcher
Reported
2014-01-10 10:31:33 PST
Lets go back 2 years ago:
http://trac.webkit.org/changeset/102961/trunk/Source/WebCore/inspector/InspectorInstrumentation.cpp
A chromium engineer changed InspectorInstrumentation::didFinishLoadingImpl to expect monotonic time instead of wall clock time. The argument was renamed to monotonicFinishTime. The header was never changed (still says finishTime instead of monotonicFinishTime) and neither was any other port changed to pass the new expected time format. Fast forward to today. Sigh. This causes end times to essentially double because convertMonotonicTimeToDocumentTime will add the finish time (wall clock time) to the document start time (also wall clock time), minus a reference monotonic time (a smaller number than wall clock time). Most call sites pass 0 for finishTime, so this just caused currentTime to be used later down the line. Thanks Google.
Attachments
Patch
(2.71 KB, patch)
2014-01-10 10:42 PST
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-01-10 10:32:11 PST
<
rdar://problem/15793435
>
Timothy Hatcher
Comment 2
2014-01-10 10:42:46 PST
Created
attachment 220856
[details]
Patch
Joseph Pecoraro
Comment 3
2014-01-10 10:46:34 PST
Comment on
attachment 220856
[details]
Patch r=me
WebKit Commit Bot
Comment 4
2014-01-10 13:27:44 PST
Comment on
attachment 220856
[details]
Patch Clearing flags on attachment: 220856 Committed
r161670
: <
http://trac.webkit.org/changeset/161670
>
WebKit Commit Bot
Comment 5
2014-01-10 13:27:46 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug