mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-17 14:59:12 +02:00
The `new URL(url)` statement will throw an error if the supplied string is not a valid URL. Adding a note to the function to clarify that as requested by @Rob--W.
2.0 KiB
2.0 KiB