| 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);
|
|
|