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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html

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/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
index fc366bdf538e432e9686270854c0f1ab4f0f93d4..2f5c4208a2b1a04dc01dcce0a3402eacec838aac 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/old-powerful-features-on-insecure-origin.html
@@ -16,16 +16,6 @@ if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
if (!window.internals)
assert_unreached('window.internals is required for this test');
- var mockLatitude = 51.478;
- var mockLongitude = -0.166;
- var mockAccuracy = 100.0;
-
- internals.setGeolocationClientMock(document);
- internals.setGeolocationPermission(document, true);
- internals.setGeolocationPosition(document,
- mockLatitude,
- mockLongitude,
- mockAccuracy);
// Tests for APIs that are deprecated, but still allowed, on
// insecure origins

Powered by Google App Engine
This is Rietveld 408576698