dequelabs / axe-core

Accessibility engine for automated Web UI testing
https://www.deque.com/axe/
Mozilla Public License 2.0
5.99k stars 779 forks source link

Runtime issue: Cannot read property 'data' of undefined #2944

Closed vavrapavel closed 3 years ago

vavrapavel commented 3 years ago

Ran a full scan on instance of an internally hosted enterprise application Polarion (GUI done via GWT): https://polarion.plm.automation.siemens.com/products/polarion-alm

axe-core version: 4.2.0 axe-extension version: 4.9.3

TypeError: Cannot read property 'data' of undefined
    at Xl._l [as after] (chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/vendor.bundle.js:56:289593)
    at chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/vendor.bundle.js:56:324563
    at Array.forEach (<anonymous>)
    at ec.after (chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/vendor.bundle.js:56:324396)
    at chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/vendor.bundle.js:56:332384
    at Array.map (<anonymous>)
    at e.value (chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/vendor.bundle.js:56:332240)
    at chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/vendor.bundle.js:56:341091
    at chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/vendor.bundle.js:56:97118
    at chrome-extension://lhdoppojpmngadmnindnejefpokejbdd/vendor.bundle.js:56:100990
straker commented 3 years ago

Thanks for the issue. We'll look into it.

unity-a11y commented 3 years ago

Good morning! I am an engineer with Dell Technologies and our teams are experiencing this error, too. Can you please provide us with a status update? Is there any work-around at this point? Thank you!

gdkraus commented 3 years ago

We are experiencing the same issue with some of our internally hosted apps, but not all of our apps.

gdkraus commented 3 years ago

If it helps in diagnosing this, for us it seems to happen with apps with iframes, but not all apps with iframes. If I load two of our internal apps which have the same structure for the content in the parent frame but the single iframe in the app is different, if the iframe has a lot of contents the error occurs. If the iframe doesn't have much content it doesn't happen. When I get a chance I'll try to debug it further for the root cause in our apps.

Note, all of this definitely started happening with one of the latest axe devtools releases as we have never seen this error before.

gdkraus commented 3 years ago

When the error occurs, in the console I get the following message.

vendor.bundle.js:56 [Violation] 'setTimeout' handler took 499ms

straker commented 3 years ago

I've passed the ticket along to the appropriate team. They are looking into it now, but I'm not sure how long it will take to find the issue and get a fix out.

dylanb commented 3 years ago

We need to be able to reproduce this issue so if you find it on a public page, please post that URL here

dylanb commented 3 years ago

ok, looks like we have found a culprit, test pages would still be useful

gdkraus commented 3 years ago

I'll keep looking for some. I'm happy to test on our internal apps if you need confirmation of a fix.

gdkraus commented 3 years ago

@dylanb if you have access to Office 365 as a web app, I get the same error when running it in Word.

dylanb commented 3 years ago

This issue should now be fixed with the 4.17 release, closing