diff options
Diffstat (limited to 'deps/v8/test/mjsunit/debug-liveedit-restart-frame.js')
-rw-r--r-- | deps/v8/test/mjsunit/debug-liveedit-restart-frame.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/debug-liveedit-restart-frame.js b/deps/v8/test/mjsunit/debug-liveedit-restart-frame.js index d978a9709f..a3182d7bfa 100644 --- a/deps/v8/test/mjsunit/debug-liveedit-restart-frame.js +++ b/deps/v8/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); } } |