Open leafOfTree opened 4 days ago
Hey, thanks for reporting this! According to MDN, document.head
should never be null
, so this might have something to do the chrome.scripting.executeScript()
method.
I did turn on injectImmediately
back then but I can't seem to remember what problems I encountered without it. Unfortunately, I don't have any access to any macOS machine, it would be great if you could try turning this setting off and see if the error still occurs. I'll try to check back here after I can verify the expected behaviors
Thanks for your reply. It does work if I turn the setting off.
"document.head" is null at the runtime. Not sure if it only occurs on macos. I've created a PR to fix it https://github.com/sveltejs/svelte-devtools/pull/233
Reproduce steps
Expected behavior No error, Svelte tab should show components
Environment