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 here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
PositionOptions.https.html6 / 6 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
6 passing subtests
  1. Set timeout and maximumAge to 0, check that timeout error raised (getCurrentPosition)
  2. Set timeout and maximumAge to 0, check that timeout error raised (watchPosition)
  3. Check that a negative timeout and maxAge values are clamped to 0 (getCurrentPosition)
  4. Check that a negative timeout and maxAge values are clamped to 0 (watchPosition)
  5. Call getCurrentPosition with wrong type for enableHighAccuracy. No exception expected.
  6. Call watchPosition with wrong type for enableHighAccuracy. No exception expected.
clearWatch_TypeError.https.html7 / 7 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
7 passing subtests
  1. Test that calling clearWatch with invalid watch ID (NaN) does not cause an exception
  2. Test that calling clearWatch with invalid watch ID (-1) does not cause an exception
  3. Test that calling clearWatch with invalid watch ID (0) does not cause an exception
  4. Test that calling clearWatch with invalid watch ID (1) does not cause an exception
  5. Test that calling clearWatch with invalid watch ID (2147483648) does not cause an exception
  6. Test that calling clearWatch with invalid watch ID (Infinity) does not cause an exception
  7. Test that calling clearWatch with invalid watch ID (-Infinity) does not cause an exception
disabled-by-permissions-policy.https.sub.html3 / 3 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
3 passing subtests
  1. Permissions-Policy header geolocation=() disallows the top-level document.
  2. Permissions-Policy header geolocation=() disallows same-origin iframes.
  3. Permissions-Policy header geolocation=() disallows cross-origin iframes.
enabled-by-permission-policy-attribute-redirect-on-load.https.sub.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. Permissions-Policy allow="geolocation" allows same-origin redirection
  2. Permissions-Policy allow="geolocation" disallows cross-origin redirection
enabled-by-permission-policy-attribute.https.sub.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. Permissions policy "geolocation" can be enabled in same-origin iframe using allow="geolocation" attribute
  2. Permissions policy "geolocation" can be enabled in cross-origin iframe using allow="geolocation" attribute
enabled-by-permissions-policy.https.sub.html3 / 3 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
3 passing subtests
  1. Permissions-Policy header geolocation=* allows the top-level document.
  2. Permissions-Policy header geolocation=* allows same-origin iframes.
  3. Permissions-Policy header geolocation=* allows cross-origin iframes.
enabled-on-self-origin-by-permissions-policy.https.sub.html3 / 3 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
3 passing subtests
  1. Permissions-Policy header geolocation=(self) allows the top-level document.
  2. Permissions-Policy header geolocation=(self) allows same-origin iframes.
  3. Permissions-Policy header geolocation=(self) disallows cross-origin iframes.
getCurrentPosition-accuracyMode-cache.https.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. A cached approximate position is not reused for a precise request
  2. A cached precise position is not reused for an approximate request
getCurrentPosition-accuracyMode.https.html1 / 2 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILgetCurrentPosition with accuracyMode: "approximate"
    assert_equals: expected (object) null but got (number) 53
1 passing subtest
  1. getCurrentPosition with accuracyMode: "precise"
getCurrentPosition-error.https.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Tests Geolocation error callback
getCurrentPosition-success.https.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. getCurrentPosition called with success and error callbacks
  2. Error callback is nullable for getCurrentPosition().
getCurrentPosition_TypeError.https.html7 / 7 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
7 passing subtests
  1. Call getCurrentPosition without arguments, check that exception is thrown
  2. Call getCurrentPosition with null success callback, check that exception is thrown
  3. Call getCurrentPosition with null success and error callbacks, check that exception is thrown
  4. Call getCurrentPosition() with wrong type for first argument. Exception expected.
  5. Call getCurrentPosition() with wrong type for second argument. Exception expected.
  6. Call getCurrentPosition() with wrong type for third argument. Exception expected.
  7. Calling getCurrentPosition() with a legacy event handler objects.
getCurrentPosition_permission_deny.https.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. User denies access, check that error callback is called with correct code
heading-stationary.https.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. heading is null when stationary (speed is 0)
  2. heading has a value when moving (speed > 0)
