Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox runbox errors #19

Closed
tomByrer opened this issue Jul 3, 2018 · 2 comments
Closed

Firefox runbox errors #19

tomByrer opened this issue Jul 3, 2018 · 2 comments

Comments

@tomByrer
Copy link

tomByrer commented Jul 3, 2018

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

@billiegoose
Copy link
Member

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.

@billiegoose
Copy link
Member

Yay! works for me now FF 61.0 64-bit on Windows (without the default settings, not with the about:config hack)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants