Firefox runbox errors
tomByrer opened this issue · 2 comments
At https://isomorphic-git.github.io/docs/browser.html
Running the *Now let's pick a directory to work in." section I get the following error in Fx Quantum 61 Linux (the default browser for my distro), but works in Chrome Version 67.0.3396.87
TypeError: e.attachShadow is not a function[Learn More] object-inspector.min.js:1:371
Interesting. https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow
Apparently some feature of object-inspector is still hidden behind a flag in the latest Firefox. You can enable it by going to about:config and searching for "shadowdom" and changing it from false to true. That seems to do the trick.
I bet it's completely broken in IE lol. Well... shucks. All I wanted was an expando-view-thingy to pretty-print the results. It needs the shadow dom so that external CSS styles doesn't leak into it. I'll see if I can have some kind of fallback.
Yay! works for me now FF 61.0 64-bit on Windows (without the default settings, not with the about:config hack)