Fixed failure seen on buildbot (due to flaky test).
authorggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 May 2010 18:56:00 +0000 (18:56 +0000)
committerggaren@apple.com <ggaren@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 May 2010 18:56:00 +0000 (18:56 +0000)
commit62789834fa500bd76e1ca890d3e2181da84efb8a
treeeaf5e02cd7dd159bc54ed5e69f981da8aa057d09
parent66cc6dae5bb81375df868111ce18c5c830de2dea
Fixed failure seen on buildbot (due to flaky test).

Reviewed by Oliver Hunt.

Don't report an exception in a nested script evaluation -- just pass the
exception on to our caller. Our caller can decide to report the exception,
if it fully propagates -- but we don't want to report an exception that's
going to get caught.

* bindings/js/ScriptController.cpp:
(WebCore::ScriptController::ScriptController):
(WebCore::ScriptController::evaluateInWorld):
* bindings/js/ScriptController.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@59943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bindings/js/ScriptController.cpp
WebCore/bindings/js/ScriptController.h