Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Side by Side Diff: LayoutTests/fast/dom/Geolocation/invalid-internals-arguments-no-crash-expected.txt

Issue 925953003: Make Geolocation internal test methods more resilient. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 iframe.internals.setGeolocationClientMock(iframe.document) is undefined.
12 PASS iframe.internals.setGeolocationPosition(iframe.document, 1, 2, 3) is undefi ned.
13 PASS iframe.internals.setGeolocationPermission(iframe.document, true) is undefin ed.
14 PASS iframe.internals.setGeolocationPositionUnavailableError(iframe.document, 'n ot available') is undefined.
15 PASS iframe.internals.numberOfPendingGeolocationPermissionRequests(iframe.docume nt) is -1
16 PASS successfullyParsed is true
17
18 TEST COMPLETE
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698