diff options
Diffstat (limited to 'components')
-rw-r--r-- | components/script/dom/bindings/codegen/CodegenRust.py | 1 | ||||
-rw-r--r-- | components/script/dom/webidls/TestBinding.webidl | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py index 5df915a9e17..9e96c932f48 100644 --- a/components/script/dom/bindings/codegen/CodegenRust.py +++ b/components/script/dom/bindings/codegen/CodegenRust.py @@ -6132,7 +6132,6 @@ class CGBindingRoot(CGThing): # Allow using the typedef's name for accessing variants. template = "pub use self::%(type)s as %(name)s;" else: - assert not typeNeedsRooting(t.innerType, config.getDescriptorProvider()) template = "pub type %(name)s = %(type)s;" cgthings.append(CGGeneric(template % substs)) diff --git a/components/script/dom/webidls/TestBinding.webidl b/components/script/dom/webidls/TestBinding.webidl index d688c0d96b6..fc6d4771366 100644 --- a/components/script/dom/webidls/TestBinding.webidl +++ b/components/script/dom/webidls/TestBinding.webidl @@ -9,6 +9,7 @@ enum TestEnum { "", "foo", "bar" }; typedef (DOMString or URL or Blob) TestTypedef; typedef (DOMString or URL or Blob)? TestTypedefNullableUnion; typedef DOMString TestTypedefString; +typedef Blob TestTypedefInterface; dictionary TestDictionary { required boolean requiredValue; |