blob: 8be3928c432c33bd91612c0b33089afea028dc6c [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