title: navigator.geolocation.getCurrentPosition not working with Firefox
body: <p>I have just started to find that navigator.geolocation.getCurrentPosition does not work with Firefox when I decline to reveal my location. I.e. it does not return with the error as it did before. It works fine on Safari and Chrome but not Firefox 33.1</p>
  
  <p>I can see this problem when running the w3schools example code (<a href="http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation_error" rel="nofollow">http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_geolocation_error</a>) which is as follows:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;p&gt;Click the button to get your coordinates.&lt;/p&gt;
  
  &lt;button onclick="getLocation()"&gt;Try It&lt;/button&gt;
  
  &lt;p id="demo"&gt;&lt;/p&gt;
  
  &lt;script&gt;
  var x = document.getElementById("demo");
  
  function getLocation() {
      if (navigator.geolocation) {
          navigator.geolocation.getCurrentPosition(showPosition, showError);
      } else { 
          x.innerHTML = "Geolocation is not supported by this browser.";
      }
  }
  
  function showPosition(position) {
      x.innerHTML = "Latitude: " + position.coords.latitude + 
      "&lt;br&gt;Longitude: " + position.coords.longitude; 
  }
  
  function showError(error) {
      switch(error.code) {
          case error.PERMISSION_DENIED:
              x.innerHTML = "User denied the request for Geolocation."
              break;
          case error.POSITION_UNAVAILABLE:
              x.innerHTML = "Location information is unavailable."
              break;
          case error.TIMEOUT:
              x.innerHTML = "The request to get user location timed out."
              break;
          case error.UNKNOWN_ERROR:
              x.innerHTML = "An unknown error occurred."
              break;
      }
  }
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This works on Firefox if I allow access to my position. If I deny access neither the showPosition or showError functions get called. Nothing happens. I have tried this with both Mac and PC Firefox and get the same problem. Works fine with Safari and Chrome though.</p>