Bug 18232
Summary: | Exceptions thrown in setTimeOut not reported correctly in Console | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeremy Moskovich <playmobil> |
Component: | WebCore JavaScript | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | ap |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 |
Jeremy Moskovich
Testcase:
setTimeout(function() {throw "Thrown from inside timeout";}, 10);
throw "Thrown from outside timeout";
Expected result:
After running the above code the console should show the following errors:
* "Thrown from outside timeout"
* "Thrown from inside timeout"
Actual Results:
The exception thrown from inside the timeout is displayed as "undefined" in the console.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
See also: bug 17470.
David Kilzer (:ddkilzer)
<rdar://problem/5908157>
Oliver Hunt
Fixed in r35253