Changeset 95592 in webkit
- Timestamp:
- Sep 20, 2011 6:48:50 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js
r94487 r95592 28 28 (function(){ 29 29 30 // Safari 5.1 lacks Function.prototype.bind. 31 if (!('bind' in Function.prototype)) { 32 Function.prototype.bind = function(thisObject) { 33 var method = this; 34 var boundArguments = [].concat(arguments).slice(1); 35 return function() { 36 return method.apply(thisObject, boundArguments.concat(arguments)); 37 } 38 } 39 } 40 30 41 base.asInteger = function(stringOrInteger) 31 42 { -
trunk/Tools/ChangeLog
r95588 r95592 1 2011-09-20 Adam Barth <abarth@webkit.org> 2 3 garden-o-matic doesn't work in Safari 5.1 because Safari 5.1 lacks Function.prototype.bind 4 https://bugs.webkit.org/show_bug.cgi?id=68495 5 6 Reviewed by Dimitri Glazkov. 7 8 This patch adds an implementation of Function.prototype.bind if the browser lacks one. 9 10 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/base.js: 11 1 12 2011-09-20 Eric Seidel <eric@webkit.org> 2 13
Note: See TracChangeset
for help on using the changeset viewer.