| Index: third_party/WebKit/LayoutTests/imported/wpt/hr-time/idlharness.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/hr-time/idlharness.html b/third_party/WebKit/LayoutTests/imported/wpt/hr-time/idlharness.html
|
| index 0b1fd7d326008935301e33b410f52cdbecb3645a..729f7381f7be5c365bf3983cf9138d663ab52cb3 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/wpt/hr-time/idlharness.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/hr-time/idlharness.html
|
| @@ -19,20 +19,31 @@
|
| interface Window {
|
| };
|
|
|
| -interface Performance {
|
| +[Exposed=Worker]
|
| +interface WorkerGlobalScope {
|
| };
|
|
|
| -partial interface Window {
|
| - [Replaceable] readonly attribute Performance performance;
|
| -};
|
| </pre>
|
|
|
| <pre id='idl'>
|
| typedef double DOMHighResTimeStamp;
|
|
|
| -partial interface Performance {
|
| - DOMHighResTimeStamp now();
|
| +[Exposed=(Window,Worker)]
|
| +interface Performance : EventTarget {
|
| + DOMHighResTimeStamp now();
|
| + serializer = {attribute};
|
| +};
|
| +
|
| +[NoInterfaceObject,
|
| + Exposed=(Window,Worker)]
|
| +interface GlobalPerformance {
|
| + [Replaceable]
|
| + readonly attribute Performance performance;
|
| };
|
| +
|
| +Window implements GlobalPerformance;
|
| +
|
| +WorkerGlobalScope implements GlobalPerformance;
|
| </pre>
|
|
|
| <script>
|
|
|