MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / error

Function error

common/src/web/html5/geolocation.js:9–12  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

7}
8
9function error(msg) {
10 var message = document.getElementById("status");
11 message.innerHTML = "Failed to get geolocation.";
12}
13
14if (navigator.geolocation) {
15 navigator.geolocation.getCurrentPosition(success, error);

Callers 1

geolocation.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected