mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255
This commit is contained in:
parent
b2a5225831
commit
1a81b18b9f
12321 changed files with 544385 additions and 6 deletions
|
@ -0,0 +1,64 @@
|
|||
interface Transaction {
|
||||
readonly attribute Account from;
|
||||
readonly attribute Account to;
|
||||
readonly attribute float amount;
|
||||
readonly attribute DOMString description;
|
||||
readonly attribute unsigned long number;
|
||||
|
||||
serializer;
|
||||
};
|
||||
|
||||
interface Account {
|
||||
attribute DOMString name;
|
||||
attribute unsigned long number;
|
||||
serializer DOMString serialize();
|
||||
};
|
||||
|
||||
interface Transaction2 {
|
||||
readonly attribute Account2 from;
|
||||
readonly attribute Account2 to;
|
||||
readonly attribute float amount;
|
||||
readonly attribute DOMString description;
|
||||
readonly attribute unsigned long number;
|
||||
|
||||
serializer = { from, to, amount, description };
|
||||
};
|
||||
|
||||
interface Account2 {
|
||||
attribute DOMString name;
|
||||
attribute unsigned long number;
|
||||
serializer = number;
|
||||
};
|
||||
|
||||
interface Account3 {
|
||||
attribute DOMString name;
|
||||
attribute unsigned long number;
|
||||
|
||||
serializer = { attribute };
|
||||
};
|
||||
|
||||
interface Account4 {
|
||||
getter object getItem(unsigned long index);
|
||||
serializer = { getter };
|
||||
};
|
||||
|
||||
interface Account5 : Account {
|
||||
attribute DOMString secondname;
|
||||
serializer = { inherit, secondname };
|
||||
};
|
||||
|
||||
interface Account6 : Account {
|
||||
attribute DOMString secondname;
|
||||
serializer = { inherit, attribute };
|
||||
};
|
||||
|
||||
interface Account7 {
|
||||
attribute DOMString name;
|
||||
attribute unsigned long number;
|
||||
serializer = [ name, number ];
|
||||
};
|
||||
|
||||
interface Account8 {
|
||||
getter object getItem(unsigned long index);
|
||||
serializer = [ getter ];
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue