diff options
Diffstat (limited to 'dom/bindings/parser/tests/test_builtin_filename.py')
-rw-r--r-- | dom/bindings/parser/tests/test_builtin_filename.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dom/bindings/parser/tests/test_builtin_filename.py b/dom/bindings/parser/tests/test_builtin_filename.py new file mode 100644 index 000000000..631e52eba --- /dev/null +++ b/dom/bindings/parser/tests/test_builtin_filename.py @@ -0,0 +1,11 @@ +import WebIDL + +def WebIDLTest(parser, harness): + parser.parse(""" + interface Test { + attribute long b; + }; + """); + + attr = parser.finish()[0].members[0] + harness.check(attr.type.filename(), '<builtin>', 'Filename on builtin type') |