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

Side by Side Diff: src/inspector/debugger_script_externs.js

Issue 2427633002: Revert of [debug] Consistently use script from FrameMirror (Closed)
Patch Set: 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** @typedef {{ 5 /** @typedef {{
6 type: string, 6 type: string,
7 object: !Object, 7 object: !Object,
8 name: (string|undefined), 8 name: (string|undefined),
9 startLocation: (!RawLocation|undefined), 9 startLocation: (!RawLocation|undefined),
10 endLocation: (!RawLocation|undefined) 10 endLocation: (!RawLocation|undefined)
(...skipping 26 matching lines...) Expand all
37 functionName: string, 37 functionName: string,
38 location: !RawLocation, 38 location: !RawLocation,
39 this: !Object, 39 this: !Object,
40 scopeChain: !Array<!Scope>, 40 scopeChain: !Array<!Scope>,
41 functionLocation: (RawLocation|undefined), 41 functionLocation: (RawLocation|undefined),
42 returnValue: (*|undefined) 42 returnValue: (*|undefined)
43 }} */ 43 }} */
44 var JavaScriptCallFrameDetails; 44 var JavaScriptCallFrameDetails;
45 45
46 /** @typedef {{ 46 /** @typedef {{
47 sourceID: function():(number), 47 sourceID: function():(number|undefined),
48 line: function():number, 48 line: function():number,
49 column: function():number, 49 column: function():number,
50 thisObject: !Object, 50 thisObject: !Object,
51 evaluate: function(string):*, 51 evaluate: function(string):*,
52 restart: function():undefined, 52 restart: function():undefined,
53 setVariableValue: function(number, string, *):undefined, 53 setVariableValue: function(number, string, *):undefined,
54 isAtReturn: boolean, 54 isAtReturn: boolean,
55 details: function():!JavaScriptCallFrameDetails 55 details: function():!JavaScriptCallFrameDetails
56 }} */ 56 }} */
57 var JavaScriptCallFrame; 57 var JavaScriptCallFrame;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 /** @interface */ 282 /** @interface */
283 function FrameDetails() {} 283 function FrameDetails() {}
284 284
285 /** @return {!Object} */ 285 /** @return {!Object} */
286 FrameDetails.prototype.receiver = function() {} 286 FrameDetails.prototype.receiver = function() {}
287 287
288 /** @return {function()} */ 288 /** @return {function()} */
289 FrameDetails.prototype.func = function() {} 289 FrameDetails.prototype.func = function() {}
290 290
291 /** @return {!Object} */
292 FrameDetails.prototype.script = function() {}
293
294 /** @return {boolean} */ 291 /** @return {boolean} */
295 FrameDetails.prototype.isAtReturn = function() {} 292 FrameDetails.prototype.isAtReturn = function() {}
296 293
297 /** @return {number} */ 294 /** @return {number} */
298 FrameDetails.prototype.sourcePosition = function() {} 295 FrameDetails.prototype.sourcePosition = function() {}
299 296
300 /** @return {*} */ 297 /** @return {*} */
301 FrameDetails.prototype.returnValue = function() {} 298 FrameDetails.prototype.returnValue = function() {}
302 299
303 /** @return {number} */ 300 /** @return {number} */
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 459
463 /** 460 /**
464 * @param {boolean=} ignoreNestedScopes 461 * @param {boolean=} ignoreNestedScopes
465 * @return {!Array<!ScopeMirror>} 462 * @return {!Array<!ScopeMirror>}
466 */ 463 */
467 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {} 464 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {}
468 465
469 /** @return {!FrameDetails} */ 466 /** @return {!FrameDetails} */
470 FrameMirror.prototype.details = function() {} 467 FrameMirror.prototype.details = function() {}
471 468
472 /** @return {!ScriptMirror} */
473 FrameMirror.prototype.script = function() {}
474
475 /** 469 /**
476 * @param {string} source 470 * @param {string} source
477 * @param {boolean} disableBreak 471 * @param {boolean} disableBreak
478 */ 472 */
479 FrameMirror.prototype.evaluate = function(source, disableBreak) {} 473 FrameMirror.prototype.evaluate = function(source, disableBreak) {}
480 474
481 FrameMirror.prototype.restart = function() {} 475 FrameMirror.prototype.restart = function() {}
482 476
483 /** @param {number} index */ 477 /** @param {number} index */
484 FrameMirror.prototype.scope = function(index) {} 478 FrameMirror.prototype.scope = function(index) {}
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} 513 ScopeMirror.prototype.setVariableValue = function(name, newValue) {}
520 514
521 /** 515 /**
522 * @interface 516 * @interface
523 * @extends {Mirror} 517 * @extends {Mirror}
524 */ 518 */
525 function ContextMirror() {} 519 function ContextMirror() {}
526 520
527 /** @return {string|undefined} */ 521 /** @return {string|undefined} */
528 ContextMirror.prototype.data = function() {} 522 ContextMirror.prototype.data = function() {}
OLDNEW
« 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