Title: [186138] trunk/Source/WebInspectorUI
Revision
186138
Author
[email protected]
Date
2015-06-30 15:20:15 -0700 (Tue, 30 Jun 2015)

Log Message

Web Inspector: iOS 8: Profile Nodes not showing in _javascript_ Timeline
https://bugs.webkit.org/show_bug.cgi?id=146471

Patch by Joseph Pecoraro <[email protected]> on 2015-06-30
Reviewed by Brian Burg.

* UserInterface/Models/ScriptTimelineRecord.js:
(WebInspector.ScriptTimelineRecord.prototype._initializeProfileFromPayload.profileNodeCallFromPayload):
For legacy backends, convert the startTime to the proper timestamp type.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (186137 => 186138)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-06-30 22:19:26 UTC (rev 186137)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-06-30 22:20:15 UTC (rev 186138)
@@ -1,3 +1,14 @@
+2015-06-30  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: iOS 8: Profile Nodes not showing in _javascript_ Timeline
+        https://bugs.webkit.org/show_bug.cgi?id=146471
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Models/ScriptTimelineRecord.js:
+        (WebInspector.ScriptTimelineRecord.prototype._initializeProfileFromPayload.profileNodeCallFromPayload):
+        For legacy backends, convert the startTime to the proper timestamp type.
+
 2015-06-30  Matt Baker  <[email protected]>
 
         Web Inspector: Reduce rendering frames "Other" time by instrumenting compositing

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ScriptTimelineRecord.js (186137 => 186138)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ScriptTimelineRecord.js	2015-06-30 22:19:26 UTC (rev 186137)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ScriptTimelineRecord.js	2015-06-30 22:20:15 UTC (rev 186138)
@@ -109,7 +109,9 @@
             console.assert("startTime" in nodeCallPayload);
             console.assert("totalTime" in nodeCallPayload);
 
-            return new WebInspector.ProfileNodeCall(nodeCallPayload.startTime, nodeCallPayload.totalTime);
+            var startTime = WebInspector.timelineManager.computeElapsedTime(nodeCallPayload.startTime);
+
+            return new WebInspector.ProfileNodeCall(startTime, nodeCallPayload.totalTime);
         }
 
         var rootNodes = payload.rootNodes;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to