Title: [158435] trunk/Source/WebInspectorUI
- Revision
- 158435
- Author
- grao...@apple.com
- Date
- 2013-11-01 07:40:49 -0700 (Fri, 01 Nov 2013)
Log Message
Remove custom Element.prototype.remove() in favor of native version
https://bugs.webkit.org/show_bug.cgi?id=123607
Reviewed by Timothy Hatcher.
* UserInterface/Utilities.js:
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (158434 => 158435)
--- trunk/Source/WebInspectorUI/ChangeLog 2013-11-01 14:09:03 UTC (rev 158434)
+++ trunk/Source/WebInspectorUI/ChangeLog 2013-11-01 14:40:49 UTC (rev 158435)
@@ -1,3 +1,12 @@
+2013-11-01 Antoine Quint <grao...@apple.com>
+
+ Remove custom Element.prototype.remove() in favor of native version
+ https://bugs.webkit.org/show_bug.cgi?id=123607
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Utilities.js:
+
2013-10-31 Joseph Pecoraro <pecor...@apple.com>
Web Inspector: Breakpoints in auto-formatted _javascript_ editors are not working
Modified: trunk/Source/WebInspectorUI/UserInterface/Utilities.js (158434 => 158435)
--- trunk/Source/WebInspectorUI/UserInterface/Utilities.js 2013-11-01 14:09:03 UTC (rev 158434)
+++ trunk/Source/WebInspectorUI/UserInterface/Utilities.js 2013-11-01 14:40:49 UTC (rev 158435)
@@ -357,17 +357,6 @@
}
});
-if (!("remove" in Element.prototype)) {
- Object.defineProperty(Element.prototype, "remove",
- {
- value: function()
- {
- if (this.parentNode)
- this.parentNode.removeChild(this);
- }
- });
-}
-
Object.defineProperty(Element.prototype, "totalOffsetLeft",
{
get: function()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes