performance-measure-memory.idl (812B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: Measure Memory API (https://wicg.github.io/performance-measure-memory/) 5 6 dictionary MemoryMeasurement { 7 unsigned long long bytes; 8 sequence<MemoryBreakdownEntry> breakdown; 9 }; 10 11 dictionary MemoryBreakdownEntry { 12 unsigned long long bytes; 13 sequence<MemoryAttribution> attribution; 14 sequence<DOMString> types; 15 }; 16 17 dictionary MemoryAttribution { 18 USVString url; 19 MemoryAttributionContainer container; 20 DOMString scope; 21 }; 22 23 dictionary MemoryAttributionContainer { 24 DOMString id; 25 USVString src; 26 }; 27 28 partial interface Performance { 29 [Exposed=(Window,ServiceWorker,SharedWorker), CrossOriginIsolated] Promise<MemoryMeasurement> measureUserAgentSpecificMemory(); 30 };