From d8dc67a51d757d08d8a6e5dfefc9cccdf05a32cf Mon Sep 17 00:00:00 2001 From: Luke Warlow Date: Fri, 12 Jan 2024 14:18:23 +0000 Subject: [PATCH] Update callback IDL to return nullable types (#389) --- spec/index.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/index.bs b/spec/index.bs index 6eb9dda..39f3f22 100644 --- a/spec/index.bs +++ b/spec/index.bs @@ -762,9 +762,9 @@ dictionary TrustedTypePolicyOptions { CreateScriptCallback? createScript; CreateScriptURLCallback? createScriptURL; }; -callback CreateHTMLCallback = DOMString (DOMString input, any... arguments); -callback CreateScriptCallback = DOMString (DOMString input, any... arguments); -callback CreateScriptURLCallback = USVString (DOMString input, any... arguments); +callback CreateHTMLCallback = DOMString? (DOMString input, any... arguments); +callback CreateScriptCallback = DOMString? (DOMString input, any... arguments); +callback CreateScriptURLCallback = USVString? (DOMString input, any... arguments); ### Default policy ### {#default-policy-hdr}