Bug 25441
| Summary: | setTimeout should stringify non-string/non-function first arguments | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | WebCore JavaScript | Assignee: | 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
Per WebIDL, setTimeout should stringify non-string/non-function first arguments.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
*** This bug has been marked as a duplicate of 25440 ***