In MS Edge, if you pass a malformed url like http://Photo@ to the Url constructor of this library, you get a mysterious exception "A security problem occurred". You can see the same error by just running var link = document.createElement("a"); link.href = "http://Photot@"; link["protocol"]; in console. It would be better if domurl caught this and raised a more understandable error.
In MS Edge, if you pass a malformed url like
http://Photo@to the Url constructor of this library, you get a mysterious exception "A security problem occurred". You can see the same error by just runningvar link = document.createElement("a"); link.href = "http://Photot@"; link["protocol"];in console. It would be better if domurl caught this and raised a more understandable error.