idlharness.https.window.js68 / 68 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
68 passing subtests
  1. idl_test setup
  2. idl_test validation
  3. Partial interface Navigator: original interface defined
  4. Partial interface Navigator: member names are unique
  5. Partial interface Navigator[2]: member names are unique
  6. Partial interface mixin NavigatorID: member names are unique
  7. Navigator includes NavigatorID: member names are unique
  8. Navigator includes NavigatorLanguage: member names are unique
  9. Navigator includes NavigatorOnLine: member names are unique
  10. Navigator includes NavigatorContentUtils: member names are unique
  11. Navigator includes NavigatorCookies: member names are unique
  12. Navigator includes NavigatorPlugins: member names are unique
  13. Navigator includes NavigatorConcurrentHardware: member names are unique
  14. Geolocation interface: existence and properties of interface object
  15. Geolocation interface object length
  16. Geolocation interface object name
  17. Geolocation interface: existence and properties of interface prototype object
  18. Geolocation interface: existence and properties of interface prototype object's "constructor" property
  19. Geolocation interface: existence and properties of interface prototype object's @@unscopables property
  20. Geolocation interface: operation getCurrentPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions)
  21. Geolocation interface: operation watchPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions)
  22. Geolocation interface: operation clearWatch(long)
  23. Geolocation must be primary interface of navigator.geolocation
  24. Stringification of navigator.geolocation
  25. Geolocation interface: navigator.geolocation must inherit property "getCurrentPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions)" with the proper type
  26. Geolocation interface: calling getCurrentPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions) on navigator.geolocation with too few arguments must throw TypeError
  27. Geolocation interface: navigator.geolocation must inherit property "watchPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions)" with the proper type
  28. Geolocation interface: calling watchPosition(PositionCallback, optional PositionErrorCallback?, optional PositionOptions) on navigator.geolocation with too few arguments must throw TypeError
  29. Geolocation interface: navigator.geolocation must inherit property "clearWatch(long)" with the proper type
  30. Geolocation interface: calling clearWatch(long) on navigator.geolocation with too few arguments must throw TypeError
  31. GeolocationPosition interface: existence and properties of interface object
  32. GeolocationPosition interface object length
  33. GeolocationPosition interface object name
  34. GeolocationPosition interface: existence and properties of interface prototype object
  35. GeolocationPosition interface: existence and properties of interface prototype object's "constructor" property
  36. GeolocationPosition interface: existence and properties of interface prototype object's @@unscopables property
  37. GeolocationPosition interface: attribute coords
  38. GeolocationPosition interface: attribute timestamp
  39. GeolocationPosition interface: operation toJSON()
  40. GeolocationCoordinates interface: existence and properties of interface object
  41. GeolocationCoordinates interface object length
  42. GeolocationCoordinates interface object name
  43. GeolocationCoordinates interface: existence and properties of interface prototype object
  44. GeolocationCoordinates interface: existence and properties of interface prototype object's "constructor" property
  45. GeolocationCoordinates interface: existence and properties of interface prototype object's @@unscopables property
  46. GeolocationCoordinates interface: attribute accuracy
  47. GeolocationCoordinates interface: attribute latitude
  48. GeolocationCoordinates interface: attribute longitude
  49. GeolocationCoordinates interface: attribute altitude
  50. GeolocationCoordinates interface: attribute altitudeAccuracy
  51. GeolocationCoordinates interface: attribute heading
  52. GeolocationCoordinates interface: attribute speed
  53. GeolocationCoordinates interface: operation toJSON()
  54. GeolocationPositionError interface: existence and properties of interface object
  55. GeolocationPositionError interface object length
  56. GeolocationPositionError interface object name
  57. GeolocationPositionError interface: existence and properties of interface prototype object
  58. GeolocationPositionError interface: existence and properties of interface prototype object's "constructor" property
  59. GeolocationPositionError interface: existence and properties of interface prototype object's @@unscopables property
  60. GeolocationPositionError interface: constant PERMISSION_DENIED on interface object
  61. GeolocationPositionError interface: constant PERMISSION_DENIED on interface prototype object
  62. GeolocationPositionError interface: constant POSITION_UNAVAILABLE on interface object
  63. GeolocationPositionError interface: constant POSITION_UNAVAILABLE on interface prototype object
  64. GeolocationPositionError interface: constant TIMEOUT on interface object
  65. GeolocationPositionError interface: constant TIMEOUT on interface prototype object
  66. GeolocationPositionError interface: attribute code
  67. GeolocationPositionError interface: attribute message
  68. Navigator interface: attribute geolocation
non-fully-active.https.html2 / 4 passingChrome —2 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILwatchPosition calls errorCallback with POSITION_UNAVAILABLE for non-fully-active document
    assert_false: errorCallback should be called expected false got undefined
  2. FAILgetCurrentPosition calls errorCallback with POSITION_UNAVAILABLE for non-fully-active document
    assert_false: errorCallback should be called expected false got undefined
2 passing subtests
  1. watchPosition returns 0 for non-fully-active document
  2. re-attached document restores geolocation functionality
non-secure-context-https-iframe.http.sub.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. getCurrentPosition() in an https: iframe with allow="geolocation" in a non-secure context fails with PERMISSION_DENIED.
non-secure-contexts.http.html4 / 4 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
4 passing subtests
  1. When in a non-secure context, getCurrentPosition()'s errorCallback is asynchronously called.
  2. When in a non-secure context, watchPosition()'s errorCallback is asynchronously called.
  3. When in a non-secure context, the getCurrentPosition() errorCallBack gets a GeolocationPositionError with the correct error code.
  4. When in a non-secure context, the watchPosition() errorCallBack gets a GeolocationPositionError with the correct error code.
permission.https.html1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Query "geolocation" powerful feature
tojson.https.window.js1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Test toJSON() in GeolocationPosition and GeolocationCoordinates.
watchPosition-accuracyMode.https.html1 / 2 passingChrome —1 failedWith failures
Standing
With failures runner status OK
Chrome
no result in the reference run
  1. FAILwatchPosition with accuracyMode: "approximate"
    assert_equals: expected (object) null but got (number) 53
1 passing subtest
  1. watchPosition with accuracyMode: "precise"
watchPosition_TypeError.https.html7 / 7 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
7 passing subtests
  1. Call watchPosition without arguments, check that exception is thrown
  2. Call watchPosition with null success callback, check that exception is thrown
  3. Call watchPosition with null success and error callbacks, check that exception is thrown
  4. Call watchPosition() with wrong type for first argument. Exception expected.
  5. Call watchPosition() with wrong type for second argument. Exception expected.
  6. Call watchPosition() with wrong type for third argument. Exception expected.
  7. Calling watchPosition() with a legacy event handler object.
watchPosition_permission_deny.https.html2 / 2 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
2 passing subtests
  1. Check that watchPosition returns synchronously before any callbacks are invoked.
  2. User denies access, check that error callback is called.
watchposition-timeout.https.window.js1 / 1 passingChrome —0 failedClean
Standing
Clean runner status OK
Chrome
no result in the reference run
1 passing subtest
  1. Passing timeout=1 should not cause multiple timeout errors

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.