codegen: Throw on an invalid enum value when appropiate

This commit is contained in:
Emilio Cobos Álvarez 2016-05-13 10:11:30 +02:00
parent 093f5c01e4
commit e50d4b7624
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
5 changed files with 56 additions and 10 deletions

View file

@ -1,6 +1,5 @@
[Document-defaultView.html]
type: testharness
expected: TIMEOUT
[Document created with the Document constructor]
expected: FAIL
@ -11,5 +10,8 @@
expected: FAIL
[Document created with XML DOMParser]
expected: TIMEOUT
expected: FAIL
[Document created with HTML DOMParser]
expected: FAIL