chromium/third_party/blink/web_tests/inspector-protocol/memory/forcibly-purge-javascript-memory.js

(async function(/** @type {import('test_runner').TestRunner} */ 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();
})