Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using data-l10n localization #17

Closed
onemen opened this issue Jan 22, 2021 · 2 comments
Closed

Error when using data-l10n localization #17

onemen opened this issue Jan 22, 2021 · 2 comments

Comments

@onemen
Copy link
Owner

onemen commented Jan 22, 2021

when window start i see this error in the console

23:11:16.682 [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 :: L10nRegistry.loadSync :: line 692"  data: no] 2 L10nRegistry.jsm:692:19

The error when loading the preference window, Uncaught (in promise) undefined also related to l10n.
when i removed all data-l10n attribute from the xhtml files (menu.xhtml, mouse.xhtml) the error is gone.

However Firefox stile crashing when loading from Add-ons page so it probably not related.

@117649
Copy link
Contributor

117649 commented Jan 23, 2021

On Add-ons page reload and wait for recommended extension section to fully loaded can 100% avoid crash for me.
It seems more related to load of the page.

@onemen
Copy link
Owner Author

onemen commented Jan 23, 2021

it crash when trying to open options from this view:
image

but it work OK from extension view:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants