Changeset 47404 in webkit for trunk/JavaScriptCore/tests


Ignore:
Timestamp:
Aug 17, 2009, 6:00:12 PM (16 years ago)
Author:
[email protected]
Message:

REGRESSION (r47292): Prototype.js is broken by ES5 Arguments changes
https://bugs.webkit.org/show_bug.cgi?id=28341
<rdar://problem/7145615>

RS=Mark Rowe

Reverting r47292. Alas Prototype.js breaks with Arguments inheriting
from Array as ES5 attempted. Prototype.js defines $A in terms of a
function it places on (among other global objects) the Array prototype,
thus breaking $A for arrays.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/tests/mozilla/ecma_3/Function/arguments-001.js

    r47292 r47404  
    5050
    5151actual = a instanceof Array;
    52 expect = true;
     52expect = false;
    5353addThis();
    5454
    5555actual = a.length;
    56 expect = 0;
     56expect = undefined;
    5757addThis();
    5858
     
    6666
    6767actual = a instanceof Array;
    68 expect = true;
     68expect = false;
    6969addThis();
    7070
    7171actual = a.length;
    72 expect = 0;
     72expect = undefined;
    7373addThis();
    7474
Note: See TracChangeset for help on using the changeset viewer.