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

Unified Diff: test/debugger/debug/debug-scripts-throw.js

Issue 2497973002: [debug-wrapper] Further extend the debug wrapper (Closed)
Patch Set: Address comments Created 4 years, 1 month 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 | « test/debugger/debug/debug-multiple-var-decl.js ('k') | test/debugger/debug/debug-step.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/debugger/debug/debug-scripts-throw.js
diff --git a/test/mjsunit/debug-scripts-throw.js b/test/debugger/debug/debug-scripts-throw.js
similarity index 61%
rename from test/mjsunit/debug-scripts-throw.js
rename to test/debugger/debug/debug-scripts-throw.js
index ee7cbd335b32cb6bb436da3bbbde36bebf65e700..e703f49054350fb6972ea7a3a65622617dbc499c 100644
--- a/test/mjsunit/debug-scripts-throw.js
+++ b/test/debugger/debug/debug-scripts-throw.js
@@ -2,13 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --expose-debug-as debug
-// Get the Debug object exposed from the debug context global object.
Debug = debug.Debug;
+Debug.disable();
assertThrows("Debug.scripts()");
-Debug.setListener(function(){});
+Debug.enable();
assertDoesNotThrow("Debug.scripts()");
-Debug.setListener(null);
« no previous file with comments | « test/debugger/debug/debug-multiple-var-decl.js ('k') | test/debugger/debug/debug-step.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698