From 5a42bb58f9da18426f1d5bb892ccf74525793e01 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Mon, 26 Sep 2016 15:48:09 +0200 Subject: Implement [Inline] interfaces Inline interfaces just appear as a Rust type and in the TypeId hierarchy. They are completely invisible on the JS side. --- components/script/dom/bindings/codegen/parser/WebIDL.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'components/script/dom/bindings/codegen/parser/WebIDL.py') diff --git a/components/script/dom/bindings/codegen/parser/WebIDL.py b/components/script/dom/bindings/codegen/parser/WebIDL.py index 2894bbeb82e..dc9fa036141 100644 --- a/components/script/dom/bindings/codegen/parser/WebIDL.py +++ b/components/script/dom/bindings/codegen/parser/WebIDL.py @@ -1695,7 +1695,8 @@ class IDLInterface(IDLInterfaceOrNamespace): identifier == "ProbablyShortLivingObject" or identifier == "LegacyUnenumerableNamedProperties" or identifier == "NonOrdinaryGetPrototypeOf" or - identifier == "Abstract"): + identifier == "Abstract" or + identifier == "Inline"): # Known extended attributes that do not take values if not attr.noArguments(): raise WebIDLError("[%s] must take no arguments" % identifier, -- cgit v1.2.3