thetarnav / solid-devtools

Library of developer tools, reactivity debugger & Devtools Chrome extension for visualizing SolidJS reactivity graph
https://chrome.google.com/webstore/detail/solid-devtools/kmcfjchnmmaeeagadbhoofajiopoceel
MIT License
549 stars 23 forks source link

Crashes in Firefox (loading before document?) #309

Open jda0 opened 2 months ago

jda0 commented 2 months ago

I'm having no luck avoiding "Detector script failed to load." in Firefox 129.0.2.

I believe loadScriptInRealWorld may be called and trying to update the document head before Firefox loads the document, since it's not wrapped in an event handler (i.e. DOMContentLoaded). I may be incorrect - I'm using Solid Start. https://github.com/thetarnav/solid-devtools/blob/59123330a26a3044de21b4e1d8a3139d8909f921/packages/extension/content/content.ts#L56