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

Failed to construct URL on extension install #251

Open
bradcush opened this issue Jul 21, 2023 · 0 comments
Open

Failed to construct URL on extension install #251

bradcush opened this issue Jul 21, 2023 · 0 comments
Labels
exception Caught or uncaught exceptions
Milestone

Comments

@bradcush
Copy link
Owner

Uncaught (in promise) TypeError: Failed to construct 'URL': Invalid URL has been observed as happening when an extension is loaded for the first time. Personally I have tabs open like chrome://extensions and chrome://version which could be the cause. The stack trace indicates this happens on the last line of the extractHostname function where new URL(extractedUrl).hostname; is called.

@bradcush bradcush added the exception Caught or uncaught exceptions label Jul 21, 2023
@bradcush bradcush added this to the open milestone Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exception Caught or uncaught exceptions
Projects
None yet
Development

No branches or pull requests

1 participant