WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 170866
Include resource size in some existing logging
https://bugs.webkit.org/show_bug.cgi?id=170866
Summary
Include resource size in some existing logging
Keith Rollin
Reported
2017-04-14 17:10:16 PDT
In order to correlate resource load times with resource size, we log when the resource is starting to be downloaded and when the resource is finished loading. In NetworkResourceLoader::didReceiveResponse, we also log the expected resource size. However, we can only log the length if it is provided in Content-Length, which is not always the case. If it's not provided, we end up logging "length = -1". To make up for this, change NetworkResourceLoader::didFinishLoading and WebResourceLoader:: didFinishLoading to log the length once we know it.
Attachments
Patch
(6.36 KB, patch)
2017-04-14 17:39 PDT
,
Keith Rollin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Keith Rollin
Comment 1
2017-04-14 17:39:11 PDT
Created
attachment 307170
[details]
Patch
WebKit Commit Bot
Comment 2
2017-04-15 19:40:13 PDT
Comment on
attachment 307170
[details]
Patch Clearing flags on attachment: 307170 Committed
r215397
: <
http://trac.webkit.org/changeset/215397
>
WebKit Commit Bot
Comment 3
2017-04-15 19:40:15 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