Bug 42018 - Implement Web Timing redirectStart, redirectEnd, redirectCount
Summary: Implement Web Timing redirectStart, redirectEnd, redirectCount
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Tony Gentilcore
URL:
Keywords:
Depends on: 41816
Blocks: 30685
  Show dependency treegraph
 
Reported: 2010-07-09 21:02 PDT by Tony Gentilcore
Modified: 2010-07-14 10:10 PDT (History)
7 users (show)

See Also:


Attachments
Patch (19.25 KB, patch)
2010-07-11 16:52 PDT, Tony Gentilcore
no flags Details | Formatted Diff | Diff
Patch for landing (20.18 KB, patch)
2010-07-13 18:54 PDT, Tony Gentilcore
no flags Details | Formatted Diff | Diff
Patch for landing (21.21 KB, patch)
2010-07-14 08:40 PDT, Tony Gentilcore
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Tony Gentilcore 2010-07-11 16:52:36 PDT
Created attachment 61183 [details]
Patch
Comment 2 Darin Fisher (:fishd, Google) 2010-07-12 22:22:08 PDT
Comment on attachment 61183 [details]
Patch

WebCore/loader/FrameLoaderTypes.h:64
 +          FrameLoadTimeline()
i'm a little surprised to see this struct defined in this file.
i always thought of this file as the place to put loader defined
enums.  normally, webkit has the style rule that you create a
new file for each struct or class.

WebCore/loader/MainResourceLoader.cpp:166
 +          frameLoadTimeline->redirectEnd = currentTime();
it might be good to call currentTime only once and then use that value
for both redirectEnd and fetchStart.  i think it is not wrong for them
to be different, but it also seems ok (perhaps good) to say that they
are exactly the same.

R=me
Comment 3 Tony Gentilcore 2010-07-13 18:54:10 PDT
Created attachment 61454 [details]
Patch for landing
Comment 4 Tony Gentilcore 2010-07-13 18:55:05 PDT
(In reply to comment #2)
> (From update of attachment 61183 [details])
> WebCore/loader/FrameLoaderTypes.h:64
>  +          FrameLoadTimeline()
> i'm a little surprised to see this struct defined in this file.
> i always thought of this file as the place to put loader defined
> enums.  normally, webkit has the style rule that you create a
> new file for each struct or class.
> 

Noted. I added a FIXME to this patch and will move it out in a subsequent patch.

> WebCore/loader/MainResourceLoader.cpp:166
>  +          frameLoadTimeline->redirectEnd = currentTime();
> it might be good to call currentTime only once and then use that value
> for both redirectEnd and fetchStart.  i think it is not wrong for them
> to be different, but it also seems ok (perhaps good) to say that they
> are exactly the same.

Makes sense. Done.

> 
> R=me
Comment 5 WebKit Commit Bot 2010-07-14 05:05:21 PDT
Comment on attachment 61454 [details]
Patch for landing

Rejecting patch 61454 from commit-queue.

Failed to run "['WebKitTools/Scripts/run-webkit-tests', '--no-launch-safari', '--exit-after-n-failures=1', '--ignore-tests', 'compositing', '--quiet']" exit_code: 1
Running build-dumprendertree
Compiling Java tests
make: Nothing to be done for `default'.
Running tests from /Users/eseidel/Projects/CommitQueue/LayoutTests
Testing 20685 test cases.
fast/dom/Window/window-property-descriptors.html -> failed

Exiting early after 1 failures. 6878 tests run.
120.45s total testing time

6877 test cases (99%) succeeded
1 test case (<1%) had incorrect layout

Full output: http://webkit-commit-queue.appspot.com/results/3450296
Comment 6 Tony Gentilcore 2010-07-14 08:40:59 PDT
Created attachment 61527 [details]
Patch for landing
Comment 7 WebKit Commit Bot 2010-07-14 09:46:06 PDT
Comment on attachment 61527 [details]
Patch for landing

Clearing flags on attachment: 61527

Committed r63326: <http://trac.webkit.org/changeset/63326>
Comment 8 WebKit Commit Bot 2010-07-14 09:46:12 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 WebKit Review Bot 2010-07-14 10:10:50 PDT
http://trac.webkit.org/changeset/63326 might have broken Qt Linux Release