TypeError: Failed to construct 'URL': Invalid URL
See original GitHub issueThis is for the chrome extension “axe - Web Accessibility Testing” which I believe is also developed by dequelabs. I was unsure where else to post this error.
Expectation: Not console error
Actual:
Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL
at y (content.bundle.js:33)
Motivation: So I can read more important console errors relating to development
axe - Web Accessibility Testing version: 4.8.4
Browser and Assistive Technology versions
Browser: Chrome 88.0.4324.190 (Official Build) (64-bit)
Operating System: Windows 10
This occurs on any page, even Google. The error usually occurs
multiple times.
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (4 by maintainers)
Top Results From Across the Web
DevTools Error: Failed to construct 'URL': Invalid URL #6145
Error Message: Failed to construct 'URL': Invalid URL Stack Trace: TypeError: Failed to construct 'URL': Invalid URL at new URLShim ...
Read more >TypeError: Failed to construct 'URL': Invalid URL - Treehouse
Hello, I'm attempting to use images and videos in my react component and I'm receiving one of two errors. Where I try the...
Read more >Failed to construct 'URL': Invalid URL in chrome extension v3 ...
javascript - Uncaught TypeError: Failed to construct 'URL': Invalid URL in chrome extension v3 when using messages - Stack Overflow. Stack ...
Read more >Uncaught TypeError: Failed to construct 'URL': Invalid base ...
I'm trying to develop my first android app using ionic 6 and vue 3, but I'm having this problem: “Uncaught TypeError: Failed to...
Read more >error extensions.js:2897 Uncaught TypeError: Failed to ...
chrome extension: error extensions. js:2897 Uncaught TypeError: Failed to construct 'URL': Invalid URL : r/learnjavascript.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Close, but not quite!
We were trying to construct an instance of a
URL
for communicating with the axe API server (https://axe.deque.com) before the server’s URL is set. We keep the server’s URL in the extension’s storage. The code looked something like this:The fix resembles:
Thanks for letting me know the fix 😄 and super thanks for looking into fixing it so quickly ❤️