Index: Source/bindings/core/v8/WorkerScriptController.h |
diff --git a/Source/bindings/core/v8/WorkerScriptController.h b/Source/bindings/core/v8/WorkerScriptController.h |
index a947ec0e68004c81cb7249178e2039ce32aad344..8df1b75596e366df809fdb3cf1b863983b72839d 100644 |
--- a/Source/bindings/core/v8/WorkerScriptController.h |
+++ b/Source/bindings/core/v8/WorkerScriptController.h |
@@ -52,7 +52,9 @@ public: |
bool isExecutionForbidden() const; |
bool isExecutionTerminating() const; |
- void evaluate(const ScriptSourceCode&, RefPtrWillBeRawPtr<ErrorEvent>* = 0); |
+ |
+ // Returns true if the evaluation completed with no uncaught exception. |
+ bool evaluate(const ScriptSourceCode&, RefPtrWillBeRawPtr<ErrorEvent>* = 0); |
// Prevents future JavaScript execution. See |
// scheduleExecutionTermination, isExecutionForbidden. |