mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1771381 - Use entries in TabAttributesInternal.set(). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D147457
This commit is contained in:
parent
68571ba6a4
commit
adf4640fef
@ -67,9 +67,9 @@ var TabAttributesInternal = {
|
||||
}
|
||||
|
||||
// Set attributes.
|
||||
for (let name in data) {
|
||||
for (let [name, value] of Object.entries(data)) {
|
||||
if (!ATTRIBUTES_TO_SKIP.has(name)) {
|
||||
tab.setAttribute(name, data[name]);
|
||||
tab.setAttribute(name, value);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user