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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Geolocation/invalid-internals-arguments-no-crash-expected.txt

Issue 1948033003: Convert most geolocation layout tests to use a JS mock implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-disconnect
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/Geolocation/invalid-internals-arguments-no-crash-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/invalid-internals-arguments-no-crash-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/invalid-internals-arguments-no-crash-expected.txt
deleted file mode 100644
index af9af50209809a0d5e53a7ccb9d63eeaec7961e2..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/invalid-internals-arguments-no-crash-expected.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-Verify that using invalid or detached documents on internal test methods does not crash.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS internals.setGeolocationClientMock(null); threw exception TypeError: Failed to execute 'setGeolocationClientMock' on 'Internals': parameter 1 is not of type 'Document'..
-PASS internals.setGeolocationPosition(null, 1, 2, 3); threw exception TypeError: Failed to execute 'setGeolocationPosition' on 'Internals': parameter 1 is not of type 'Document'..
-PASS internals.setGeolocationPermission(window.notThere, true); threw exception TypeError: Failed to execute 'setGeolocationPermission' on 'Internals': parameter 1 is not of type 'Document'..
-PASS internals.setGeolocationPositionUnavailableError(null, 'not available'); threw exception TypeError: Failed to execute 'setGeolocationPositionUnavailableError' on 'Internals': parameter 1 is not of type 'Document'..
-PASS internals.numberOfPendingGeolocationPermissionRequests(null) threw exception TypeError: Failed to execute 'numberOfPendingGeolocationPermissionRequests' on 'Internals': parameter 1 is not of type 'Document'..
-PASS iframeInternals.setGeolocationClientMock(iframe.document) is undefined.
-PASS iframeInternals.setGeolocationPosition(iframe.document, 1, 2, 3) is undefined.
-PASS iframeInternals.setGeolocationPermission(iframe.document, true) is undefined.
-PASS iframeInternals.setGeolocationPositionUnavailableError(iframe.document, 'not available') is undefined.
-PASS iframeInternals.numberOfPendingGeolocationPermissionRequests(iframe.document) is -1
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698