Re: [whatwg/dom] Allow passing null for customElementRegistry (PR #1386)

@domenic approved this pull request.



> @@ -6598,7 +6598,7 @@ dictionary ShadowRootInit {
   SlotAssignmentMode slotAssignment = "named";
   boolean clonable = false;
   boolean serializable = false;
-  CustomElementRegistry customElementRegistry;
+  CustomElementRegistry? customElementRegistry = null;

Maybe add a comment here explaining why we're departing from our usual preference to only have one way of signaling absence.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1386#pullrequestreview-2973576001
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1386/review/2973576001@github.com>

Received on Tuesday, 1 July 2025 05:42:02 UTC