[rfc][icedtea-web] Tiny patch to make last param in applet tag take effect, was first
Deepak Bhole
dbhole at redhat.com
Wed May 30 14:03:12 PDT 2012
* Adam Domurad <adomurad at redhat.com> [2012-05-30 16:59]:
> Tiny patch to make handling of applet tags more like Oracle's plugin.
> This makes our plugin take into account the last <param ...> tag with
> the same 'name'. It was taking into account the first such tag.
>
+1 as it mimics behavior of the proprietary plug-in which is the
standard.
OK for HEAD.
Cheers,
Deepak
> 2012-05-30 Adam Domurad <adomurad at redhat.com>
>
> * plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
> (parse) Small change to have last <param name=... value=...> tag to
> take effect.
> diff --git a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
> --- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
> +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java
> @@ -1923,9 +1923,6 @@ public class PluginAppletViewer extends
> Hashtable<String, String> t = scanTag(c, in);
> String att = t.get("name");
>
> - if (atts.containsKey(att))
> - continue;
> -
> if (att == null) {
> statusMsgStream.println(requiresNameWarning);
> } else {
More information about the distro-pkg-dev
mailing list