chromium/third_party/blink/web_tests/inspector-protocol/memory/get-dom-counters-for-leak-detection.js

(async function(/** @type {import('test_runner').TestRunner} */ testRunner) {
  var {dp} = await testRunner.startBlank(
      `Tests getDOMCountersForLeakDetection output.`);

  const {result} = await dp.Memory.getDOMCountersForLeakDetection();

  for (const counter of result.counters) {
    testRunner.log(`${counter.name}=${counter.count}`);
  }

  testRunner.completeTest();
})