@@ -300,7 +300,7 @@ <h2>The <dfn>PerformanceEntry</dfn> interface</h2>
300
300
< p > The < a > PerformanceEntry</ a > interface hosts the performance data of
301
301
various metrics.</ p >
302
302
< pre class ='idl '>
303
- [Exposed=* ]
303
+ [Exposed=(Window,Worker) ]
304
304
interface PerformanceEntry {
305
305
readonly attribute DOMString name;
306
306
readonly attribute DOMString entryType;
@@ -374,7 +374,7 @@ <h2>The <dfn>PerformanceObserver</dfn> interface</h2>
374
374
callback PerformanceObserverCallback = undefined (PerformanceObserverEntryList entries,
375
375
PerformanceObserver observer,
376
376
optional PerformanceObserverCallbackOptions options = {});
377
- [Exposed=* ]
377
+ [Exposed=(Window,Worker) ]
378
378
interface PerformanceObserver {
379
379
constructor(PerformanceObserverCallback callback);
380
380
undefined observe (optional PerformanceObserverInit options = {});
@@ -580,7 +580,7 @@ <h2><dfn>PerformanceObserverInit</dfn> dictionary</h2>
580
580
"PerformanceObserverEntryList ">
581
581
< h2 > < dfn > PerformanceObserverEntryList</ dfn > interface</ h2 >
582
582
< pre class ="idl ">
583
- [Exposed=* ]
583
+ [Exposed=(Window,Worker) ]
584
584
interface PerformanceObserverEntryList {
585
585
PerformanceEntryList getEntries();
586
586
PerformanceEntryList getEntriesByType (DOMString type);
0 commit comments