mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
15 lines
396 B
Plaintext
15 lines
396 B
Plaintext
dictionary MemoryDescriptor {
|
|
required [EnforceRange] unsigned long initial;
|
|
[EnforceRange] unsigned long maximum;
|
|
};
|
|
|
|
// https://webassembly.github.io/spec/js-api/#memories
|
|
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
interface Memory {
|
|
constructor(MemoryDescriptor descriptor);
|
|
|
|
unsigned long grow([EnforceRange] unsigned long delta);
|
|
|
|
readonly attribute ArrayBuffer buffer;
|
|
};
|