mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Add codegen test for function overloads taking typed array args
This commit is contained in:
parent
2437a8472e
commit
fbfcc762e1
2 changed files with 6 additions and 0 deletions
|
@ -472,6 +472,9 @@ impl TestBindingMethods for TestBinding {
|
|||
fn PassStringSequence(&self, _: Vec<DOMString>) {}
|
||||
fn PassInterfaceSequence(&self, _: Vec<DomRoot<Blob>>) {}
|
||||
|
||||
fn PassOverloaded(&self, _: CustomAutoRooterGuard<typedarray::ArrayBuffer>) {}
|
||||
fn PassOverloaded_(&self, _: DOMString) {}
|
||||
|
||||
fn PassNullableBoolean(&self, _: Option<bool>) {}
|
||||
fn PassNullableByte(&self, _: Option<i8>) {}
|
||||
fn PassNullableOctet(&self, _: Option<u8>) {}
|
||||
|
|
|
@ -275,6 +275,9 @@ interface TestBinding {
|
|||
void passStringSequence(sequence<DOMString> seq);
|
||||
void passInterfaceSequence(sequence<Blob> seq);
|
||||
|
||||
void passOverloaded(ArrayBuffer arg);
|
||||
void passOverloaded(DOMString arg);
|
||||
|
||||
void passNullableBoolean(boolean? arg);
|
||||
void passNullableByte(byte? arg);
|
||||
void passNullableOctet(octet? arg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue