Closed Bug 133864 Opened 22 years ago Closed 22 years ago

Back end work to enable Plugin Finder Service Preference

Categories

(Core Graveyard :: Plug-ins, defect, P3)

All
Windows 2000

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0

People

(Reporter: greggl, Assigned: peterlubczynski-bugs)

References

Details

(Whiteboard: [ADT2][hitlist])

Attachments

(1 file, 3 obsolete files)

This work is tied to the UI work for the Plugin Finder Service (PFS) Preference.
 Peter Lubcynski is going to do this work.

If PFS pref is on, use new system.  If PFS pref is off, use legacy system.

http://bugzilla.mozilla.org/show_bug.cgi?id=133863
depends on 133863
Depends on: 133863
Keywords: nsbeta1
I'm not sure the dependancy is right, might be the other way around. FE work
does not preclude this bug from being fixed.
No longer depends on: 133863
Blocks: 133863
adding nsbeta1+ per ADT meeting
Keywords: nsbeta1nsbeta1+
Here's a patch that will always send pluginspage/pluginurl to get_plugin.cgi
unless the pref "pref.application.use_ns_plugin_finder" is set to false. I'm
using the NPAPI to get the service manager.
Comment on attachment 77036 [details] [diff] [review]
first try at a patch to windows default plugin

r=av
Attachment #77036 - Flags: review+
Adding ADT2 to Status Whiteboard, becasue this blocks bug 133863, which is
marked as ADT2.

Nominating for Mozilla 1.0.
Keywords: mozilla1.0
Whiteboard: [ADT2]
Priority: -- → P3
Target Milestone: --- → mozilla1.0
What are the plans for landing this one? Is this gonna make Mozilla 1.0 RC1?
Whiteboard: [ADT2] → [ADT2] [ETA ??/??]
Attachment 77036 [details] [diff] is okay, but I think Gregg wanted some more changes. However,
he's on vacation this week.
Whiteboard: [ADT2] [ETA ??/??] → [ADT2] [ETA 4/17]
Are gregg's changes the gating factor on resolving this one?
I have a patch in my tree that I'm still testing with what I think he wants.
However, I'd like to get sign-off before it's checked in.
Left a vm on Peter's SD phone. Peter, call me when you have a chance and we'll
go through this.
Attached patch patch v.2 (obsolete) — Splinter Review
New patch features:

* defaults to old behavior if pref is missing
* matches pref name in bug 133863
* removes get_plugin.cgi and jvm.html entirely. We will now only do a simple
window.open() on plug-in_finder.cgi with pluginspage/pluginsurl
* sends pluginspage/pluginsurl if javascript is turned off
Attachment #77036 - Attachment is obsolete: true
Attached patch patch v.3 (obsolete) — Splinter Review
New patch:
 * fixes one case when when we sent pluginspage/pluginsurl despite pref being
off
 * fixes extra 'blank window' problem

Gregg, could you update the PFS to return the right XPI's for Flash, Real, Java
for the right browser? Java currently returns a "not found" page for:
http://cgi.netscape.com/cgi-bin/plug-in_finder.cgi?mimetype=application/x-java-vm
Attachment #78773 - Attachment is obsolete: true
Aruner - Is the java issue Peter mentions above, related to us having a not
having a later java up on the server for mozilla?
Keywords: adt1.0.0+, approval
Whiteboard: [ADT2] [ETA 4/17] → [ADT2] [ETA 4/17][hitlist]
Comment on attachment 79433 [details] [diff] [review]
patch v.3

We should at least change a comment about Mozilla returning
nsIServiceManagerObsolete. QI for nsIServiceManager is not necessary but still
can be done. r=av.
Attachment #79433 - Flags: review+
Attached patch patch v.4Splinter Review
Attachment #79433 - Attachment is obsolete: true
Attachment #79519 - Flags: review+
Comment on attachment 79519 [details] [diff] [review]
patch v.4

r=av
Comment on attachment 79519 [details] [diff] [review]
patch v.4

sr=attinasi
Attachment #79519 - Flags: superreview+
Pls land this on the trunk and the branch tonight.
patch in trunk and branch (8am builds), marking FIXED.
Status: NEW → RESOLVED
Closed: 22 years ago
Keywords: approvalfixed1.0.0
OS: All → Windows 2000
Resolution: --- → FIXED
Whiteboard: [ADT2] [ETA 4/17][hitlist] → [ADT2][hitlist]
So far as I can tell, no one from drivers approved this bug for checkin to the
branch.
sorry! forgot Jaime doesn't speak for Drivers. Do you want me to back it out of
the branch?
Unless Mozilla really has a strong objection to this one. I'd suggest we leave
it "IN", because it is really needed by Netscape.
jaime: that's interesting but it is also the absolutely wrong thing to say.
netscape is not and should not be driving the mozilla branch.
what someone should do instead is provide reasons that mozilla.org would want 
this feature.
approval after the fact via e-mail:
On Wed, Apr 17, 2002 at 08:10:00AM -0700, Peter Lubczynski wrote:

> Drivers,
> 
> Sorry I checked in this patch to the 1.0 branch before getting your 
> approval. I miss took adt1.0.0+ for complete approval. Would you like me 
> to back it out?


Drivers think it's fine.  Thanks for bringing it to our attention.

Mike

---------------------
Also since the default plugin is "plug-able", I think Mozilla can make their
own. Embedding vendors are shipping their own as well.
Shrir/Greggl - Pls verify that the Plugin Finder works as designed.
I checked out this fix. 
There are two bugs open for the new issues: bug 138500 and bug 139529. Other 
than checking the new logic of the default plugin , I cannot verify that the PFS 
is completely working fine unless these two bugs are closed and new xpi wrapped 
installers for major tier1 plugins or at least some plugins are hosted on PFS 
website. 
As far as this bug goes, the default plugin logic works nicelty now overriding 
the web author's "pluginspage/pluginsurl" attrib and takes the user to nscp 
plugin download page. adding "verified1.0.0" kwd.
Keywords: verified1.0.0
adding dependency
Depends on: 138500, 139529
this was long done..verif on trunk.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: