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

Runtime issue: TypeError: Cannot read property 'nodeName' of undefined #1266

Closed
rosibaj opened this issue Nov 30, 2018 · 1 comment
Closed
Assignees
Labels
fix Bug fixes

Comments

@rosibaj
Copy link

rosibaj commented Nov 30, 2018

We ran axe on https://portal.gdc.cancer.gov/files/bdfeb593-3919-4e8d-9d03-cf613de35aaa

This looks like an error with the extension, not the page as far as we can tell

TypeError: Cannot read property 'nodeName' of undefined
    at chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/adapter.bundle.js:109:149458
    at Array.reduce (<anonymous>)
    at Object.l.getScope (chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/adapter.bundle.js:109:149418)
    at Object.l.isColumnHeader (chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/adapter.bundle.js:109:149565)
    at chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/adapter.bundle.js:109:94883
    at Array.reduce (<anonymous>)
    at Object.evaluate (chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/adapter.bundle.js:109:94748)
    at b.run (chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/adapter.bundle.js:76:8610)
    at chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/adapter.bundle.js:76:12663
    at chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/adapter.bundle.js:109:3865
@marcysutton
Copy link
Contributor

The check in question is th-has-data-cells. I can't tell exactly where this is in the source due to minification but there are a few array.reduce calls with nodeName in axe.commons.table.getScope and axe.commons.table.hasContent. It could be thrown by either of those for some reason...maybe it's iterating over DOM nodes and not virtual nodes?

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

No branches or pull requests

3 participants