Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(636)

Unified Diff: Source/core/inspector/InjectedScriptCanvasModuleSource.js

Issue 289423002: DevTools: added injectedScript.evaluateWithDetails, that return exception details if it occured (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/inspector/InjectedScriptCanvasModuleSource.js
diff --git a/Source/core/inspector/InjectedScriptCanvasModuleSource.js b/Source/core/inspector/InjectedScriptCanvasModuleSource.js
index 848ddcadcb8d0c363a3eeca144fcfa88a07b7769..a93bbacbf430e6c0094667ed1244c239bb08cdb4 100644
--- a/Source/core/inspector/InjectedScriptCanvasModuleSource.js
+++ b/Source/core/inspector/InjectedScriptCanvasModuleSource.js
@@ -406,7 +406,7 @@ Call.prototype = {
{
return !this._functionName;
},
-
+
/**
* @return {!Array}
*/
@@ -532,7 +532,7 @@ Call.prototype = {
resource.setWrappedObject(replayResult);
}
}
-
+
this._thisObject = replayObject;
this._functionName = replayableCall.functionName();
this._args = replayArgs;
@@ -1701,7 +1701,7 @@ WebGLProgramResource.prototype = {
var originalProgram = /** @type {!WebGLProgram} */ (gl.getParameter(gl.CURRENT_PROGRAM));
var currentProgram = originalProgram;
-
+
data.uniforms.forEach(function(uniform) {
var uniformLocation = gl.getUniformLocation(program, uniform.name);
if (!uniformLocation)
@@ -4581,7 +4581,7 @@ InjectedCanvasModule.prototype = {
*/
_parseStringId: function(stringId)
{
- return InjectedScriptHost.evaluate("(" + stringId + ")");
+ return InjectedScriptHost.eval("(" + stringId + ")");
}
}
« no previous file with comments | « Source/bindings/core/v8/custom/V8JavaScriptCallFrameCustom.cpp ('k') | Source/core/inspector/InjectedScriptExterns.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698