WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
127555
[curl] Add WEB_TIMING support
https://bugs.webkit.org/show_bug.cgi?id=127555
Summary
[curl] Add WEB_TIMING support
sipka
Reported
2014-01-24 06:07:42 PST
Add web_timing informations.
Attachments
proposed patch
(6.37 KB, patch)
2014-01-24 06:12 PST
,
sipka
no flags
Details
Formatted Diff
Diff
proposed patch
(6.45 KB, patch)
2014-01-24 06:30 PST
,
sipka
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
sipka
Comment 1
2014-01-24 06:12:49 PST
Created
attachment 222094
[details]
proposed patch Access timing information related to navigation.
sipka
Comment 2
2014-01-24 06:30:12 PST
Created
attachment 222106
[details]
proposed patch
Brent Fulgham
Comment 3
2014-01-30 10:02:37 PST
Comment on
attachment 222106
[details]
proposed patch View in context:
https://bugs.webkit.org/attachment.cgi?id=222106&action=review
Looks good, but I had a question about the removal of a "didReceiveResponse" call. Also, you accidentally introduced a blank line.
> Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:-468 > - client->didReceiveResponse(job, d->m_response);
Why don't we need this call to didReceiveResponse anymore? Does CurlCacheManager do this work as well?
> Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:657 > +
Extra blank line!
Mátyás Mustoha
Comment 4
2014-01-31 04:01:04 PST
(In reply to
comment #3
)
> Why don't we need this call to didReceiveResponse anymore? Does CurlCacheManager do this work as well?
No it doesn't, only the function name is similar.
sipka
Comment 5
2014-01-31 05:30:40 PST
(In reply to
comment #3
)
> (From update of
attachment 222106
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=222106&action=review
> > Looks good, but I had a question about the removal of a "didReceiveResponse" call. Also, you accidentally introduced a blank line. > > > Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:-468 > > - client->didReceiveResponse(job, d->m_response); > > Why don't we need this call to didReceiveResponse anymore? Does CurlCacheManager do this work as well? > > > Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:657 > > + > > Extra blank line!
Instead of calling didReceiveResponse from the headerCallback function, I call it from downloadTimerCallback (and from dispatchSynchronousJob in synchronous case) to make sure that the webtiming informations will be retrieved and set properly.
Brent Fulgham
Comment 6
2014-04-16 12:23:00 PDT
Comment on
attachment 222106
[details]
proposed patch r=me
WebKit Commit Bot
Comment 7
2014-04-16 12:54:30 PDT
Comment on
attachment 222106
[details]
proposed patch Clearing flags on attachment: 222106 Committed
r167377
: <
http://trac.webkit.org/changeset/167377
>
WebKit Commit Bot
Comment 8
2014-04-16 12:54:33 PDT
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