Checks that restart frame fails for generator or async functions.

Check that an async function cannot be restarted.
Paused at (after evaluation):
    (async function asyncFn() {
      #debugger;
    })();

Pause stack:
  asyncFn:2 (canBeRestarted = false)

Restarting function "asyncFn" ...
Failed to restart function "asyncFn":
{
    code : -32000
    message : Restarting frame failed
}

Check that a generator function cannot be restarted.
Paused at (after evaluation):
      yield 10;
      #debugger;
      yield 20;

Pause stack:
  generatorFn:3 (canBeRestarted = false)

Restarting function "generatorFn" ...
Failed to restart function "generatorFn":
{
    code : -32000
    message : Restarting frame failed
}

Check that a function cannot be restarted when a generator function is on the stack above
Paused at (after evaluation):

    function breaker() { #debugger; }
    function* genFn() {

Pause stack:
  breaker:1 (canBeRestarted = true)
  genFn:4 (canBeRestarted = false)
  bar:10 (canBeRestarted = false)

Restarting function "bar" ...
Failed to restart function "bar":
{
    code : -32000
    message : Restarting frame failed
}
