aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen/parser/tests/test_callback.py
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2019-07-11 13:16:10 +0900
committerKagami Sascha Rosylight <saschanaz@outlook.com>2019-07-12 12:14:06 +0900
commit56f31c85ef9cc79140f375641302310c6680ded4 (patch)
treefc0616a5f5d1df4434e9974e5bc62db2389ffcef /components/script/dom/bindings/codegen/parser/tests/test_callback.py
parent5fdc7c0d2c787ef562809072e3dd7c3258dc8a83 (diff)
downloadservo-56f31c85ef9cc79140f375641302310c6680ded4.tar.gz
servo-56f31c85ef9cc79140f375641302310c6680ded4.zip
Sync WebIDL.py with gecko
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_callback.py')
-rw-r--r--components/script/dom/bindings/codegen/parser/tests/test_callback.py3
1 files changed, 3 insertions, 0 deletions
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")