4 def WebIDLTest(parser
, harness
):
9 interface OneNullableInUnion {
10 undefined foo((object? or DOMString?) arg);
16 except WebIDL
.WebIDLError
:
19 harness
.ok(threw
, "Two nullable member types of a union should have thrown.")
27 interface NullableInNullableUnion {
28 undefined foo((object? or DOMString)? arg);
34 except WebIDL
.WebIDLError
:
39 "A nullable union type with a nullable member type should have " "thrown.",
48 interface NullableInUnionNullableUnionHelper {
50 interface NullableInUnionNullableUnion {
51 undefined foo(((object? or DOMString) or NullableInUnionNullableUnionHelper)? arg);
57 except WebIDL
.WebIDLError
:
62 "A nullable union type with a nullable member type should have " "thrown.",