Skip to content
Permalink
Browse files

Update hr-time IDL file (#9792)

* Update hr-time IDL
  • Loading branch information...
lukebjerring committed Mar 15, 2018
1 parent 409239b commit a27620cd88e1324cecae94dfdd5c881e9130d8f1
Showing with 7 additions and 3 deletions.
  1. +7 −3 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.
You can’t perform that action at this time.