title: Does Chrome violates the HTML5 standard for Geolocation API when position is unavailable?
body: <p>While I am developing a web app, I am using HTML5 Geolocation API. I have done the following steps:</p>
  
  <ol>
  <li>I turned off my WiFi connection on my desktop computer.</li>
  <li><p>I triggered a position request using : </p>
  
  <pre><code>var params = {enableHighAccuracy: true, timeout:3600, maximumAge:60000};
  navigator.geolocation.getCurrentPosition( reportPosition, gpsError, params );
  </code></pre></li>
  <li><p>I run my HTML code using Google Chrome Browser [version 41.0.2272.89 (64-bit)] and I found out that <code>gpsError</code> function has been called twice. In the first time I got an error code <code>POSITION_UNAVAILABLE</code> which makes sense to me since the connection was off. But surprisingly, I found out that the error code in the second time is <code>TIMEOUT</code>.</p></li>
  <li><p>I run the same code on Safari [version 8.0.4 (10600.4.10.7)] and the <code>gpsError</code> function was called only once with error code <code>POSITION_UNAVAILABLE</code></p></li>
  <li><p>I opened the geolocation <a href="http://dev.w3.org/geo/api/spec-source.html#geolocation_interface" rel="nofollow noreferrer">standard</a> and I found out the following steps:</p>
  
  <p><img src="https://i.stack.imgur.com/6uNYb.png" alt="enter image description here"></p></li>
  </ol>
  
  <p>But in section <a href="http://dev.w3.org/geo/api/spec-source.html#position_options_interface" rel="nofollow noreferrer">5.2 PositionOption interface</a> , it states the following:
  <img src="https://i.stack.imgur.com/nQBNU.png" alt="enter image description here"></p>
  
  <p>So I guess chrome violates the standard of Geolocation API because it does not make sense to me to invoke error callback with <code>TIMEOUT</code> after knowing the fact that postion is not available i.e. invoking error callback with <code>POSITION_UNAVAILABLE</code></p>
  
  <p>Which one is considered to be compliant with the standard, the chrome or safari?</p>