Title: [135682] trunk/Source/WebCore
Revision
135682
Author
[email protected]
Date
2012-11-25 22:33:08 -0800 (Sun, 25 Nov 2012)

Log Message

Web Inspector: remove unused DOM methods
https://bugs.webkit.org/show_bug.cgi?id=103204

Patch by Nikita Vasilyev <[email protected]> on 2012-11-25
Reviewed by Pavel Feldman.

* inspector/front-end/DOMExtension.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (135681 => 135682)


--- trunk/Source/WebCore/ChangeLog	2012-11-26 06:15:45 UTC (rev 135681)
+++ trunk/Source/WebCore/ChangeLog	2012-11-26 06:33:08 UTC (rev 135682)
@@ -1,5 +1,14 @@
 2012-11-25  Nikita Vasilyev  <[email protected]>
 
+        Web Inspector: remove unused DOM methods
+        https://bugs.webkit.org/show_bug.cgi?id=103204
+
+        Reviewed by Pavel Feldman.
+
+        * inspector/front-end/DOMExtension.js:
+
+2012-11-25  Nikita Vasilyev  <[email protected]>
+
         Web Inspector: Remove unused Array.convert method
         https://bugs.webkit.org/show_bug.cgi?id=103202
 

Modified: trunk/Source/WebCore/inspector/front-end/DOMExtension.js (135681 => 135682)


--- trunk/Source/WebCore/inspector/front-end/DOMExtension.js	2012-11-26 06:15:45 UTC (rev 135681)
+++ trunk/Source/WebCore/inspector/front-end/DOMExtension.js	2012-11-26 06:33:08 UTC (rev 135682)
@@ -253,13 +253,6 @@
     return null;
 }
 
-Node.prototype.enclosingNodeWithClass = function(className)
-{
-    if (!this.parentNode)
-        return null;
-    return this.parentNode.enclosingNodeOrSelfWithClass(className);
-}
-
 Element.prototype.query = function(query)
 {
     return this.ownerDocument.evaluate(query, this, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
@@ -544,12 +537,6 @@
     return this.parentNode;
 }
 
-HTMLTextAreaElement.prototype.moveCursorToEnd = function()
-{
-    var length = this.value.length;
-    this.setSelectionRange(length, length);
-}
-
 function isEnterKey(event) {
     // Check if in IME.
     return event.keyCode !== 229 && event.keyIdentifier === "Enter";
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to