mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'
This commit is contained in:
parent
35e95f55a1
commit
58e8ee674b
9438 changed files with 266112 additions and 106976 deletions
|
@ -66,6 +66,7 @@ interface Memory {
|
|||
};
|
||||
|
||||
enum TableKind {
|
||||
"externref",
|
||||
"anyfunc",
|
||||
// Note: More values may be added in future iterations,
|
||||
// e.g., typed function references, typed GC references
|
||||
|
@ -79,10 +80,10 @@ dictionary TableDescriptor {
|
|||
|
||||
[LegacyNamespace=WebAssembly, Exposed=(Window,Worker,Worklet)]
|
||||
interface Table {
|
||||
constructor(TableDescriptor descriptor);
|
||||
unsigned long grow([EnforceRange] unsigned long delta);
|
||||
Function? get([EnforceRange] unsigned long index);
|
||||
undefined set([EnforceRange] unsigned long index, Function? value);
|
||||
constructor(TableDescriptor descriptor, optional any value);
|
||||
unsigned long grow([EnforceRange] unsigned long delta, optional any value);
|
||||
any get([EnforceRange] unsigned long index);
|
||||
undefined set([EnforceRange] unsigned long index, optional any value);
|
||||
readonly attribute unsigned long length;
|
||||
};
|
||||
|
||||
|
@ -90,7 +91,9 @@ enum ValueType {
|
|||
"i32",
|
||||
"i64",
|
||||
"f32",
|
||||
"f64"
|
||||
"f64",
|
||||
"externref",
|
||||
"anyfunc",
|
||||
};
|
||||
|
||||
dictionary GlobalDescriptor {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue