mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 00:38:39 +09:00
(from Waterfox Classic) Refactor addonId access in BasePrincipal and related files
This commit is contained in:
parent
ef314d225f
commit
203d58a5cd
6 changed files with 26 additions and 13 deletions
|
|
@ -1390,8 +1390,8 @@ TabActor.prototype = {
|
|||
.outerWindowID;
|
||||
}
|
||||
|
||||
// Collect the addonID from the document origin attributes.
|
||||
let addonID = window.document.nodePrincipal.originAttributes.addonId;
|
||||
// Collect the addonID from the document principal.
|
||||
let addonID = window.document.nodePrincipal.addonId;
|
||||
|
||||
return {
|
||||
id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue