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

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

Issue 2685483002: [debugger] expose side-effect free evaluate to inspector. (Closed)
Patch Set: add inspector test Created 3 years, 10 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') | src/inspector/java-script-call-frame.h » ('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 13 matching lines...) Expand all
24 this: !Object, 24 this: !Object,
25 scopeChain: !Array<!Scope>, 25 scopeChain: !Array<!Scope>,
26 functionLocation: (RawLocation|undefined), 26 functionLocation: (RawLocation|undefined),
27 returnValue: (*|undefined) 27 returnValue: (*|undefined)
28 }} */ 28 }} */
29 var JavaScriptCallFrameDetails; 29 var JavaScriptCallFrameDetails;
30 30
31 /** @typedef {{ 31 /** @typedef {{
32 contextId: function():number, 32 contextId: function():number,
33 thisObject: !Object, 33 thisObject: !Object,
34 evaluate: function(string):*, 34 evaluate: function(string, boolean):*,
35 restart: function():undefined, 35 restart: function():undefined,
36 setVariableValue: function(number, string, *):undefined, 36 setVariableValue: function(number, string, *):undefined,
37 isAtReturn: boolean, 37 isAtReturn: boolean,
38 details: function():!JavaScriptCallFrameDetails 38 details: function():!JavaScriptCallFrameDetails
39 }} */ 39 }} */
40 var JavaScriptCallFrame; 40 var JavaScriptCallFrame;
41 41
42 /** 42 /**
43 * @const 43 * @const
44 */ 44 */
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {} 344 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {}
345 345
346 /** @return {!FrameDetails} */ 346 /** @return {!FrameDetails} */
347 FrameMirror.prototype.details = function() {} 347 FrameMirror.prototype.details = function() {}
348 348
349 /** @return {!ScriptMirror} */ 349 /** @return {!ScriptMirror} */
350 FrameMirror.prototype.script = function() {} 350 FrameMirror.prototype.script = function() {}
351 351
352 /** 352 /**
353 * @param {string} source 353 * @param {string} source
354 * @param {boolean} throwOnSideEffect
354 */ 355 */
355 FrameMirror.prototype.evaluate = function(source) {} 356 FrameMirror.prototype.evaluate = function(source, throwOnSideEffect) {}
356 357
357 FrameMirror.prototype.restart = function() {} 358 FrameMirror.prototype.restart = function() {}
358 359
359 /** @param {number} index */ 360 /** @param {number} index */
360 FrameMirror.prototype.scope = function(index) {} 361 FrameMirror.prototype.scope = function(index) {}
361 362
362 363
363 /** 364 /**
364 * @interface 365 * @interface
365 * @extends {Mirror} 366 * @extends {Mirror}
(...skipping 29 matching lines...) Expand all
395 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} 396 ScopeMirror.prototype.setVariableValue = function(name, newValue) {}
396 397
397 /** 398 /**
398 * @interface 399 * @interface
399 * @extends {Mirror} 400 * @extends {Mirror}
400 */ 401 */
401 function ContextMirror() {} 402 function ContextMirror() {}
402 403
403 /** @return {string|undefined} */ 404 /** @return {string|undefined} */
404 ContextMirror.prototype.data = function() {} 405 ContextMirror.prototype.data = function() {}
OLDNEW
« no previous file with comments | « src/inspector/debugger-script.js ('k') | src/inspector/java-script-call-frame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698