-
http://bugzilla.opendarwin.org/show_bug.cgi?id=3970ggaren authored
throw statements fail inside eval statements Reviewed by mjs. * kjs/function.cpp: (KJS::GlobalFuncImp::call): Big change since I fixed the tabbing. The important part is: if (c.complType() == Throw) exec->setException(c.value()); * kjs/nodes.cpp: (ThrowNode::execute): removed duplicate KJS_CHECKEXCEPTION (TryNode::execute): try now clears the exception state before the finally block executes, and checks the state after the block executes, so that exceptions in finally code get caught. * tests/mozilla/expected.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@9767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
277d8507