mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Optimise WebExtension implementaion pt.1
This commit is contained in:
parent
fe26390483
commit
3be08bc94b
3 changed files with 22 additions and 19 deletions
|
|
@ -1278,6 +1278,9 @@ CustomElementDefinition::CustomElementDefinition(nsIAtom* aType,
|
|||
mCallbacks(aCallbacks),
|
||||
mDocOrder(aDocOrder)
|
||||
{
|
||||
for (uint32_t i = 0; i < mObservedAttributes.Length(); ++i) {
|
||||
mObservedAttributesSet.PutEntry(mObservedAttributes[i]);
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue