|
Lines 40-46
test('navigator.geolocation.getCurrentPosition(null)', true);
a/LayoutTests/fast/dom/Geolocation/script-tests/argument-types.js_sec1
|
| 40 |
test('navigator.geolocation.getCurrentPosition({})', true); |
40 |
test('navigator.geolocation.getCurrentPosition({})', true); |
| 41 |
test('navigator.geolocation.getCurrentPosition(objectThrowingException)', true); |
41 |
test('navigator.geolocation.getCurrentPosition(objectThrowingException)', true); |
| 42 |
test('navigator.geolocation.getCurrentPosition(emptyFunction)', false); |
42 |
test('navigator.geolocation.getCurrentPosition(emptyFunction)', false); |
| 43 |
//test('navigator.geolocation.getCurrentPosition(Math.abs)', false); |
43 |
test('navigator.geolocation.getCurrentPosition(Math.abs)', false); |
|
|
44 |
test('navigator.geolocation.getCurrentPosition(layoutTestController.setGeolocationPermission)', false); |
| 44 |
test('navigator.geolocation.getCurrentPosition(true)', true); |
45 |
test('navigator.geolocation.getCurrentPosition(true)', true); |
| 45 |
test('navigator.geolocation.getCurrentPosition(42)', true); |
46 |
test('navigator.geolocation.getCurrentPosition(42)', true); |
| 46 |
test('navigator.geolocation.getCurrentPosition(Infinity)', true); |
47 |
test('navigator.geolocation.getCurrentPosition(Infinity)', true); |
|
Lines 52-58
test('navigator.geolocation.getCurrentPosition(emptyFunction, null)', false);
a/LayoutTests/fast/dom/Geolocation/script-tests/argument-types.js_sec2
|
| 52 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, {})', true); |
53 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, {})', true); |
| 53 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, objectThrowingException)', true); |
54 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, objectThrowingException)', true); |
| 54 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, emptyFunction)', false); |
55 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, emptyFunction)', false); |
| 55 |
//test('navigator.geolocation.getCurrentPosition(emptyFunction, Math.abs)', false); |
56 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, Math.abs)', false); |
|
|
57 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, layoutTestController.setGeolocationPermission)', false); |
| 56 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, true)', true); |
58 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, true)', true); |
| 57 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, 42)', true); |
59 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, 42)', true); |
| 58 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, Infinity)', true); |
60 |
test('navigator.geolocation.getCurrentPosition(emptyFunction, Infinity)', true); |