Title: [182093] trunk/Source/WebInspectorUI
Revision
182093
Author
[email protected]
Date
2015-03-27 17:54:31 -0700 (Fri, 27 Mar 2015)

Log Message

Web Inspector: Remove unused testing properties
https://bugs.webkit.org/show_bug.cgi?id=143156

Patch by Joseph Pecoraro <[email protected]> on 2015-03-27
Reviewed by Timothy Hatcher.

* UserInterface/Views/LegacyConsoleMessageImpl.js:
(WebInspector.LegacyConsoleMessageImpl.prototype._formatMessage):
* UserInterface/Views/Section.js:
(WebInspector.Section.prototype.get subtitleAsTextForTest): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (182092 => 182093)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-03-28 00:51:18 UTC (rev 182092)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-03-28 00:54:31 UTC (rev 182093)
@@ -1,5 +1,17 @@
 2015-03-27  Joseph Pecoraro  <[email protected]>
 
+        Web Inspector: Remove unused testing properties
+        https://bugs.webkit.org/show_bug.cgi?id=143156
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/LegacyConsoleMessageImpl.js:
+        (WebInspector.LegacyConsoleMessageImpl.prototype._formatMessage):
+        * UserInterface/Views/Section.js:
+        (WebInspector.Section.prototype.get subtitleAsTextForTest): Deleted.
+
+2015-03-27  Joseph Pecoraro  <[email protected]>
+
         Web Inspector: Uncaught Exception: TypeError: Attempted to assign to readonly - DOMNodeDetailsSidebarPanel.js
         https://bugs.webkit.org/show_bug.cgi?id=143139
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/LegacyConsoleMessageImpl.js (182092 => 182093)


--- trunk/Source/WebInspectorUI/UserInterface/Views/LegacyConsoleMessageImpl.js	2015-03-28 00:51:18 UTC (rev 182092)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/LegacyConsoleMessageImpl.js	2015-03-28 00:54:31 UTC (rev 182093)
@@ -144,7 +144,6 @@
 
             var content = this._formattedMessage;
             var root = new WebInspector.TreeElement(content, null, true);
-            content.treeElementForTest = root;
             treeOutline.appendChild(root);
             if (this.type === WebInspector.LegacyConsoleMessage.MessageType.Trace)
                 root.expand();

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/Section.js (182092 => 182093)


--- trunk/Source/WebInspectorUI/UserInterface/Views/Section.js	2015-03-28 00:51:18 UTC (rev 182092)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/Section.js	2015-03-28 00:54:31 UTC (rev 182093)
@@ -95,18 +95,6 @@
         this.subtitleElement.textContent = x;
     },
 
-    get subtitleAsTextForTest()
-    {
-        var result = this.subtitleElement.textContent;
-        var child = this.subtitleElement.querySelector("[data-uncopyable]");
-        if (child) {
-            var linkData = child.getAttribute("data-uncopyable");
-            if (linkData)
-                result += linkData;
-        }
-        return result;
-    },
-
     get expanded()
     {
         return this._expanded;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to