WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
17663
Wrong sequencing of argument list evaluation
https://bugs.webkit.org/show_bug.cgi?id=17663
Summary
Wrong sequencing of argument list evaluation
Maks Orlovich
Reported
2008-03-03 21:15:53 PST
Per 11.2.3, the argument list is evaluate right after evaluating the function, and before checking whether the result is actually and object and callable. Hence, the following must print "hi": <script> function bad() { throw "hi"; } try { var f = 42; f(bad()); } catch (e) { alert(e); } </script> JSC evaluates the argument list later down in the sequence.
Attachments
Add attachment
proposed patch, testcase, etc.
Cameron Zwarich (cpst)
Comment 1
2008-06-07 01:01:11 PDT
This was fixed by SquirrelFish, and I landed a test in
r34413
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug