From 56f31c85ef9cc79140f375641302310c6680ded4 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Thu, 11 Jul 2019 13:16:10 +0900 Subject: Sync WebIDL.py with gecko --- components/script/dom/bindings/codegen/parser/tests/test_callback.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/script/dom/bindings/codegen/parser/tests/test_callback.py') diff --git a/components/script/dom/bindings/codegen/parser/tests/test_callback.py b/components/script/dom/bindings/codegen/parser/tests/test_callback.py index 4dfda1c3c76..c304d085ce5 100644 --- a/components/script/dom/bindings/codegen/parser/tests/test_callback.py +++ b/components/script/dom/bindings/codegen/parser/tests/test_callback.py @@ -32,3 +32,6 @@ def WebIDLTest(parser, harness): harness.ok(not isinstance(t, WebIDL.IDLWrapperType), "Attr has the right type") harness.ok(isinstance(t, WebIDL.IDLNullableType), "Attr has the right type") harness.ok(t.isCallback(), "Attr has the right type") + + callback = results[1] + harness.ok(not callback.isConstructor(), "callback is not constructor") -- cgit v1.2.3