Skip to content

Commit b11a734

Browse files
committed
Fix IDL definition of LoadDocumentCallback
Dictionary arguments cannot be nullable in Web IDL: > "Although dictionary types can in general be nullable, they cannot when used as the type of an operation argument or a dictionary member." > https://webidl.spec.whatwg.org/#dfn-nullable-type Note: this was missed before because the webidl2 checker did not validate arguments in callback definitions. It now does.
1 parent 590f78d commit b11a734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6572,7 +6572,7 @@ <h3>LoadDocumentCallback</h3>
65726572
<pre class="idl">
65736573
callback LoadDocumentCallback = Promise&lt;RemoteDocument> (
65746574
USVString url,
6575-
optional LoadDocumentOptions? options
6575+
optional LoadDocumentOptions options = {}
65766576
);
65776577
</pre>
65786578

0 commit comments

Comments
 (0)