-
Notifications
You must be signed in to change notification settings - Fork 776
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
JavascriptError: javascript error: uri.substr is not a function
#4104
Comments
Thanks for the issue. Turns out this is an issue in axe-core itself so I'm going to move it to there. Seems there's a script on the page for the url |
Looking further into this, I going to say this in not a problem with axe-core but instead a problem with that particular page. Element.getAttribute() must return a string per spec, but on that particular page it returns a TrustedScriptURL object. This means that the Because of this, I'm going to close this issue. You'll need to fix the prototypes before axe-core will work. |
Odd -- Thanks for the quick reply @straker ! |
@padmavemulapati this issue was correctly closed. On Friday, we were able to confirm with Osano that one of their scripts was incorrectly overriding the |
Product
cli
Product Version
4.7.3
Latest Version
Issue Description
Expectation
I can complete a scan of the URL:
https://tulip.co
Actual
I receive the error listed in the name of the issue. Included below is the full stack-trace:
How to Reproduce
axe-core/cli
installed globally, attempt to run a scan oftulip.co
via the command:axe tulip.co
Additional context
4.7.3
.*.co
domains as well (https://go.co for example)The text was updated successfully, but these errors were encountered: