screenshots
screenshots copied to clipboard
Screenshots of IPv6 addresses don't work
I get only an error when I try to take a screenshot of a website with an IPv6 address like http://[1234:5678:90ab:cdef::2]:
"Whoa! Firefox Screenshots went haywire. We're not sure what just happened. Care to try again or take a shot of a different page? Error: Not a URL"
Related to #2778
I'm not sure it's related to #2778. The error is from line 44 of shared/shot.js which uses new URL() in isURL() to validate URLs, no regex as far as I can see. EDIT: Derp. It was related, someone already fixed it.
Hey @Tacklebox, thanks for the comment. You're correct about isURL(). It looks like the error is from a regex--the one in originFromUrl().
Anything happen here? I'm still experiencing this issue, although the IPv6 address I'm accessing isn't part of the public internet, idk if that's part of the problem.
+1 for the request
I found a work-around to this. If you navigate to the element you want to screenshot in the devtools document inspector, you can screenshot the node from there successfully.