Re: [whatwg/dom] Restore active custom element constructor map entries after construction (PR #1494)

@annevk commented on this pull request.



> +     <li><p>If <var>previousRegistry</var> is null, then <a for=map>remove</a> the
+     <a>surrounding agent</a>'s
+     <a for="similar-origin window agent">active custom element constructor map</a>[<var>C</var>].
 
-      <p class=note>Under normal circumstances it will already have been removed at this point.
+     <li><p>Otherwise, <a for=map>set</a> the <a>surrounding agent</a>'s
+     <a for="similar-origin window agent">active custom element constructor map</a>[<var>C</var>] to
+     <var>previousRegistry</var>.

Oversight; I've now made it two steps in HTML as well.

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

Message ID: <whatwg/dom/pull/1494/review/4722233845@github.com>

Received on Friday, 17 July 2026 11:31:42 UTC