Pass | Call getCurrentPosition without arguments, check that exception is thrown | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { navigator.geolocation.getCurrentPosition(); }")
at Test.<anonymous> ( /geolocation/getCurrentPosition_TypeError.https.html:11:3) |
|
Pass | Call getCurrentPosition with null success callback, check that exception is thrown | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { navigator.geolocation.getCurrentPosition(null); }")
at Test.<anonymous> ( /geolocation/getCurrentPosition_TypeError.https.html:18:3) |
|
Pass | Call getCurrentPosition with null success and error callbacks, check that exception is thrown | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { navigator.geolocation.getCurrentPosition(null, null); }")
at Test.<anonymous> ( /geolocation/getCurrentPosition_TypeError.https.html:25:3) |
|
Pass | Call getCurrentPosition() with wrong type for first argument. Exception expected. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { navigator.geolocation.getCurrentPosition(3); }")
at Test.<anonymous> ( /geolocation/getCurrentPosition_TypeError.https.html:32:3) |
|
Pass | Call getCurrentPosition() with wrong type for second argument. Exception expected. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { navigator.geolocation.getCurrentPosition(()=>{}, 4); }")
at Test.<anonymous> ( /geolocation/getCurrentPosition_TypeError.https.html:39:3) |
|
Pass | Call getCurrentPosition() with wrong type for third argument. Exception expected. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function() { navigator.geolocation.getCurrentPosition(()=>{}, ()=>{}, 4); }")
at Test.<anonymous> ( /geolocation/getCurrentPosition_TypeError.https.html:46:3) |
|
Pass | Calling getCurrentPosition() with a legacy event handler objects. | Asserts runPass | assert_throws_js(function "function TypeError() { [native code] }", function "function () { navigator.geolocation.getCurrentPosition({ handleEvent }); }")
at Test.<anonymous> ( /geolocation/getCurrentPosition_TypeError.https.html:53:3) | Pass | assert_throws_js(function "function TypeError() { [native code] }", function "function () { navigator.geolocation.getCurrentPosition(()=>{}, { handleEvent }); }")
at Test.<anonymous> ( /geolocation/getCurrentPosition_TypeError.https.html:57:3) |
|