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

rootNode null when viewing SVG file #16

Open
matthewlein opened this issue Dec 15, 2015 · 1 comment
Open

rootNode null when viewing SVG file #16

matthewlein opened this issue Dec 15, 2015 · 1 comment

Comments

@matthewlein
Copy link

With devtools open, you can see the error https://upload.wikimedia.org/wikipedia/commons/0/02/SVG_logo.svg

if (!rootNode) { return; } would probably get 'er done quick and dirty.

@PythonCoderAS
Copy link

Yes it is a problem.

Uncaught TypeError: Cannot read property 'nodeType' of null
    at walk (content_script.js:10)
    at content_script.js:1
content_script.js:4 Uncaught TypeError: Failed to execute 'createTreeWalker' on 'Document': parameter 1 is not of type 'Node'.
    at walk (content_script.js:4)
    at walkAndObserve (content_script.js:288)
    at content_script.js:301

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