[Bug 1271] icedtea-web does not handle 'javascript:' protocol URLs

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Aug 1 10:56:32 PDT 2013


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1271

Garrett Mitchener <garrett.mitchener at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |garrett.mitchener at gmail.com

--- Comment #2 from Garrett Mitchener <garrett.mitchener at gmail.com> ---
I don't know if this is relevant, but I've had trouble with firefox and
javascript: URLs in other contexts.  The troublesome link was something like

<a href="javascript:document.doStuff()">...

It worked fine in google chrome, but firefox would sort of partially evaluate
document.doStuff(), and show me a page with a couple of lines of javascript
from somewhere in the dojo toolkit that I'm using.  I was able to get the link
to work in firefox by changing it to

<a href="javascript:document.doStuff();void(0);">...

which makes no sense to me, but it worked.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130801/c254a337/attachment.html 


More information about the distro-pkg-dev mailing list