forked from ddawson/Saved-Password-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Bug 1979014 lands on Firefox 143
it will change how persisted attribute are used
you need to modify Overlays.mjs
SavedPasswordEditorRedux/content/Overlays.mjs
Lines 226 to 245 in 13b48b0
| for (const id of this.persistedIDs.values()) { | |
| const element = this.document.getElementById(id); | |
| if (element) { | |
| const attrNames = xulStore.getAttributeEnumerator(this.location, id); | |
| while (attrNames.hasMore()) { | |
| const attrName = attrNames.getNext(); | |
| const attrValue = xulStore.getValue(this.location, id, attrName); | |
| if (attrName == "selectedIndex" && element.localName == "deck") { | |
| this._decksToResolve.set(element, attrValue); | |
| } else if ( | |
| (element != this.document.documentElement || | |
| !["height", "screenX", "screenY", "sizemode", "width"].includes( | |
| attrName)) && | |
| element.getAttribute(attrName) != attrValue.toString() | |
| ) { | |
| element.setAttribute(attrName, attrValue); | |
| } | |
| } | |
| } | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels