chromium/third_party/blink/web_tests/external/wpt/geolocation/clearWatch_TypeError.https.html

<!DOCTYPE html>
<meta charset="utf-8" />
<title>Geolocation Test: clearWatch TypeError tests</title>
<link rel="help" href="http://www.w3.org/TR/geolocation-API/#clear-watch" />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
  for (const invalidId of [NaN, -1, 0, 1, 2147483648, Infinity, -Infinity]) {
    test(() => {
      navigator.geolocation.clearWatch(invalidId);
    }, `Test that calling clearWatch with invalid watch ID (${invalidId}) does not cause an exception`);
  }
</script>