Title: [180916] trunk/Source/WebInspectorUI
Revision
180916
Author
commit-qu...@webkit.org
Date
2015-03-02 19:58:53 -0800 (Mon, 02 Mar 2015)

Log Message

Web Inspector: Remove native extensions now built-in
https://bugs.webkit.org/show_bug.cgi?id=142203

Patch by Joseph Pecoraro <pecor...@apple.com> on 2015-03-02
Reviewed by Timothy Hatcher.

* UserInterface/Base/Utilities.js:

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (180915 => 180916)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-03-03 03:29:41 UTC (rev 180915)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-03-03 03:58:53 UTC (rev 180916)
@@ -1,5 +1,14 @@
 2015-03-02  Joseph Pecoraro  <pecor...@apple.com>
 
+        Web Inspector: Remove native extensions now built-in
+        https://bugs.webkit.org/show_bug.cgi?id=142203
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Base/Utilities.js:
+
+2015-03-02  Joseph Pecoraro  <pecor...@apple.com>
+
         Web Inspector: Context Menu to Log a Particular Object
         https://bugs.webkit.org/show_bug.cgi?id=142198
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/Utilities.js (180915 => 180916)


--- trunk/Source/WebInspectorUI/UserInterface/Base/Utilities.js	2015-03-03 03:29:41 UTC (rev 180915)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/Utilities.js	2015-03-03 03:58:53 UTC (rev 180916)
@@ -584,25 +584,6 @@
     }
 });
 
-Object.defineProperty(String.prototype, "startsWith",
-{
-    value: function(string)
-    {
-        return this.lastIndexOf(string, 0) === 0;
-    }
-});
-
-Object.defineProperty(String.prototype, "endsWith",
-{
-    value: function(string)
-    {
-        var position = this.length - string.length;
-        if (position < 0)
-            return false;
-        return this.indexOf(string, position) === position;
-    }
-});
-
 Object.defineProperty(String.prototype, "hash",
 {
     get: function()
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to