Closed Bug 167601 Opened 18 years ago Closed 18 years ago
[object] Support <param name="PLUGINURL" ...>
Submitting bug to track the coding to support pluginspage in param element. The param element coding: <param name="pluginspage" value="path to xpi file"> The default plug-in functionality should be the same as with the embed element and the codebase attribute hack. This is to provide a mechanism to phase out the codebade attribute hack.
Priority: -- → P3
Target Milestone: --- → mozilla1.2beta
Arun corrected my mistake in requesting pluginspage instead of pluginsurl. So, the request should be to use pluginsurl. I have updated the Summary to reflect that change. Arun also pointed me to an historical reference of the use: http://developer.netscape.com/docs/manuals/htmlguid/tags14.htm#1684921 Thanks Arun!
Summary: Support <param name="pluginspage" ...> → Support <param name="pluginsurl" ...>
This patch will look for PLUGINURL (singular) in the PARAM tags of OBJECT tags instead of CODEBASE. The default plugins are already setup to look for this.
According to the spec here: http://developer.netscape.com/docs/manuals/htmlguid/tags14.htm#1684921 The name value should be singluar ___PLUGINURL__ ---- Anthony, can I get a review?
r=anthonyd, looks good.
Should both PLUGINSPAGE and PLUGINURL be supported, as the reference from Arun about Netscape 4.x documents? That would provide the advantage of allowing an unambiguous method of specifying whether the URI points to an XPI package or a human-readable download instruction page. PLUGINURL could also be used by other browsers that don't support any automatic download/installation, and by Mozilla for those cases when the XPI installation fails (say, because the XPI doesn't contain a plugin compatible with the user's platform). (From http://developer.netscape.com/docs/manuals/htmlguid/tags14.htm#1684921 ) ---- PLUGINSPAGE="instrURL" specifies the URL that contains the instructions for installing the plug-in if it is not already installed. PLUGINURL="pluginURL" is the URL of a Java Archive (JAR) file, which is a compressed collection of files that can be signed. ----
Peter S: see bug 169743 (just opened for pluginspage support
Comment on attachment 99228 [details] [diff] [review] patch v.1 sr=jst
Attachment #99228 - Flags: superreview+
Comment on attachment 99228 [details] [diff] [review] patch v.1 (from comments)
Attachment #99228 - Flags: review+
The relevant comment in the patch still refers to pluginspage: + // if we didn't find a PluginsPage param on the object tag, + // there's nothing more to do here + if(nsPluginTagType_Object == tagType && !bHasPluginURL) return rv; That should probably be changed to PluginURL to avoid confusing things...
comment fixed and patch checked into the trunk, marking FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.