Title: [237348] trunk/Source/WebInspectorUI
Revision
237348
Author
drou...@apple.com
Date
2018-10-23 02:50:14 -0700 (Tue, 23 Oct 2018)

Log Message

Web Inspector: "Queued NaNms" in Network tab
https://bugs.webkit.org/show_bug.cgi?id=190767
<rdar://problem/45420859>

Reviewed by Brian Burg.

* UserInterface/Models/ResourceTimingData.js:
(WI.ResourceTimingData.prototype.get fetchStart):
If the `WI.ResourceTimingData` has no `fetchStart` use the associated `WI.Resource`'s
`requestSentTimestamp` (just like `startTime`).

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (237347 => 237348)


--- trunk/Source/WebInspectorUI/ChangeLog	2018-10-23 06:10:59 UTC (rev 237347)
+++ trunk/Source/WebInspectorUI/ChangeLog	2018-10-23 09:50:14 UTC (rev 237348)
@@ -1,3 +1,16 @@
+2018-10-23  Devin Rousso  <drou...@apple.com>
+
+        Web Inspector: "Queued NaNms" in Network tab
+        https://bugs.webkit.org/show_bug.cgi?id=190767
+        <rdar://problem/45420859>
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Models/ResourceTimingData.js:
+        (WI.ResourceTimingData.prototype.get fetchStart):
+        If the `WI.ResourceTimingData` has no `fetchStart` use the associated `WI.Resource`'s
+        `requestSentTimestamp` (just like `startTime`).
+
 2018-10-22  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: Open Quickly dialog doesn't show named scripts that appear in the debugger sidebar

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ResourceTimingData.js (237347 => 237348)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ResourceTimingData.js	2018-10-23 06:10:59 UTC (rev 237347)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ResourceTimingData.js	2018-10-23 09:50:14 UTC (rev 237348)
@@ -113,7 +113,7 @@
     get startTime() { return this._startTime || this._resource.requestSentTimestamp; }
     get redirectStart() { return this._redirectStart; }
     get redirectEnd() { return this._redirectEnd; }
-    get fetchStart() { return this._fetchStart; }
+    get fetchStart() { return this._fetchStart || this._resource.requestSentTimestamp; }
     get domainLookupStart() { return this._domainLookupStart; }
     get domainLookupEnd() { return this._domainLookupEnd; }
     get connectStart() { return this._connectStart; }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to