Skip to content

Commit

Permalink
Update hr-time IDL file (#9792)
Browse files Browse the repository at this point in the history
* Update hr-time IDL
  • Loading branch information
lukebjerring committed Mar 15, 2018
1 parent 409239b commit a27620c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions interfaces/hr-time.idl
@@ -1,13 +1,17 @@
// GENERATED CONTENT - DO NOT EDIT
// Content of this file was automatically extracted from the High Resolution Time spec.
// See https://w3c.github.io/hr-time/

typedef double DOMHighResTimeStamp;

[Exposed=(Window,Worker)]
interface Performance : EventTarget {
DOMHighResTimeStamp now();
DOMHighResTimeStamp now ();
readonly attribute DOMHighResTimeStamp timeOrigin;
[Default] object toJSON();
[Default] object toJSON();
};

partial interface WindowOrWorkerGlobalScope {
[Replaceable]
readonly attribute Performance performance;
readonly attribute Performance performance;
};

0 comments on commit a27620c

Please sign in to comment.