This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
timeline readonly property of the
Document interface represents the default timeline of the current document. This timeline is a special instance of
DocumentTimeline that is automatically created on page load.
This timeline is unique to each
document and persists for the lifetime of the
document including calls to
The time values for this timeline are calculated as a fixed offset from the global clock such that the zero time corresponds to the
navigationStart moment plus a signed delta known as the origin time. Prior to establishing the
navigationStart moment, the document timeline is inactive.
Note: A document timeline that is associated with a non-active document is also considered to be inactive.
var pageTimeline = document.timeline; var thisMoment = pageTimeline.currentTime;
The definition of 'document.timeline' in that specification.
|Working Draft||Editor's draft.|
|Feature||Chrome||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Basic support||No support||48 (48)||No support||No support||No support|
|Feature||Android||Android Webview||Firefox Mobile (Gecko)||Firefox OS||IE Mobile||Opera Mobile||Safari Mobile||Chrome for Android|
|Basic support||No support||No support||No support||No support||No support||No support||No support||No support|
 Currently supported only in Firefox Nightly.
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.