Add codegen test for function overloads taking typed array args

This commit is contained in:
Igor Matuszewski 2018-03-23 18:38:39 +01:00
parent 2437a8472e
commit fbfcc762e1
2 changed files with 6 additions and 0 deletions

View file

@ -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>) {}

View file

@ -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);