forked from ariya/phantomjs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix try ... catch exception handling.
The hasHandler flag passed to JSC::Debugger::exception only applies to the current stack frame. It does not indicate if there are exception handlers in earlier stack frames. Therefore, we are saving the frame when an exception occurs, but only reporting the exception if it is still present once the stack has been fully unwound. http://code.google.com/p/phantomjs/issues/detail?id=166
- Loading branch information
1 parent
a48770c
commit 35e8c94
Showing
2 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters