blob: 377685c97001c588a5f379e7ac9190b309d084f0 [file] [log] [blame]
Tests how Geolocation handles receiving too few arguments.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS window.navigator.geolocation.getCurrentPosition() threw exception TypeError: Failed to execute 'getCurrentPosition' on 'Geolocation': 1 argument required, but only 0 present..
PASS window.navigator.geolocation.watchPosition() threw exception TypeError: Failed to execute 'watchPosition' on 'Geolocation': 1 argument required, but only 0 present..
PASS window.navigator.geolocation.clearWatch() threw exception TypeError: Failed to execute 'clearWatch' on 'Geolocation': 1 argument required, but only 0 present..
PASS successfullyParsed is true
TEST COMPLETE