can't add an address to autofill
Add button does not respond. Doesn't work in Safe Mode.
Chosen solution
Hi Robert, thank you for that!
RobertHooton said
Click the Add button:
TypeError: mutation.target.closest is not a function l10n.js:44:58
TypeError: contentPane is null subdialogs.js:434:7
I get that first one, too. Must not be fatal.
The second one is part of the code path for the dialog being too tall and needing a scroll bar. (Line 434) I think we found the problem.
As a test, I shrank the vertical area of the page by opening the developer tools panel (Ctrl+Shift+i). Depending on the height left for the page, the Add New Address would fail to show and I would get that error in the Browser Console.
Could you temporarily reduce the zoom level on the Options page (hold down Ctrl and tap the - key a couple times) and see whether that lets you add the address?
Read this answer in context 👍 0All Replies (11)
Hi Robert, I understand that the Saved Addresses overlay comes up, but when you click the Add... button in that dialog, you do not get this second overlay with the new address form:
Do you have any addresses saved so far? If so, does Firefox fill them and/or can you edit them?
Next, could you check for error messages associated with these dialogs in the "Browser Console"? Here's how:
First, close the Options page. We'll want to re-open it after the console is ready.
You can open the separate Browser Console window using either:
- "3-bar" menu button > Web Developer > Browser Console
- (menu bar) Tools > Web Developer > Browser Console
- (Windows) Ctrl+Shift+j
Click the trash can icon at the upper left to clear the window, then switch back over to your main window.
(1) Open the Options page
If you check the console at this point, do you notice any new error messages?
(2) Click Privacy & Security in the left column
If you check the console at this point, do you notice any new error messages?
(3) Click the Saved Addresses button
If you check the console at this point, do you notice any new error messages?
(4) Click the Add button
If you check the console at this point, do you notice any new error messages?
Hopefully that will give us some direction toward a solution.
Thanks for the help.
I originally had my address entered. Used it for along time. Noticed my hometown name always filled with a small letter in front. Decided to Edit. Edit wouldn't work so I decided to delete and reenter my data. Add button no longer worked. That's how I got here.
Here are the errors:
After opening Options page:
[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: this.L10nRegistry.loadSync :: line 759" data: no] L10nRegistry.jsm:759:19
loadSync resource://gre/modules/L10nRegistry.jsm:759 fetchFile resource://gre/modules/L10nRegistry.jsm:674 generateResourceSetSync resource://gre/modules/L10nRegistry.jsm:579 map self-hosted:251 generateResourceSetSync resource://gre/modules/L10nRegistry.jsm:574 generateResourceSetsForLocaleSync resource://gre/modules/L10nRegistry.jsm:410 InterpretGeneratorResume self-hosted:1157 next self-hosted:1112 generateBundlesSync resource://gre/modules/L10nRegistry.jsm:172 InterpretGeneratorResume self-hosted:1157 next self-hosted:1112 touchNext resource://gre/modules/Localization.jsm:167 onChange resource://gre/modules/Localization.jsm:500 Localization resource://gre/modules/Localization.jsm:227 getLanguageDisplayNames resource://gre/modules/mozIntl.jsm:709 getLocaleDisplayNames resource://gre/modules/mozIntl.jsm:787 map self-hosted:251 getLocaleDisplayNames resource://gre/modules/mozIntl.jsm:766 setBrowserLocales chrome://browser/content/preferences/in-content/main.js:1001 AsyncFunctionNext self-hosted:696
[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: this.L10nRegistry.loadSync :: line 759" data: no] L10nRegistry.jsm:759:19
loadSync resource://gre/modules/L10nRegistry.jsm:759 fetchFile resource://gre/modules/L10nRegistry.jsm:674 generateResourceSetSync resource://gre/modules/L10nRegistry.jsm:579 map self-hosted:251 generateResourceSetSync resource://gre/modules/L10nRegistry.jsm:574 generateResourceSetsForLocaleSync resource://gre/modules/L10nRegistry.jsm:410 InterpretGeneratorResume self-hosted:1157 next self-hosted:1112 generateBundlesSync resource://gre/modules/L10nRegistry.jsm:172 InterpretGeneratorResume self-hosted:1157 next self-hosted:1112 touchNext resource://gre/modules/Localization.jsm:167 onChange resource://gre/modules/Localization.jsm:500 Localization resource://gre/modules/Localization.jsm:227 getRegionDisplayNames resource://gre/modules/mozIntl.jsm:736 getLocaleDisplayNames resource://gre/modules/mozIntl.jsm:796 map self-hosted:251 getLocaleDisplayNames resource://gre/modules/mozIntl.jsm:766 setBrowserLocales chrome://browser/content/preferences/in-content/main.js:1001 AsyncFunctionNext self-hosted:696
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIInterfaceRequestor.getInterface] 12 network-response-listener.js:84
After Clicking Privacy & Security:
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIInterfaceRequestor.getInterface] 12 network-response-listener.js:84
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIInterfaceRequestor.getInterface] 12 network-response-listener.js:84
After Click the Saved Addresses button:
NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIInterfaceRequestor.getInterface] 12 network-response-listener.js:84
Click the Add button:
TypeError: mutation.target.closest is not a function l10n.js:44:58
onMutation chrome://formautofill/content/l10n.js:44
TypeError: contentPane is null subdialogs.js:434:7
Is the Add button enabled so you can click it or isn't this button enabled ? If you can click the Add button then you should get a window where you can add the details.
The Add button is not enabled. It darkens when I move the cursor above it but nothing happens when I click it.
Chosen Solution
Hi Robert, thank you for that!
RobertHooton said
Click the Add button:
TypeError: mutation.target.closest is not a function l10n.js:44:58
TypeError: contentPane is null subdialogs.js:434:7
I get that first one, too. Must not be fatal.
The second one is part of the code path for the dialog being too tall and needing a scroll bar. (Line 434) I think we found the problem.
As a test, I shrank the vertical area of the page by opening the developer tools panel (Ctrl+Shift+i). Depending on the height left for the page, the Add New Address would fail to show and I would get that error in the Browser Console.
Could you temporarily reduce the zoom level on the Options page (hold down Ctrl and tap the - key a couple times) and see whether that lets you add the address?
Modified
That solved the problem. I greatly appreciate the help. I would never have thought of this.
RobertHooton said
I would never have thought of this.
Obviously the developers missed it, too. But it's not the first time we've seen problems on the Options page on this forum, for example, when the user doesn't have a full HD screen and uses optional bars like the bookmarks toolbar and menu bar squeezing down the page height to below what the developers planned for.
I filed a bug for this problem. It's easy to reproduce so I don't think you need to provide any details for your own Firefox.
RobertHooton said
US, already looked at that. Where are you? I'm in Texas.
I'm in The Netherlands, Europe.
Sooo glad your problem is solved ! Was about time, eh ?
If it helps fix this, I use Windows 10 and under the Ease of Access settings I have the size set to 175%. Everything else works fine as far as I know.
I thought the help was prompt and well done. Thanks.
If I make the Firefox window rather small then even the "Saved Addresses" and, when enabled, "Saved Credit Cards" window isn't visible. The window does open because the Options/Preferences page no longer reacts and I need to press the ESC key.
This is scheduled to be fixed in Firefox 74. (In the current beta of Firefox 74, when the vertical space is short, a scroll bar appears in the form to allow accessing all of the fields.)
Modified