mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 822480 - Put getEntries* webidl methods behind the dom.enable_resource_timing pref. r=bz
This commit is contained in:
parent
864ffca9e7
commit
240e4f131a
@ -26,14 +26,19 @@ interface Performance {
|
||||
|
||||
// http://www.w3c-test.org/webperf/specs/PerformanceTimeline/#sec-window.performance-attribute
|
||||
partial interface Performance {
|
||||
[Pref="dom.enable_resource_timing"]
|
||||
PerformanceEntryList getEntries();
|
||||
[Pref="dom.enable_resource_timing"]
|
||||
PerformanceEntryList getEntriesByType(DOMString entryType);
|
||||
[Pref="dom.enable_resource_timing"]
|
||||
PerformanceEntryList getEntriesByName(DOMString name, optional DOMString
|
||||
entryType);
|
||||
};
|
||||
|
||||
// http://w3c-test.org/webperf/specs/ResourceTiming/#extensions-performance-interface
|
||||
partial interface Performance {
|
||||
[Pref="dom.enable_resource_timing"]
|
||||
void clearResourceTimings();
|
||||
[Pref="dom.enable_resource_timing"]
|
||||
void setResourceTimingBufferSize(unsigned long maxSize);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user