webui-dev / webui

Use any web browser or WebView as GUI, with your preferred language in the backend and modern web technologies in the frontend, all in a lightweight portable library.
https://webui.me
MIT License
2.9k stars 164 forks source link

Firefox `Uncaught ReferenceError: webui is not defined` #206

Closed ttytm closed 12 months ago

ttytm commented 12 months ago

It seems not possible to use WebUI with firefox atm.

The initial error when with the call_c_from_js example is

Uncaught TypeError: MutationObserver.observe: Argument 1 is not an object.

Screenshot_20230913_065741

After calling one of the C functions

Uncaught ReferenceError: webui is not defined

Screenshot_20230913_065746

hassandraga commented 12 months ago

The WebUI Bridge object issue is fixed, and the window look also get fixed. Thank you for the report 👍