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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/maximum-age.js

Issue 2642873002: Moves mojo.define -> gin.define. (Closed)
Patch Set: rebaseline Created 3 years, 11 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/script-tests/maximum-age.js
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/maximum-age.js b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/maximum-age.js
index 60019fe1d84d0f78624b065e5f24133521678e61..1dde306f594dfe4f5bb0cc84a3227ebe8e3f377e 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/maximum-age.js
+++ b/third_party/WebKit/LayoutTests/fast/dom/Geolocation/script-tests/maximum-age.js
@@ -24,9 +24,6 @@ function checkError(e) {
shouldBe('error.message', 'mockMessage');
}
-if (!window.testRunner || !window.mojo)
- debug('This test can not run without testRunner or mojo');
-
geolocationServiceMock.then(mock => {
mock.setGeolocationPermission(true);
mock.setGeolocationPosition(mockLatitude, mockLongitude, mockAccuracy);

Powered by Google App Engine
This is Rietveld 408576698