28geolocation/
130 / 134 WPT subtests passing
- Failed
- 4
- Timed out
- 0
- Not run
- 0
- Test files
- 24
- Blocking files
- 0
Chrome none reported WPT subtests passing on the same files, none blocking, 24 without a result
Tests
24 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
PositionOptions.https.html 6 / 6 passingChrome —0 failedClean
6 passing subtests
- Set timeout and maximumAge to 0, check that timeout error raised (getCurrentPosition)
- Set timeout and maximumAge to 0, check that timeout error raised (watchPosition)
- Check that a negative timeout and maxAge values are clamped to 0 (getCurrentPosition)
- Check that a negative timeout and maxAge values are clamped to 0 (watchPosition)
- Call getCurrentPosition with wrong type for enableHighAccuracy. No exception expected.
- Call watchPosition with wrong type for enableHighAccuracy. No exception expected.
clearWatch_TypeError.https.html 7 / 7 passingChrome —0 failedClean
7 passing subtests
- Test that calling clearWatch with invalid watch ID (NaN) does not cause an exception
- Test that calling clearWatch with invalid watch ID (-1) does not cause an exception
- Test that calling clearWatch with invalid watch ID (0) does not cause an exception
- Test that calling clearWatch with invalid watch ID (1) does not cause an exception
- Test that calling clearWatch with invalid watch ID (2147483648) does not cause an exception
- Test that calling clearWatch with invalid watch ID (Infinity) does not cause an exception
- Test that calling clearWatch with invalid watch ID (-Infinity) does not cause an exception
disabled-by-permissions-policy.https.sub.html 3 / 3 passingChrome —0 failedClean
3 passing subtests
- Permissions-Policy header geolocation=() disallows the top-level document.
- Permissions-Policy header geolocation=() disallows same-origin iframes.
- Permissions-Policy header geolocation=() disallows cross-origin iframes.
enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- Permissions-Policy allow="geolocation" allows same-origin redirection
- Permissions-Policy allow="geolocation" disallows cross-origin redirection
enabled-by-permission-policy-attribute.https.sub.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- Permissions policy "geolocation" can be enabled in same-origin iframe using allow="geolocation" attribute
- Permissions policy "geolocation" can be enabled in cross-origin iframe using allow="geolocation" attribute
enabled-by-permissions-policy.https.sub.html 3 / 3 passingChrome —0 failedClean
3 passing subtests
- Permissions-Policy header geolocation=* allows the top-level document.
- Permissions-Policy header geolocation=* allows same-origin iframes.
- Permissions-Policy header geolocation=* allows cross-origin iframes.
enabled-on-self-origin-by-permissions-policy.https.sub.html 3 / 3 passingChrome —0 failedClean
3 passing subtests
- Permissions-Policy header geolocation=(self) allows the top-level document.
- Permissions-Policy header geolocation=(self) allows same-origin iframes.
- Permissions-Policy header geolocation=(self) disallows cross-origin iframes.
getCurrentPosition-accuracyMode-cache.https.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- A cached approximate position is not reused for a precise request
- A cached precise position is not reused for an approximate request
getCurrentPosition-accuracyMode.https.html 1 / 2 passingChrome —1 failedWith failures
- ¶
FAILgetCurrentPosition with accuracyMode: "approximate"
assert_equals: expected (object) null but got (number) 53
1 passing subtest
- getCurrentPosition with accuracyMode: "precise"
getCurrentPosition-error.https.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Tests Geolocation error callback
getCurrentPosition-success.https.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- getCurrentPosition called with success and error callbacks
- Error callback is nullable for getCurrentPosition().
getCurrentPosition_TypeError.https.html 7 / 7 passingChrome —0 failedClean
7 passing subtests
- Call getCurrentPosition without arguments, check that exception is thrown
- Call getCurrentPosition with null success callback, check that exception is thrown
- Call getCurrentPosition with null success and error callbacks, check that exception is thrown
- Call getCurrentPosition() with wrong type for first argument. Exception expected.
- Call getCurrentPosition() with wrong type for second argument. Exception expected.
- Call getCurrentPosition() with wrong type for third argument. Exception expected.
- Calling getCurrentPosition() with a legacy event handler objects.
getCurrentPosition_permission_deny.https.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- User denies access, check that error callback is called with correct code
heading-stationary.https.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- heading is null when stationary (speed is 0)
- heading has a value when moving (speed > 0)
idlharness.https.window.js 68 / 68 passingChrome —0 failedClean
68 passing subtests
- idl_test setup
- idl_test validation
- Partial interface Navigator: original interface defined
- Partial interface Navigator: member names are unique
- Partial interface Navigator[2]: member names are unique
- Partial interface mixin NavigatorID: member names are unique
- Navigator includes NavigatorID: member names are unique
- Navigator includes NavigatorLanguage: member names are unique
- Navigator includes NavigatorOnLine: member names are unique
- Navigator includes NavigatorContentUtils: member names are unique
- Navigator includes NavigatorCookies: member names are unique
- Navigator includes NavigatorPlugins: member names are unique
- Navigator includes NavigatorConcurrentHardware: member names are unique
- Geolocation interface: existence and properties of interface object
- Geolocation interface object length
- Geolocation interface object name
- Geolocation interface: existence and properties of interface prototype object
- Geolocation interface: existence and properties of interface prototype object's "constructor" property
- Geolocation interface: existence and properties of interface prototype object's @@unscopables property
- Geolocation interface: operation getCurrentPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions)
- Geolocation interface: operation watchPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions)
- Geolocation interface: operation clearWatch(long)
- Geolocation must be primary interface of navigator.geolocation
- Stringification of navigator.geolocation
- Geolocation interface: navigator.geolocation must inherit property "getCurrentPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions)" with the proper type
- Geolocation interface: calling getCurrentPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions) on navigator.geolocation with too few arguments must throw TypeError
- Geolocation interface: navigator.geolocation must inherit property "watchPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions)" with the proper type
- Geolocation interface: calling watchPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions) on navigator.geolocation with too few arguments must throw TypeError
- Geolocation interface: navigator.geolocation must inherit property "clearWatch(long)" with the proper type
- Geolocation interface: calling clearWatch(long) on navigator.geolocation with too few arguments must throw TypeError
- GeolocationPosition interface: existence and properties of interface object
- GeolocationPosition interface object length
- GeolocationPosition interface object name
- GeolocationPosition interface: existence and properties of interface prototype object
- GeolocationPosition interface: existence and properties of interface prototype object's "constructor" property
- GeolocationPosition interface: existence and properties of interface prototype object's @@unscopables property
- GeolocationPosition interface: attribute coords
- GeolocationPosition interface: attribute timestamp
- GeolocationPosition interface: operation toJSON()
- GeolocationCoordinates interface: existence and properties of interface object
- GeolocationCoordinates interface object length
- GeolocationCoordinates interface object name
- GeolocationCoordinates interface: existence and properties of interface prototype object
- GeolocationCoordinates interface: existence and properties of interface prototype object's "constructor" property
- GeolocationCoordinates interface: existence and properties of interface prototype object's @@unscopables property
- GeolocationCoordinates interface: attribute accuracy
- GeolocationCoordinates interface: attribute latitude
- GeolocationCoordinates interface: attribute longitude
- GeolocationCoordinates interface: attribute altitude
- GeolocationCoordinates interface: attribute altitudeAccuracy
- GeolocationCoordinates interface: attribute heading
- GeolocationCoordinates interface: attribute speed
- GeolocationCoordinates interface: operation toJSON()
- GeolocationPositionError interface: existence and properties of interface object
- GeolocationPositionError interface object length
- GeolocationPositionError interface object name
- GeolocationPositionError interface: existence and properties of interface prototype object
- GeolocationPositionError interface: existence and properties of interface prototype object's "constructor" property
- GeolocationPositionError interface: existence and properties of interface prototype object's @@unscopables property
- GeolocationPositionError interface: constant PERMISSION_DENIED on interface object
- GeolocationPositionError interface: constant PERMISSION_DENIED on interface prototype object
- GeolocationPositionError interface: constant POSITION_UNAVAILABLE on interface object
- GeolocationPositionError interface: constant POSITION_UNAVAILABLE on interface prototype object
- GeolocationPositionError interface: constant TIMEOUT on interface object
- GeolocationPositionError interface: constant TIMEOUT on interface prototype object
- GeolocationPositionError interface: attribute code
- GeolocationPositionError interface: attribute message
- Navigator interface: attribute geolocation
non-fully-active.https.html 2 / 4 passingChrome —2 failedWith failures
- ¶
FAILwatchPosition calls errorCallback with POSITION_UNAVAILABLE for non-fully-active document
assert_false: errorCallback should be called expected false got undefined
- ¶
FAILgetCurrentPosition calls errorCallback with POSITION_UNAVAILABLE for non-fully-active document
assert_false: errorCallback should be called expected false got undefined
2 passing subtests
- watchPosition returns 0 for non-fully-active document
- re-attached document restores geolocation functionality
non-secure-context-https-iframe.http.sub.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- getCurrentPosition() in an https: iframe with allow="geolocation" in a non-secure context fails with PERMISSION_DENIED.
non-secure-contexts.http.html 4 / 4 passingChrome —0 failedClean
4 passing subtests
- When in a non-secure context, getCurrentPosition()'s errorCallback is asynchronously called.
- When in a non-secure context, watchPosition()'s errorCallback is asynchronously called.
- When in a non-secure context, the getCurrentPosition() errorCallBack gets a GeolocationPositionError with the correct error code.
- When in a non-secure context, the watchPosition() errorCallBack gets a GeolocationPositionError with the correct error code.
permission.https.html 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Query "geolocation" powerful feature
tojson.https.window.js 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Test toJSON() in GeolocationPosition and GeolocationCoordinates.
watchPosition-accuracyMode.https.html 1 / 2 passingChrome —1 failedWith failures
- ¶
FAILwatchPosition with accuracyMode: "approximate"
assert_equals: expected (object) null but got (number) 53
1 passing subtest
- watchPosition with accuracyMode: "precise"
watchPosition_TypeError.https.html 7 / 7 passingChrome —0 failedClean
7 passing subtests
- Call watchPosition without arguments, check that exception is thrown
- Call watchPosition with null success callback, check that exception is thrown
- Call watchPosition with null success and error callbacks, check that exception is thrown
- Call watchPosition() with wrong type for first argument. Exception expected.
- Call watchPosition() with wrong type for second argument. Exception expected.
- Call watchPosition() with wrong type for third argument. Exception expected.
- Calling watchPosition() with a legacy event handler object.
watchPosition_permission_deny.https.html 2 / 2 passingChrome —0 failedClean
2 passing subtests
- Check that watchPosition returns synchronously before any callbacks are invoked.
- User denies access, check that error callback is called.
watchposition-timeout.https.window.js 1 / 1 passingChrome —0 failedClean
1 passing subtest
- Passing timeout=1 should not cause multiple timeout errors