RFR: JDK-8275406: Add copy-to-clipboard feature to snippet UI [v2]

Jonathan Gibbons jjg at openjdk.java.net
Wed Oct 27 17:08:14 UTC 2021


On Wed, 20 Oct 2021 14:41:43 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> I think this should be ok for the general case. Linking to "#" (i.e. empty fragment) is common practice for links that trigger script functions.
>
> What I mean is that the amended test will now pass for a URL which has an empty fragment but is not a "button".

I think this change is OK for now. We can make it more restrictive later if it becomes a problem.  I tried to come up with a short explanatory comment, but couldn't find one I was satisfied with.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6011



More information about the build-dev mailing list