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

Unified Diff: LayoutTests/fast/dom/Geolocation/script-tests/timeout-over-max-of-unsigned.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-over-max-of-unsigned.js
diff --git a/LayoutTests/fast/dom/Geolocation/script-tests/timeout.js b/LayoutTests/fast/dom/Geolocation/script-tests/timeout-over-max-of-unsigned.js
similarity index 86%
copy from LayoutTests/fast/dom/Geolocation/script-tests/timeout.js
copy to LayoutTests/fast/dom/Geolocation/script-tests/timeout-over-max-of-unsigned.js
index 77b11a20f554da4aa1e7421872544fa54664aec3..e934d3ad85ce2de79b2bbfac4a6693063038b1fa 100644
--- a/LayoutTests/fast/dom/Geolocation/script-tests/timeout.js
+++ b/LayoutTests/fast/dom/Geolocation/script-tests/timeout-over-max-of-unsigned.js
@@ -1,4 +1,4 @@
-description("Tests that when timeout is non-zero, the success callback is called as expected.");
+description("Tests that when timeout value is over maximum of unsigned, the success callback is called as expected.");
var mockLatitude = 51.478;
var mockLongitude = -0.166;
@@ -25,7 +25,7 @@ navigator.geolocation.getCurrentPosition(function(p) {
testFailed('Error callback invoked unexpectedly');
finishJSTest();
}, {
- timeout: 1000
+ timeout: 4294967296
});
window.jsTestIsAsync = true;

Powered by Google App Engine
This is Rietveld 408576698