iron-image icon indicating copy to clipboard operation
iron-image copied to clipboard

Handle a baseURI of null

Open dfreedm opened this issue 9 years ago • 2 comments

When ownerDocument.baseURI is null (detached document, maybe some other cases), new URL(url, baseURI) will throw. Only use new URL when baseURI is not null.

dfreedm avatar Aug 19 '16 19:08 dfreedm

This will cause #86 again when the URL isn't resolved. How about (this.ownerDocument || document).baseURI?

bicknellr avatar Aug 20 '16 01:08 bicknellr

I don't believe this is applicable anymore with the latest in master

stramel avatar May 25 '17 17:05 stramel