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

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

Issue 2687013003: Revert of [debugger] expose side-effect free evaluate to inspector. (Closed)
Patch Set: 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, boolean):*, 34 evaluate: function(string):*,
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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {} 353 FrameMirror.prototype.allScopes = function(ignoreNestedScopes) {}
354 354
355 /** @return {!FrameDetails} */ 355 /** @return {!FrameDetails} */
356 FrameMirror.prototype.details = function() {} 356 FrameMirror.prototype.details = function() {}
357 357
358 /** @return {!ScriptMirror} */ 358 /** @return {!ScriptMirror} */
359 FrameMirror.prototype.script = function() {} 359 FrameMirror.prototype.script = function() {}
360 360
361 /** 361 /**
362 * @param {string} source 362 * @param {string} source
363 * @param {boolean} throwOnSideEffect
364 */ 363 */
365 FrameMirror.prototype.evaluate = function(source, throwOnSideEffect) {} 364 FrameMirror.prototype.evaluate = function(source) {}
366 365
367 FrameMirror.prototype.restart = function() {} 366 FrameMirror.prototype.restart = function() {}
368 367
369 /** @param {number} index */ 368 /** @param {number} index */
370 FrameMirror.prototype.scope = function(index) {} 369 FrameMirror.prototype.scope = function(index) {}
371 370
372 371
373 /** 372 /**
374 * @interface 373 * @interface
375 * @extends {Mirror} 374 * @extends {Mirror}
(...skipping 29 matching lines...) Expand all
405 ScopeMirror.prototype.setVariableValue = function(name, newValue) {} 404 ScopeMirror.prototype.setVariableValue = function(name, newValue) {}
406 405
407 /** 406 /**
408 * @interface 407 * @interface
409 * @extends {Mirror} 408 * @extends {Mirror}
410 */ 409 */
411 function ContextMirror() {} 410 function ContextMirror() {}
412 411
413 /** @return {string|undefined} */ 412 /** @return {string|undefined} */
414 ContextMirror.prototype.data = function() {} 413 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