blob: 28166020c1049a6964c411f84cf884ec1c3468b8 [file]
import WebIDL
def WebIDLTest(parser, harness):
threw = False
try:
parser.parse(
"""
interface DoubleNull {
attribute byte?? foo;
};
"""
)
parser.finish()
except WebIDL.WebIDLError:
threw = True
harness.ok(threw, "Should have thrown.")