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

Unified Diff: src/inspector/debugger_script_externs.js

Issue 2415073003: [debug] [reland] Consistently use script from FrameMirror (Closed)
Patch Set: address comments and minor other fixes Created 4 years, 2 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 | « src/inspector/debugger-script.js ('k') | test/inspector/debugger/asm-js-stack.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/debugger_script_externs.js
diff --git a/src/inspector/debugger_script_externs.js b/src/inspector/debugger_script_externs.js
index c7df61f3f49550bbc2087a9658a74e4e3af29661..87ebe44a4bb83f027c60e202e60b2cc5f426a9c5 100644
--- a/src/inspector/debugger_script_externs.js
+++ b/src/inspector/debugger_script_externs.js
@@ -44,7 +44,7 @@ var FormattedScript;
var JavaScriptCallFrameDetails;
/** @typedef {{
- sourceID: function():(number|undefined),
+ sourceID: function():(number),
line: function():number,
column: function():number,
thisObject: !Object,
@@ -288,6 +288,9 @@ FrameDetails.prototype.receiver = function() {}
/** @return {function()} */
FrameDetails.prototype.func = function() {}
+/** @return {!Object} */
+FrameDetails.prototype.script = function() {}
+
/** @return {boolean} */
FrameDetails.prototype.isAtReturn = function() {}
@@ -466,6 +469,9 @@ FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {}
/** @return {!FrameDetails} */
FrameMirror.prototype.details = function() {}
+/** @return {!ScriptMirror} */
+FrameMirror.prototype.script = function() {}
+
/**
* @param {string} source
* @param {boolean} disableBreak
« no previous file with comments | « src/inspector/debugger-script.js ('k') | test/inspector/debugger/asm-js-stack.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698