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