chromium/third_party/blink/web_tests/http/tests/inspector-protocol/device-orientation/clear-override-without-setting.js

(async function(testRunner) {
  const {page, session, dp} = await testRunner.startBlank(
      'Tests that ClearDeviceOrientationOverride() works without SetDeviceOrientationOverride()');

  await dp.Browser.grantPermissions(
      {origin: location.origin, permissions: ['sensors']});

  testRunner.expectedSuccess(
      'ClearDeviceOrientationOverride() works',
      await dp.DeviceOrientation.clearDeviceOrientationOverride());

  testRunner.completeTest();
})