blob: 4cc7830b95977e0cc14f81a8301a524eac8e3092 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../../../resources/js-test.js"></script>
<script>
description("Checks that the Geolocation interfaces are exposed and that their name is correct.");
const windowProperties = Object.getOwnPropertyNames(window);
const expectedProperties = ["Geolocation", "GeolocationCoordinates", "GeolocationPosition", "GeolocationPositionError"];
for (let expectedProperty of expectedProperties)
shouldBeTrue("windowProperties.indexOf('" + expectedProperty + "') >= 0");
</script>
</body>
</html>