blob: 24e2f340eaacd275e05bd2ec1ada2685c178337d [file] [log] [blame]
(async function(testRunner) {
var {page, session, dp} = await testRunner.startBlank(
`Tests if forciblyPurgeJavascriptMemory destroys execution context.`);
dp.Runtime.enable();
dp.Memory.forciblyPurgeJavaScriptMemory();
await dp.Runtime.exectuionContextDestroyed();
testRunner.log("Execution context is destroyed.");
testRunner.completeTest();
})