Tests Runtime.terminateExecution Terminate first evaluation (it forces injected-script-source compilation) { id : result : { } } { error : { code : -32000 message : Execution was terminated } id : } Checks that we reset termination after evaluation { description : 42 type : number value : 42 } { id : result : { result : { type : undefined } } } Terminate evaluation when injected-script-source already compiled { id : result : { } } { error : { code : -32000 message : Execution was terminated } id : } Terminate script evaluated with v8 API { id : result : { } } Terminate chained callback Pause inside microtask and terminate execution { id : result : { } } { type : string value : separate eval after while(true) } { id : result : { result : { type : undefined } } } Terminate execution with pending microtasks { id : result : { } } Terminate execution does not crash on destroy