mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Merge backout of changeset f905520076db (Bug 497053, patch to fix random orange) because it seems to have made the random orange significantly worse.
This commit is contained in:
commit
6411fea42a
@ -83,7 +83,6 @@ function setPosition(params)
|
||||
|
||||
function handleRequest(request, response)
|
||||
{
|
||||
dump("GEOLOCATION_DEBUG: sjs queryString: " + request.queryString + "\n");
|
||||
var params = parseQueryString(request.queryString);
|
||||
|
||||
controlResponse(params);
|
||||
|
@ -42,15 +42,15 @@ function errorCallback(err) {
|
||||
|
||||
|
||||
var options = {
|
||||
maximumAge: 0,
|
||||
timeout: 10
|
||||
maximumAge: 1,
|
||||
timeout: 100
|
||||
};
|
||||
|
||||
navigator.geolocation.watchPosition(successCallback,
|
||||
errorCallback,
|
||||
options);
|
||||
|
||||
setTimeout(clickNotificationButton, 100, kAcceptButton);
|
||||
setTimeout(clickNotificationButton, 10, kAcceptButton);
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
|
Loading…
Reference in New Issue
Block a user