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

Unified Diff: test/mjsunit/debug-liveedit-restart-frame.js

Issue 1247363002: Remove RestartFrame from live edit API (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/liveedit-debugger.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/debug-liveedit-restart-frame.js
diff --git a/test/mjsunit/debug-liveedit-restart-frame.js b/test/mjsunit/debug-liveedit-restart-frame.js
index d978a9709fb0f7d394b9377d93b65c1fba1109c4..a3182d7bfa55a976899a37e7e360e2d7119e301f 100644
--- a/test/mjsunit/debug-liveedit-restart-frame.js
+++ b/test/mjsunit/debug-liveedit-restart-frame.js
@@ -97,8 +97,9 @@ function TestCase(test_scenario, expected_output) {
return;
}
var frame = FindCallFrame(exec_state, change_code);
- // Throws if fails.
- Debug.LiveEdit.RestartFrame(frame);
+ var error = frame.restart();
+ if (typeof error === 'string')
+ throw new Error(error);
}
}
« no previous file with comments | « src/liveedit-debugger.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698