Bug 1915045 Ensure decode tasks are scheduled on BufferingState::Enter() r=media...
[gecko.git] / dom / bindings / parser / tests / test_enum_duplicate_values.py
blobf40a178442bbdfd1f851378c7b1ca1e70f0c26be
1 import WebIDL
4 def WebIDLTest(parser, harness):
5 try:
6 parser.parse(
7 """
8 enum TestEnumDuplicateValue {
9 "",
12 """
14 harness.ok(False, "Should have thrown!")
15 except WebIDL.WebIDLError:
16 harness.ok(True, "Enum TestEnumDuplicateValue should throw")