Title: [186951] branches/safari-601.1-branch/Source/WebInspectorUI
Revision
186951
Author
matthew_han...@apple.com
Date
2015-07-16 23:15:42 -0700 (Thu, 16 Jul 2015)

Log Message

Merge r186925. rdar://problem/21868413

Modified Paths

Diff

Modified: branches/safari-601.1-branch/Source/WebInspectorUI/ChangeLog (186950 => 186951)


--- branches/safari-601.1-branch/Source/WebInspectorUI/ChangeLog	2015-07-17 06:15:40 UTC (rev 186950)
+++ branches/safari-601.1-branch/Source/WebInspectorUI/ChangeLog	2015-07-17 06:15:42 UTC (rev 186951)
@@ -1,3 +1,19 @@
+2015-07-16  Matthew Hanson  <matthew_han...@apple.com>
+
+        Merge r186925. rdar://problem/21868413
+
+    2015-07-16  Joseph Pecoraro  <pecor...@apple.com>
+
+            Web Inspector: Total Size of Resources number in dashboard is wrong (does not update during load)
+            https://bugs.webkit.org/show_bug.cgi?id=147027
+
+            Reviewed by Timothy Hatcher.
+
+            * UserInterface/Models/DefaultDashboard.js:
+            (WebInspector.DefaultDashboard.prototype._resourceSizeDidChange):
+            Restore implementation of callback from r183328 to update total resource
+            size as resources are downloaded.
+
 2015-07-09  Timothy Hatcher  <timo...@apple.com>
 
         Web Inspector: Storage tab should have a scope bar in the sidebar

Modified: branches/safari-601.1-branch/Source/WebInspectorUI/UserInterface/Models/DefaultDashboard.js (186950 => 186951)


--- branches/safari-601.1-branch/Source/WebInspectorUI/UserInterface/Models/DefaultDashboard.js	2015-07-17 06:15:40 UTC (rev 186950)
+++ branches/safari-601.1-branch/Source/WebInspectorUI/UserInterface/Models/DefaultDashboard.js	2015-07-17 06:15:42 UTC (rev 186951)
@@ -223,6 +223,11 @@
         this._stopUpdatingTime();
     }
 
+    _resourceSizeDidChange(event)
+    {
+        this.resourcesSize += event.target.size - event.data.previousSize;
+    }
+
     _consoleMessageAdded(event)
     {
         var message = event.data.message;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to