polkadot-js / extension

Simple browser extension for managing Polkadot and Substrate network accounts in a browser. Allows the signing of extrinsics using these accounts. Also provides a simple interface for compliant extensions for dapps.
Apache License 2.0
977 stars 414 forks source link

Firefox: Extension shows whitescreen #1458

Open bkchr opened 2 months ago

bkchr commented 2 months ago

When trying to sign a transaction, the extension window only shows a white screen. At the beginning you see the window, flashing really fast to just a white screen.

image

(Also trying to open the window via the extension, shows the same result.)

The following error is printed in the console:

Uncaught TypeError: C.name is undefined
    MA moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:389
    Ca moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    _s moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    Cc moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    bu moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    vu moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    yu moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    au moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    ou moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    E moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    O moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
[extension.js:389:2875](moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js)
    MA moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:389
    Ca moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    _s moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    Cc moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    bu moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    vu moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    yu moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    au moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    ou moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    E moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
    O moz-extension://2d853b4a-544b-4b75-881b-38d1f4b49329/extension.js:2
bee344 commented 2 months ago

@bkchr What chain are you connected to? Or does this happen for several chains? Did you update the extension's metadata before this?

bkchr commented 2 months ago

This was while being connected to polkadot collectives. Did not tried others.

bkchr commented 2 months ago

On Polkadot I see the same.

TarikGul commented 2 months ago

I'm having trouble reproducing, but I have a few other ideas. I think we have a solid idea where this is happening in the codebase though!

MishoKanaria commented 1 month ago

I have also experienced the white screen issue on Chrome. I narrowed it down to Display Address Format to Mythos. Once selected, I cannot remove the white screen

TarikGul commented 1 month ago

Thank you for the extra info - I have a weird suspicion the following is also relavent - https://github.com/polkadot-js/common/issues/1917

michalkucharczyk commented 1 month ago

I saw the same problem,updating metadata on collectives helped (not sure however how it happened since the extension was white).

bkchr commented 1 month ago

I saw the same problem,updating metadata on collectives helped (not sure however how it happened since the extension was white).

That worked for me as well!