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

Unified Diff: test/debugger/debug/regress/regress-crbug-465298.js

Issue 2505363002: [debug-wrapper] Adapt tests, breakpoint.actual_location (Closed)
Patch Set: Rebase 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
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) {
« no previous file with comments | « test/debugger/debug/regress/regress-crbug-424142.js ('k') | test/debugger/debug/regress/regress-crbug-487289.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698