OLD | NEW |
| (Empty) |
1 Verify that using invalid or detached documents on internal test methods does no
t crash. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 PASS internals.setGeolocationClientMock(null); threw exception TypeError: Failed
to execute 'setGeolocationClientMock' on 'Internals': parameter 1 is not of typ
e 'Document'.. | |
7 PASS internals.setGeolocationPosition(null, 1, 2, 3); threw exception TypeError:
Failed to execute 'setGeolocationPosition' on 'Internals': parameter 1 is not o
f type 'Document'.. | |
8 PASS internals.setGeolocationPermission(window.notThere, true); threw exception
TypeError: Failed to execute 'setGeolocationPermission' on 'Internals': paramete
r 1 is not of type 'Document'.. | |
9 PASS internals.setGeolocationPositionUnavailableError(null, 'not available'); th
rew exception TypeError: Failed to execute 'setGeolocationPositionUnavailableErr
or' on 'Internals': parameter 1 is not of type 'Document'.. | |
10 PASS internals.numberOfPendingGeolocationPermissionRequests(null) threw exceptio
n TypeError: Failed to execute 'numberOfPendingGeolocationPermissionRequests' on
'Internals': parameter 1 is not of type 'Document'.. | |
11 PASS iframeInternals.setGeolocationClientMock(iframe.document) is undefined. | |
12 PASS iframeInternals.setGeolocationPosition(iframe.document, 1, 2, 3) is undefin
ed. | |
13 PASS iframeInternals.setGeolocationPermission(iframe.document, true) is undefine
d. | |
14 PASS iframeInternals.setGeolocationPositionUnavailableError(iframe.document, 'no
t available') is undefined. | |
15 PASS iframeInternals.numberOfPendingGeolocationPermissionRequests(iframe.documen
t) is -1 | |
16 PASS successfullyParsed is true | |
17 | |
18 TEST COMPLETE | |
19 | |
OLD | NEW |