Home | History | Annotate | Download | only in static
      1 <div id="pageData-name" class="pageData">WebNavigation API</div>
      2 
      3 <!-- BEGIN AUTHORED CONTENT -->
      4 <p id="classSummary">
      5 Use the <code>chrome.experimental.webNavigation</code> module to recieve
      6 notifications about the status of navigations requests in-flight. This
      7 module is still very much experimental. For information on how to use
      8 experimental APIs, see the <a href="experimental.html">chrome.experimental.*
      9 APIs</a> page.
     10 </p>
     11 
     12 <h2>A note about timestamps</h2>
     13 <p>
     14 It's important to note that some technical oddities in the OS's handling
     15 of distinct Chrome processes can cause the clock to be skewed between the
     16 browser itself and extension processes. That means that WebNavigation's events'
     17 <code>timeStamp</code> property is only guaranteed to be <i>internally</i>
     18 consistent. Comparing one event to another event will give you the correct
     19 offset between them, but comparing them to the current time inside the
     20 extension (via <code>(new Date()).getTime()</code>, for instance) might give
     21 unexpected results.
     22 </p>
     23 <!-- END AUTHORED CONTENT -->
     24