dom/bindings/parser/tests/test_builtin_filename.py
author Daniel Varga <dvarga@mozilla.com>
Tue, 15 Oct 2019 16:02:55 +0300
changeset 497572 d6f9955216483619f8aa7c0be3419dc5c49df369
parent 91075 3a0940f904553197a95534bf8ac153bc691766b4
permissions -rw-r--r--
Merge mozilla-central to mozilla-inbound - fix wpt failures. On a CLOSED TREE

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')