Index: Source/core/inspector/InjectedScriptSource.js |
diff --git a/Source/core/inspector/InjectedScriptSource.js b/Source/core/inspector/InjectedScriptSource.js |
index d4d366d4fb37a7295c481aa3649d388adb629560..a20ae207b2c25df02f9bb8b3eb42b176e585744e 100644 |
--- a/Source/core/inspector/InjectedScriptSource.js |
+++ b/Source/core/inspector/InjectedScriptSource.js |
@@ -638,13 +638,9 @@ InjectedScript.prototype = { |
*/ |
_evaluateAndWrap: function(evalFunction, object, expression, objectGroup, isEvalOnCallFrame, injectCommandLineAPI, returnByValue, generatePreview, scopeChain) |
{ |
- try { |
- return { wasThrown: false, |
- result: this._wrapObject(this._evaluateOn(evalFunction, object, objectGroup, expression, isEvalOnCallFrame, injectCommandLineAPI, scopeChain), objectGroup, returnByValue, generatePreview), |
- __proto__: null }; |
- } catch (e) { |
- return this._createThrownValue(e, objectGroup); |
- } |
+ return { wasThrown: false, |
+ result: this._wrapObject(this._evaluateOn(evalFunction, object, objectGroup, expression, isEvalOnCallFrame, injectCommandLineAPI, scopeChain), objectGroup, returnByValue, generatePreview), |
+ __proto__: null }; |
}, |
/** |