HomeSort by relevance Sort by last modified time
    Searched refs:maximumAge (Results 1 - 6 of 6) sorted by null

  /external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/
maximum-age.js 1 description("Tests that the PositionOptions.maximumAge parameter is correctly applied.");
47 // The default maximumAge is zero, so we expect the updated position from the service.
61 // The maximumAge is non-zero, so we expect the cached position, not the error from the service.
68 }, {maximumAge: 1000});
72 // The default maximumAge is zero, so we expect the error from the service.
notimer-after-unload.js 13 {timeout: 0, maximumAge:0}
argument-types.js 97 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:undefined})', false);
98 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:null})', false);
99 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:{}})', false);
100 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:objectThrowingException})', true, 'Error: valueOf threw exception');
101 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:emptyFunction})', false);
102 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:true})', false);
103 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:42})', false);
104 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:Infinity})', false);
105 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:-Infinity})', false);
106 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {maximumAge:"string"})', false)
    [all...]
  /external/webkit/Source/WebCore/page/
PositionOptions.h 53 int maximumAge() const
Geolocation.cpp 411 if (!options->maximumAge())
414 return m_positionCache.cachedPosition()->timestamp() > currentTimeMillis - options->maximumAge();
  /external/webkit/Source/WebCore/platform/android/
GeolocationServiceAndroid.cpp 200 DOMTimeStamp maximumAge = convertSecondsToDOMTimeStamp(10 * 60); // 10 minutes
201 return currentTime - position1->timestamp() > maximumAge;

Completed in 571 milliseconds