dom/bindings/parser/tests/test_builtin_filename.py
author Kyle Huey <khuey@kylehuey.com>
Thu, 12 Apr 2012 15:14:10 -0700
changeset 91506 d26c0cd1dfa3a2c277d8d3713774febff1054db7
parent 90979 3a0940f904553197a95534bf8ac153bc691766b4
permissions -rw-r--r--
Bug 741125: Update WebIDL parser.

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