Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
27
third-party/vendor/web-sys/webidls/unstable/MeasureMemory.webidl
vendored
Normal file
27
third-party/vendor/web-sys/webidls/unstable/MeasureMemory.webidl
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/* Source: https://wicg.github.io/performance-measure-memory/#idl-index */
|
||||
|
||||
dictionary MemoryMeasurement {
|
||||
unsigned long long bytes;
|
||||
sequence<MemoryBreakdownEntry> breakdown;
|
||||
};
|
||||
|
||||
dictionary MemoryBreakdownEntry {
|
||||
unsigned long long bytes;
|
||||
sequence<MemoryAttribution> attribution;
|
||||
sequence<DOMString> types;
|
||||
};
|
||||
|
||||
dictionary MemoryAttribution {
|
||||
USVString url;
|
||||
MemoryAttributionContainer container;
|
||||
DOMString scope;
|
||||
};
|
||||
|
||||
dictionary MemoryAttributionContainer {
|
||||
DOMString id;
|
||||
USVString src;
|
||||
};
|
||||
|
||||
partial interface Performance {
|
||||
[Exposed=(Window,ServiceWorker,SharedWorker), CrossOriginIsolated] Promise<MemoryMeasurement> measureUserAgentSpecificMemory();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue