Update the WebIDL parser

This commit is contained in:
Anthony Ramine
2018-09-14 11:15:35 +02:00
parent 70a0174b0a
commit 2b574bbdf8
6 changed files with 284 additions and 108 deletions

View File

@@ -131,17 +131,3 @@ def WebIDLTest(parser, harness):
harness.ok(threw,
"Should have thrown for [CEReactions] used on a stringifier")
parser = parser.reset()
threw = False
try:
parser.parse("""
interface Foo {
[CEReactions] jsonifier;
};
""")
results = parser.finish()
except:
threw = True
harness.ok(threw, "Should have thrown for [CEReactions] used on a jsonifier")