mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add tests for return values of interface methods.
This commit is contained in:
parent
e5eac5b538
commit
ab8b62e28d
2 changed files with 73 additions and 0 deletions
|
@ -91,6 +91,36 @@ interface TestBinding {
|
|||
// attribute (HTMLElement or long)? unionAttributeNullable;
|
||||
// attribute (DOMString or FormData)? union2AttributeNullable;
|
||||
|
||||
void receiveVoid();
|
||||
boolean receiveBoolean();
|
||||
byte receiveByte();
|
||||
octet receiveOctet();
|
||||
short receiveShort();
|
||||
unsigned short receiveUnsignedShort();
|
||||
long receiveLong();
|
||||
unsigned long receiveUnsignedLong();
|
||||
long long receiveLongLong();
|
||||
unsigned long long receiveUnsignedLongLong();
|
||||
DOMString receiveString();
|
||||
ByteString receiveByteString();
|
||||
TestEnum receiveEnum();
|
||||
Blob receiveInterface();
|
||||
any receiveAny();
|
||||
|
||||
byte? receiveNullableByte();
|
||||
boolean? receiveNullableBoolean();
|
||||
octet? receiveNullableOctet();
|
||||
short? receiveNullableShort();
|
||||
unsigned short? receiveNullableUnsignedShort();
|
||||
long? receiveNullableLong();
|
||||
unsigned long? receiveNullableUnsignedLong();
|
||||
long long? receiveNullableLongLong();
|
||||
unsigned long long? receiveNullableUnsignedLongLong();
|
||||
DOMString? receiveNullableString();
|
||||
ByteString? receiveNullableByteString();
|
||||
TestEnum? receiveNullableEnum();
|
||||
Blob? receiveNullableInterface();
|
||||
|
||||
void passBoolean(boolean arg);
|
||||
void passByte(byte arg);
|
||||
void passOctet(octet arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue