summaryrefslogtreecommitdiff
path: root/dom/base/nsDocument.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-04 10:32:21 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:14 -0500
commitfd12368c5e29a3bd16f4ad298dabdb3e857561a5 (patch)
treee75f989b98ba708aba0d6011b4cb9d93bd0d0004 /dom/base/nsDocument.cpp
parent2ee2d876495b87a268e016dddbc63914ae02fac2 (diff)
downloadaura-central-fd12368c5e29a3bd16f4ad298dabdb3e857561a5.tar.gz
Bug 1309147 - Part 4: Add CEReactions for CustomElementRegistry.
Tag UXP Issue mcp-graveyard/UXP%1344
Diffstat (limited to 'dom/base/nsDocument.cpp')
-rw-r--r--dom/base/nsDocument.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/base/nsDocument.cpp b/dom/base/nsDocument.cpp
index 3faa39ab3..dc12d8fb1 100644
--- a/dom/base/nsDocument.cpp
+++ b/dom/base/nsDocument.cpp
@@ -5770,6 +5770,7 @@ nsDocument::RegisterElement(JSContext* aCx, const nsAString& aType,
return;
}
+ AutoCEReaction ceReaction(this->GetDocGroup()->CustomElementReactionsStack());
// Unconditionally convert TYPE to lowercase.
nsAutoString lcType;
nsContentUtils::ASCIIToLower(aType, lcType);