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

Unified Diff: LayoutTests/fast/dom/Geolocation/script-tests/timeout-negative.js

Issue 285673002: Change value type of timeout and maximumAge in PositionOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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: LayoutTests/fast/dom/Geolocation/script-tests/timeout-negative.js
diff --git a/LayoutTests/fast/dom/Geolocation/script-tests/timeout-zero.js b/LayoutTests/fast/dom/Geolocation/script-tests/timeout-negative.js
similarity index 78%
copy from LayoutTests/fast/dom/Geolocation/script-tests/timeout-zero.js
copy to LayoutTests/fast/dom/Geolocation/script-tests/timeout-negative.js
index 0a7960d3e507e03e899d2a47ed52ad5a843a44b0..137bc8e27dbc7746129c98e5c959a775d99274bb 100644
--- a/LayoutTests/fast/dom/Geolocation/script-tests/timeout-zero.js
+++ b/LayoutTests/fast/dom/Geolocation/script-tests/timeout-negative.js
@@ -1,4 +1,4 @@
-description("Tests that when timeout is zero (and maximumAge is too), the error callback is called immediately with code TIMEOUT.");
+description("Tests that when timeout is negative (and maximumAge is too), the error callback is called immediately with code TIMEOUT.");
if (!window.testRunner || !window.internals)
debug('This test can not run without testRunner or internals');
@@ -16,7 +16,8 @@ navigator.geolocation.getCurrentPosition(function(p) {
shouldBe('error.message', '"Timeout expired"');
finishJSTest();
}, {
- timeout: 0
+ timeout: -1000
});
window.jsTestIsAsync = true;
+

Powered by Google App Engine
This is Rietveld 408576698