Title: [158440] trunk/Source/WebInspectorUI
- Revision
- 158440
- Author
- grao...@apple.com
- Date
- 2013-11-01 11:13:42 -0700 (Fri, 01 Nov 2013)
Log Message
Remove custom Function.prototype.bind() in favor of native version
https://bugs.webkit.org/show_bug.cgi?id=123608
Reviewed by Joseph Pecoraro.
* UserInterface/Utilities.js:
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (158439 => 158440)
--- trunk/Source/WebInspectorUI/ChangeLog 2013-11-01 18:06:08 UTC (rev 158439)
+++ trunk/Source/WebInspectorUI/ChangeLog 2013-11-01 18:13:42 UTC (rev 158440)
@@ -1,5 +1,14 @@
2013-11-01 Antoine Quint <grao...@apple.com>
+ Remove custom Function.prototype.bind() in favor of native version
+ https://bugs.webkit.org/show_bug.cgi?id=123608
+
+ Reviewed by Joseph Pecoraro.
+
+ * UserInterface/Utilities.js:
+
+2013-11-01 Antoine Quint <grao...@apple.com>
+
Error trying to serialize a color created without an alpha component to RGBA or HSLA
https://bugs.webkit.org/show_bug.cgi?id=123623
Modified: trunk/Source/WebInspectorUI/UserInterface/Utilities.js (158439 => 158440)
--- trunk/Source/WebInspectorUI/UserInterface/Utilities.js 2013-11-01 18:06:08 UTC (rev 158439)
+++ trunk/Source/WebInspectorUI/UserInterface/Utilities.js 2013-11-01 18:13:42 UTC (rev 158440)
@@ -23,21 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-if (!("bind" in Function.prototype)) {
- Object.defineProperty(Function.prototype, "bind",
- {
- value: function(thisObject)
- {
- var func = this;
- var args = Array.prototype.slice.call(arguments, 1);
- return function bound()
- {
- return func.apply(thisObject, args.concat(Array.prototype.slice.call(arguments, 0)));
- };
- }
- });
-}
-
Object.defineProperty(Object, "shallowCopy",
{
value: function(object)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes