Update the WebIDL parser

This commit is contained in:
Anthony Ramine
2018-04-03 14:06:07 +02:00
parent 866a523914
commit 938f1362e7
12 changed files with 104 additions and 244 deletions

View File

@@ -101,21 +101,6 @@ def WebIDLTest(parser, harness):
harness.ok(threw,
"Should have thrown for [CEReactions] used on a named getter")
parser = parser.reset()
threw = False
try:
parser.parse("""
interface Foo {
[CEReactions] creator boolean (DOMString name, boolean value);
};
""")
results = parser.finish()
except:
threw = True
harness.ok(threw,
"Should have thrown for [CEReactions] used on a named creator")
parser = parser.reset()
threw = False
try: