script_bindings: Pass &mut JSContext to CustomElementReaction::invoke (#43535)

Pass `&mut JSContext` to `CustomElementReaction::invoke` and
`upgrade_element` algorithm.

Testing: A successful build is enough
Part of #40600

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
This commit is contained in:
Gae24
2026-03-22 12:11:52 +01:00
committed by GitHub
parent dcca7b2030
commit 5152632f04
9 changed files with 49 additions and 42 deletions

View File

@@ -4187,7 +4187,7 @@ class CGCallGenerator(CGThing):
]))
if hasCEReactions:
self.cgRoot.append(CGGeneric("<D as DomHelpers<D>>::pop_current_element_queue(CanGc::note());\n"))
self.cgRoot.append(CGGeneric("<D as DomHelpers<D>>::pop_current_element_queue(cx);\n"))
if isFallible:
if static: