Bug 27259 - REGRESSION(43559): fast/js/kde/arguments-scope.html fails with interpreter
Summary: REGRESSION(43559): fast/js/kde/arguments-scope.html fails with interpreter
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Oliver Hunt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 06:22 PDT by Simon Hausmann
Modified: 2009-07-15 02:59 PDT (History)
1 user (show)

See Also:


Attachments
Patch o doom (1.58 KB, patch)
2009-07-15 02:50 PDT, Oliver Hunt
hausmann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Hausmann 2009-07-14 06:22:38 PDT
After r43559 the fast/js/kde/arguments-scope.html layout test fails when JavaScriptCore is built without the JIT but the interpreter instead.

I used the following standalone testcase during bisection:

function test() {
    if (typeof(arguments) != 'function')
        print("FAIL")
    else
        print("PASS")
    function arguments() {}
}

test()


If "arguments" is renamed to for example "foo" then it passes.
Comment 1 Oliver Hunt 2009-07-15 02:50:21 PDT
Created attachment 32773 [details]
Patch o doom
Comment 2 Simon Hausmann 2009-07-15 02:56:38 PDT
Comment on attachment 32773 [details]
Patch o doom

r=me . thanks for quick fix :)
Comment 3 Oliver Hunt 2009-07-15 02:59:40 PDT
Committed r45903