[Webkit-unassigned] [Bug 89244] Web Inspector: Add progress events to the timeline to keep track of how much the main frame has loaded
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 21 08:01:48 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89244
Pavel Feldman <pfeldman at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #148797|review? |review-
Flag| |
--- Comment #9 from Pavel Feldman <pfeldman at chromium.org> 2012-06-21 08:01:47 PST ---
(From update of attachment 148797)
View in context: https://bugs.webkit.org/attachment.cgi?id=148797&action=review
> Source/WebCore/ChangeLog:3
> + Added content length, data length, and percentage loaded to
Please prepent Web Inspector:
> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:188
> + this._progress = {};
These names should be more specific to the network.
> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:396
> + presentationModel._progress[record.data["requestId"]] += parseInt(record.data["length"]);
I don't think progress makes sense in the default timeline view.
> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:523
> + contentHelper._appendTextRow(WebInspector.UIString("Data Length"), WebInspector.UIString("%d Bytes", this.data["length"]));
Please add this line to the English.lproj/localizedStrings.js.
> Source/WebCore/inspector/front-end/TimelinePresentationModel.js:524
> + if (contentLength) {
Please remove this branch, I don't think percentage loaded makes sense in timeline. Could you explain your scenario in greater detail? We don't focus on network requests in Timeline panel. We have a Network panel for that.
> Source/WebCore/loader/ResourceLoader.cpp:443
> + InspectorInstrumentationCookie cookie = InspectorInstrumentation::willReceiveResourceData(m_frame.get(), identifier(), length);
You might want encodedDataLength here (the one that is actually transmitted over the network, not the decompressed chunk).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list