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/inline.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 components/script/dom/bindings/codegen/parser/inline.patch (limited to 'components/script/dom/bindings/codegen/parser/inline.patch') diff --git a/components/script/dom/bindings/codegen/parser/inline.patch b/components/script/dom/bindings/codegen/parser/inline.patch new file mode 100644 index 00000000000..5d1056d2b58 --- /dev/null +++ b/components/script/dom/bindings/codegen/parser/inline.patch @@ -0,0 +1,12 @@ +--- WebIDL.py ++++ 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, \ No newline at end of file -- cgit v1.2.3