Bug 25441

Summary: setTimeout should stringify non-string/non-function first arguments
Product: WebKit Reporter: Sam Weinig <sam>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: data:text/html,<script>setTimeout({ toString: function() { alert("PASS"); } }, 0);</script>

Sam Weinig
Reported 2009-04-28 00:08:26 PDT
Per WebIDL, setTimeout should stringify non-string/non-function first arguments.
Attachments
Mark Rowe (bdash)
Comment 1 2009-04-28 12:08:48 PDT
*** This bug has been marked as a duplicate of 25440 ***
Note You need to log in before you can comment on or make changes to this bug.