chromium/third_party/blink/web_tests/http/tests/inspector-protocol/issues/deprecation-issue-delegated-ink-expected-improvement.js

(async function(/** @type {import('test_runner').TestRunner} */ testRunner) {
  const { session, dp } = await testRunner.startBlank(`Tests that deprecation issues are reported`);
  await dp.Audits.enable();
  const promise = dp.Audits.onceIssueAdded();
  // Update this to test different deprecated code if WebFeature::kRangeExpand is removed.
  session.evaluateAsync(`
      navigator.ink.requestPresenter().then(e => { console.log(e.expectedImprovement); });
  `);
  const result = await promise;
  testRunner.log(result.params, "Inspector issue: ");
  testRunner.completeTest();
})