From 3a9848f50e36696ea9adb62ad526881bcf13ad07 Mon Sep 17 00:00:00 2001 From: Luke Warlow Date: Thu, 11 Jan 2024 13:25:52 +0000 Subject: [PATCH] Update callback IDL to return nullable types --- spec/index.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/index.bs b/spec/index.bs index 45ffad5..1c8ba48 100644 --- a/spec/index.bs +++ b/spec/index.bs @@ -763,9 +763,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}