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

Side by Side Diff: src/inspector/debugger-script.js

Issue 2580323002: [debug-wrapper] remove last uses of --expose-debug-as (Closed)
Patch Set: address comment Created 3 years, 12 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/debug/mirrors.js ('k') | src/inspector/debugger_script_externs.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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 var script = ensureScriptMirror(); 486 var script = ensureScriptMirror();
487 return script.id(); 487 return script.id();
488 } 488 }
489 489
490 /** 490 /**
491 * @param {string} expression 491 * @param {string} expression
492 * @return {*} 492 * @return {*}
493 */ 493 */
494 function evaluate(expression) 494 function evaluate(expression)
495 { 495 {
496 return frameMirror.evaluate(expression, false).value(); 496 return frameMirror.evaluate(expression).value();
497 } 497 }
498 498
499 /** @return {undefined} */ 499 /** @return {undefined} */
500 function restart() 500 function restart()
501 { 501 {
502 return frameMirror.restart(); 502 return frameMirror.restart();
503 } 503 }
504 504
505 /** 505 /**
506 * @param {number} scopeNumber 506 * @param {number} scopeNumber
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 break; 572 break;
573 } 573 }
574 return result; 574 return result;
575 } 575 }
576 576
577 // We never resolve Mirror by its handle so to avoid memory leaks caused by Mirr ors in the cache we disable it. 577 // We never resolve Mirror by its handle so to avoid memory leaks caused by Mirr ors in the cache we disable it.
578 ToggleMirrorCache(false); 578 ToggleMirrorCache(false);
579 579
580 return DebuggerScript; 580 return DebuggerScript;
581 })(); 581 })();
OLDNEW
« no previous file with comments | « src/debug/mirrors.js ('k') | src/inspector/debugger_script_externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698