summaryrefslogtreecommitdiffstats
path: root/dom/base/CustomElementRegistry.cpp
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-05 11:25:37 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-26 15:50:25 -0500
commit08fc057471e0f74a558de887e6f9ea9e19d42876 (patch)
treeb74b8260f562f73b5979ca839b4dc1a38f72c3da /dom/base/CustomElementRegistry.cpp
parent704318ea0a9f55cad18c4ea7f2a6805485a33d39 (diff)
downloadUXP-08fc057471e0f74a558de887e6f9ea9e19d42876.tar
UXP-08fc057471e0f74a558de887e6f9ea9e19d42876.tar.gz
UXP-08fc057471e0f74a558de887e6f9ea9e19d42876.tar.lz
UXP-08fc057471e0f74a558de887e6f9ea9e19d42876.tar.xz
UXP-08fc057471e0f74a558de887e6f9ea9e19d42876.zip
Bug 1334051 - Part 1: Include namespace in attributeChangedCallback.
Per spec [1], we should include namesapce in attributeChangedCallback argurment list. [1] https://html.spec.whatwg.org/multipage/custom-elements.html#concept-upgrade-an-element, step 3 Tag UXP Issue #1344
Diffstat (limited to 'dom/base/CustomElementRegistry.cpp')
-rw-r--r--dom/base/CustomElementRegistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/CustomElementRegistry.cpp b/dom/base/CustomElementRegistry.cpp
index e619ad599..cc6264b03 100644
--- a/dom/base/CustomElementRegistry.cpp
+++ b/dom/base/CustomElementRegistry.cpp
@@ -52,7 +52,7 @@ CustomElementCallback::Call()
break;
case nsIDocument::eAttributeChanged:
static_cast<LifecycleAttributeChangedCallback *>(mCallback.get())->Call(mThisObject,
- mArgs.name, mArgs.oldValue, mArgs.newValue, rv);
+ mArgs.name, mArgs.oldValue, mArgs.newValue, mArgs.namespaceURI, rv);
break;
}
}