summaryrefslogtreecommitdiff
path: root/dom/webidl
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-29 12:15:36 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-04-29 12:15:36 +0200
commit98438fa32e4f93b59359662188e164c7c828acb7 (patch)
treea32206dd3595d6e412029395ea55e3bf8438e1f5 /dom/webidl
parent39d4a11267fd707df04bb06a74e24f36e2dbcd28 (diff)
downloaduxp-98438fa32e4f93b59359662188e164c7c828acb7.tar.gz
Bug 1313420 - Implement Performance.timeOrigin - part 1
https://hg.mozilla.org/mozilla-central/rev/cf0f72f0b0be
Diffstat (limited to 'dom/webidl')
-rw-r--r--dom/webidl/Performance.webidl3
1 files changed, 3 insertions, 0 deletions
diff --git a/dom/webidl/Performance.webidl b/dom/webidl/Performance.webidl
index eaede253cf..0bd2677df7 100644
--- a/dom/webidl/Performance.webidl
+++ b/dom/webidl/Performance.webidl
@@ -17,6 +17,9 @@ typedef sequence <PerformanceEntry> PerformanceEntryList;
interface Performance {
[DependsOn=DeviceState, Affects=Nothing]
DOMHighResTimeStamp now();
+
+ [Constant]
+ readonly attribute DOMHighResTimeStamp timeOrigin;
};
[Exposed=Window]