Revision dd3f71885bd5039f7ba6f357ac2a43fc510ee23f authored by Mike Pennisi on 23 December 2017, 00:01:51 UTC, committed by jgraham on 23 April 2018, 17:11:42 UTC
1 parent 18ee2b4
clearWatch_TypeError.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 src='support.js'></script>
<div id='log'></div>
<script>
// Rewrite http://dev.w3.org/geo/api/test-suite/t.html?00080
test(function() {
try {
geo.clearWatch(-1);
geo.clearWatch(0);
geo.clearWatch(1);
} catch(e) {
assert_unreached('An exception was thrown unexpectedly: ' + e.message);
}
}, 'Test that calling clearWatch with invalid watch IDs does not cause an exception');
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...