aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/TestBinding.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/TestBinding.webidl')
-rw-r--r--components/script/dom/webidls/TestBinding.webidl3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/dom/webidls/TestBinding.webidl b/components/script/dom/webidls/TestBinding.webidl
index 392aee5963b..d98b9428031 100644
--- a/components/script/dom/webidls/TestBinding.webidl
+++ b/components/script/dom/webidls/TestBinding.webidl
@@ -6,6 +6,7 @@
// web pages.
enum TestEnum { "", "foo", "bar" };
+typedef (DOMString or URL or Blob) TestTypedef;
dictionary TestDictionary {
required boolean requiredValue;
@@ -241,6 +242,8 @@ interface TestBinding {
void passUnion6((unsigned long or boolean) bool);
void passUnion7((sequence<DOMString> or unsigned long) arg);
void passUnion8((sequence<ByteString> or long) arg);
+ void passUnionWithTypedef((Document or TestTypedef) arg);
+ void passUnionWithTypedef2((sequence<long> or TestTypedef) arg);
void passAny(any arg);
void passObject(object arg);
void passCallbackFunction(Function fun);