chromium/third_party/blink/web_tests/http/tests/inspector-protocol/emulation/pressure-override-update-not-overridden.js

(async function(/** @type {import('test_runner').TestRunner} */ testRunner) {
  const {page, session, dp} = await testRunner.startBlank(
      'Tests setPressureStateOverride fails if pressure source is not overridden');

  testRunner.expectedError(
      'Setting state override fails',
      await dp.Emulation.setPressureStateOverride({
        source: 'cpu',
        state: 'critical',
      }));

  testRunner.completeTest();
});