Title: [139871] trunk/Source/WebCore
Revision
139871
Author
[email protected]
Date
2013-01-16 04:16:41 -0800 (Wed, 16 Jan 2013)

Log Message

Web Inspector: fix backward compatibility issues with Element.remove() method
https://bugs.webkit.org/show_bug.cgi?id=106996

Patch by Andrey Lushnikov <[email protected]> on 2013-01-16
Reviewed by Vsevolod Vlasov.

Add _javascript_ implementations for CharacterData.prototype.remove and DocumentType.prototype.remove.

No new tests: no change in behaviour.

* inspector/front-end/DOMExtension.js:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (139870 => 139871)


--- trunk/Source/WebCore/ChangeLog	2013-01-16 12:13:45 UTC (rev 139870)
+++ trunk/Source/WebCore/ChangeLog	2013-01-16 12:16:41 UTC (rev 139871)
@@ -1,3 +1,16 @@
+2013-01-16  Andrey Lushnikov  <[email protected]>
+
+        Web Inspector: fix backward compatibility issues with Element.remove() method
+        https://bugs.webkit.org/show_bug.cgi?id=106996
+
+        Reviewed by Vsevolod Vlasov.
+
+        Add _javascript_ implementations for CharacterData.prototype.remove and DocumentType.prototype.remove.
+
+        No new tests: no change in behaviour.
+
+        * inspector/front-end/DOMExtension.js:
+
 2013-01-16  Zeno Albisser  <[email protected]>
 
         GraphicsSurfaceGLX is leaking an XWindow

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


--- trunk/Source/WebCore/inspector/front-end/DOMExtension.js	2013-01-16 12:13:45 UTC (rev 139870)
+++ trunk/Source/WebCore/inspector/front-end/DOMExtension.js	2013-01-16 12:16:41 UTC (rev 139871)
@@ -217,6 +217,9 @@
         this.parentElement.removeChild(this);
 }
 
+CharacterData.prototype.remove = Element.prototype.remove;
+DocumentType.prototype.remove = Element.prototype.remove;
+
 /**
  * @param {Node} fromNode
  * @param {Node} toNode
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to