WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
45663
Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
https://bugs.webkit.org/show_bug.cgi?id=45663
Summary
Web Inspector: [Resources panel] [HAR] Need a way to save timing data.
Pavel Feldman
Reported
2010-09-13 06:08:07 PDT
It would be great to have a way to export network data in HAR format. For bug reports, it’s very helpful to be able to save a network trace. It would be great to have this functionality built into Chrome/WebKit.
Attachments
patch
(6.90 KB, patch)
2010-09-14 08:54 PDT
,
Andrey Kosyakov
no flags
Details
Formatted Diff
Diff
patch to land
(6.98 KB, patch)
2010-09-14 09:23 PDT
,
Andrey Kosyakov
no flags
Details
Formatted Diff
Diff
patch
(7.87 KB, patch)
2010-09-16 05:36 PDT
,
Andrey Kosyakov
no flags
Details
Formatted Diff
Diff
patch
(8.01 KB, patch)
2010-09-16 06:25 PDT
,
Andrey Kosyakov
no flags
Details
Formatted Diff
Diff
patch
(8.30 KB, patch)
2010-12-01 17:13 PST
,
Andrey Kosyakov
no flags
Details
Formatted Diff
Diff
patch to land
(11.42 KB, patch)
2010-12-01 18:02 PST
,
Andrey Kosyakov
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Andrey Kosyakov
Comment 1
2010-09-14 08:54:08 PDT
Created
attachment 67559
[details]
patch
Yury Semikhatsky
Comment 2
2010-09-14 09:04:42 PDT
Comment on
attachment 67559
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=67559&action=prettypatch
> WebCore/inspector/front-end/HAREntry.js:163 > + return start === -1 ? -1 : Math.round(timing[end] - timing[start]);
start === -1 is not needed
Andrey Kosyakov
Comment 3
2010-09-14 09:23:28 PDT
Created
attachment 67565
[details]
patch to land - Changed check for timings[start] in HAREntry._interval() - Return -1 instead of 0 for timings.connect if connection reused.
Andrey Kosyakov
Comment 4
2010-09-14 10:23:19 PDT
Committed manually
r67474
:
http://trac.webkit.org/changeset/67474
Andrey Kosyakov
Comment 5
2010-09-14 10:26:45 PDT
See also
https://bugs.webkit.org/show_bug.cgi?id=45764
for export of HAR data.
Pavel Feldman
Comment 6
2010-09-15 02:51:02 PDT
Bug description requests that HAR data is exportable in the Web Inspector. Reopening.
Pavel Feldman
Comment 7
2010-09-15 02:53:08 PDT
***
Bug 45764
has been marked as a duplicate of this bug. ***
Andrey Kosyakov
Comment 8
2010-09-16 05:36:34 PDT
Created
attachment 67785
[details]
patch - Added support to export HAR file from resource panel (disabled in Preferences by default until raw headers & cookies available per pfeldman's request) - Added support for top-level HAR archive (we used to only support HAREntry) N.B.: the unreadable name of file we offer for download looks to be an immanent effect of the underlying implementation: we use blobs to construct contents of file on the client side, and have no way to apply Content-disposition there or affect file name in the resulting blob URL returned by createBlobURL().
Andrey Kosyakov
Comment 9
2010-09-16 06:25:52 PDT
Created
attachment 67788
[details]
patch - Fixed binary diff
Andrey Kosyakov
Comment 10
2010-09-16 07:57:12 PDT
Committed manually
r67615
:
http://trac.webkit.org/changeset/67615
Eric Seidel (no email)
Comment 11
2010-09-16 12:35:28 PDT
Comment on
attachment 67559
[details]
patch Cleared Yury Semikhatsky's review+ from obsolete
attachment 67559
[details]
so that this bug does not appear in
http://webkit.org/pending-commit
.
Andrey Kosyakov
Comment 12
2010-12-01 17:13:21 PST
Created
attachment 75336
[details]
patch This patch restores HAR export functionality that used to be in Resource panel but was lost during transitioning to Network panel.
Pavel Feldman
Comment 13
2010-12-01 17:34:09 PST
Comment on
attachment 75336
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=75336&action=review
> WebCore/inspector/front-end/NetworkPanel.js:1312 > + get resource()
no need for this getter.
Andrey Kosyakov
Comment 14
2010-12-01 18:02:32 PST
Created
attachment 75341
[details]
patch to land - removed NetworkDataGridNode.get resource(), directly access NetworkDataGridNode._resource instead - removed trailing whitespace
Eric Seidel (no email)
Comment 15
2010-12-14 01:23:55 PST
Comment on
attachment 67788
[details]
patch Cleared Pavel Feldman's review+ from obsolete
attachment 67788
[details]
so that this bug does not appear in
http://webkit.org/pending-commit
.
Eric Seidel (no email)
Comment 16
2010-12-14 01:24:00 PST
Comment on
attachment 75336
[details]
patch Cleared Pavel Feldman's review+ from obsolete
attachment 75336
[details]
so that this bug does not appear in
http://webkit.org/pending-commit
.
Andrey Kosyakov
Comment 17
2011-03-15 07:38:40 PDT
This is now available for all platforms as Network panel -> context menu -> Copy as HAR, so 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