Index: test/debugger/debug/regress/regress-crbug-465298.js |
diff --git a/test/mjsunit/regress/regress-crbug-465298.js b/test/debugger/debug/regress/regress-crbug-465298.js |
similarity index 87% |
rename from test/mjsunit/regress/regress-crbug-465298.js |
rename to test/debugger/debug/regress/regress-crbug-465298.js |
index 0c5ab56c7abd88c51126433f5d774eee8a75cd25..7ccdcd882f550f85ff704aed7c0f1c6894f1e03b 100644 |
--- a/test/mjsunit/regress/regress-crbug-465298.js |
+++ b/test/debugger/debug/regress/regress-crbug-465298.js |
@@ -2,13 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --noturbo-osr --noturbo-inlining --expose-debug-as debug |
+// Flags: --noturbo-osr --noturbo-inlining |
var stdlib = this; |
var buffer = new ArrayBuffer(64 * 1024); |
var foreign = { thrower: thrower, debugme: debugme } |
-// Get the Debug object exposed from the debug context global object. |
Debug = debug.Debug; |
var listenerCalled = false; |
@@ -16,7 +15,7 @@ function listener(event, exec_state, event_data, data) { |
try { |
if (event == Debug.DebugEvent.Break) { |
var frame = exec_state.frame(1); |
- assertEquals(m.foo, frame.func().value()); |
+ assertEquals("foo", frame.func().name()); |
listenerCalled = true; |
} |
} catch (e) { |