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:
L. David Baron 2009-07-22 07:48:00 -04:00
commit 6411fea42a
2 changed files with 3 additions and 4 deletions

View File

@ -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);

View File

@ -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>