Geolocation API Test Suite

A Zip archive of all the files is also available.


This page links to a series of test cases for the W3C Geolocation API Specification. It is organised by section, and (more or less) categorizes each test according to which statement in the specification it relates to.


The tests are designed to be run manually, mostly because the specification expects user interaction for allowing the browser to access location information.


4 Security and privacy considerations

4.1 Privacy considerations for implementors of the Geolocation API

5 API Description

5.1 Geolocation interface

5.2 PositionOptions interface

5.3 Position interface

5.4 Coordinates interface

5.5 PositionError interface

Please send feedback, error reports, or new tests to