Title: [158790] trunk/Source/WebInspectorUI
Revision
158790
Author
[email protected]
Date
2013-11-06 14:29:17 -0800 (Wed, 06 Nov 2013)

Log Message

Fix the display of query parameters when the value is missing.

https://bugs.webkit.org/show_bug.cgi?id=123920

Reviewed by Joseph Pecoraro.

* UserInterface/ResourceDetailsSidebarPanel.js:
(WebInspector.ResourceDetailsSidebarPanel.prototype._createNameValueDataGrid):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (158789 => 158790)


--- trunk/Source/WebInspectorUI/ChangeLog	2013-11-06 22:27:34 UTC (rev 158789)
+++ trunk/Source/WebInspectorUI/ChangeLog	2013-11-06 22:29:17 UTC (rev 158790)
@@ -1,3 +1,14 @@
+2013-11-06  Timothy Hatcher  <[email protected]>
+
+        Fix the display of query parameters when the value is missing. 
+
+        https://bugs.webkit.org/show_bug.cgi?id=123920
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/ResourceDetailsSidebarPanel.js:
+        (WebInspector.ResourceDetailsSidebarPanel.prototype._createNameValueDataGrid):
+
 2013-11-06  Alexandru Chiculita  <[email protected]>
 
         Web Inspector: CSS Regions: When a flow is clicked the content of flow needs to be displayed

Modified: trunk/Source/WebInspectorUI/UserInterface/ResourceDetailsSidebarPanel.js (158789 => 158790)


--- trunk/Source/WebInspectorUI/UserInterface/ResourceDetailsSidebarPanel.js	2013-11-06 22:27:34 UTC (rev 158789)
+++ trunk/Source/WebInspectorUI/UserInterface/ResourceDetailsSidebarPanel.js	2013-11-06 22:29:17 UTC (rev 158790)
@@ -340,9 +340,9 @@
         function addDataGridNode(nodeValue)
         {
             console.assert(typeof nodeValue.name === "string");
-            console.assert(typeof nodeValue.value === "string");
+            console.assert(!nodeValue.value || typeof nodeValue.value === "string");
 
-            var node = new WebInspector.DataGridNode({name: nodeValue.name, value: nodeValue.value}, false);
+            var node = new WebInspector.DataGridNode({name: nodeValue.name, value: nodeValue.value || ""}, false);
             node.selectable = true;
             dataGrid.appendChild(node);
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to