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

Unified Diff: src/inspector/DebuggerScript.js

Issue 2354263003: [inspector] add presubmit.py to compile inspector-related scripts (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | src/inspector/InjectedScriptSource.js » ('j') | src/inspector/PRESUBMIT.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/DebuggerScript.js
diff --git a/src/inspector/DebuggerScript.js b/src/inspector/DebuggerScript.js
index 18beac0e03ceea0d897f7d584a6a38984c51eddd..98910d69df7167d0bb7e1ff8b9cd5b777cf6ec23 100644
--- a/src/inspector/DebuggerScript.js
+++ b/src/inspector/DebuggerScript.js
@@ -34,11 +34,12 @@
var DebuggerScript = {};
/** @enum */
-DebuggerScript.PauseOnExceptionsState = {
+const PauseOnExceptionsState = {
DontPauseOnExceptions: 0,
PauseOnAllExceptions: 1,
PauseOnUncaughtExceptions: 2
};
+DebuggerScript.PauseOnExceptionsState = PauseOnExceptionsState;
DebuggerScript._pauseOnExceptionsState = DebuggerScript.PauseOnExceptionsState.DontPauseOnExceptions;
Debug.clearBreakOnException();
@@ -422,7 +423,7 @@ DebuggerScript._frameMirrorToJSCallFrame = function(frameMirror)
var returnValue = isAtReturn ? frameDetails.returnValue() : undefined;
var scopeMirrors = frameMirror.allScopes(false);
- /** @type {!Array<ScopeType>} */
+ /** @type {!Array<number>} */
var scopeTypes = new Array(scopeMirrors.length);
/** @type {?Array<!Object>} */
var scopeObjects = new Array(scopeMirrors.length);
« no previous file with comments | « no previous file | src/inspector/InjectedScriptSource.js » ('j') | src/inspector/PRESUBMIT.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698