| 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;
|
| +
|
|
|