diff options
author | Ms2ger <Ms2ger@gmail.com> | 2017-01-20 15:51:13 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2017-01-20 16:06:33 +0100 |
commit | 6a6f339b29907ec0a2a496fe0f477d50c38a3ddc (patch) | |
tree | a04acbce5e164c04bf71db689d2dd3054fb7d848 /components/script/dom/testbinding.rs | |
parent | 1f76aa6ef7ec7db0a0c40223874a72e8f4059deb (diff) | |
download | servo-6a6f339b29907ec0a2a496fe0f477d50c38a3ddc.tar.gz servo-6a6f339b29907ec0a2a496fe0f477d50c38a3ddc.zip |
Support dictionaries in unions.
Fixes #11612.
Diffstat (limited to 'components/script/dom/testbinding.rs')
-rw-r--r-- | components/script/dom/testbinding.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/testbinding.rs b/components/script/dom/testbinding.rs index 42db5f4a964..4726b82d900 100644 --- a/components/script/dom/testbinding.rs +++ b/components/script/dom/testbinding.rs @@ -434,6 +434,7 @@ impl TestBindingMethods for TestBinding { fn PassUnion6(&self, _: UnsignedLongOrBoolean) {} fn PassUnion7(&self, _: StringSequenceOrUnsignedLong) {} fn PassUnion8(&self, _: ByteStringSequenceOrLong) {} + fn PassUnion9(&self, _: UnionTypes::TestDictionaryOrLong) {} fn PassUnionWithTypedef(&self, _: DocumentOrTestTypedef) {} fn PassUnionWithTypedef2(&self, _: LongSequenceOrTestTypedef) {} #[allow(unsafe_code)] |