Closed Bug 1101978 Opened 10 years ago Closed 10 years ago

Deal with removal of the plugin finder service.

Categories

(SeaMonkey :: General, defect)

defect
Not set
normal

Tracking

(seamonkey2.32 fixed, seamonkey2.33 fixed, seamonkey2.34 affected)

RESOLVED FIXED
seamonkey2.34
Tracking Status
seamonkey2.32 --- fixed
seamonkey2.33 --- fixed
seamonkey2.34 --- affected

People

(Reporter: neil, Assigned: neil)

Details

Attachments

(3 files, 2 obsolete files)

Bug 836415 removed the PFS, so we shouldn't try to launch it.
Attached patch Branch-safe patch (obsolete) — Splinter Review
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #8525650 - Flags: review?(philip.chee)
Attachment #8525652 - Flags: review?(philip.chee)
Comment on attachment 8525650 [details] [diff] [review] Branch-safe patch > case nsIObjectLoadingContent.PLUGIN_UNSUPPORTED: > - // For broken non-object plugin tags, register a click handler so > - // that the user can click the plugin replacement to get the new > - // plugin. Object tags can, and often do, deal with that > - // themselves, so don't stomp on the page developer's toes. > - if (!(plugin instanceof HTMLObjectElement)) { > - // We don't yet check to see if there's actually an installer available. > - var installStatus = this.getPluginUI(plugin, "installStatus"); > - installStatus.setAttribute("status", "ready"); > - var iconStatus = this.getPluginUI(plugin, "icon"); > - iconStatus.setAttribute("status", "ready"); > - var installLink = this.getPluginUI(plugin, "installPluginLink"); > - this.addLinkClickCallback(installLink, installMissingPlugins); > - } > - > notification = "missing-plugins"; > message = this._stringBundle.GetStringFromName("missingpluginsMessage.title"); Why do we even show a notification at all? > <handler event="NewPluginInstalled" phase="capturing"> This should be removed as nothing dispatches this event after Bug 836415. https://hg.mozilla.org/mozilla-central/rev/d1ae4274cf8b#l6.30 > 6.30 - ok(PopupNotifications.getNotification("plugins-not-found", gTestBrowser), "Test 1a, Should have displayed the missing plugin notification"); > 6.31 - ok(gTestBrowser.missingPlugins, "Test 1a, Should be a missing plugin list"); > 6.32 - ok(gTestBrowser.missingPlugins.has("application/x-unknown"), "Test 1a, Should know about application/x-unknown"); > 6.33 - ok(!gTestBrowser.missingPlugins.has("application/x-test"), "Test 1a, Should not know about application/x-test"); Since we have plugin notification tests ported over from Firefox, we should fix out tests too.
Attachment #8525650 - Flags: review?(philip.chee) → review-
Attachment #8525652 - Flags: review?(philip.chee) → review+
Attached patch Branch-safe patch (obsolete) — Splinter Review
Attachment #8527251 - Flags: review?
Aargh, stupid Bugzilla, submitted when I didn't want to and even ignored what I'd already typed.
a) Why not? But to make it more interesting I added a Preferences button. Since this is still branch-safe I reused an existing string. b) Good catch, and I removed all of the missingPlugins logic too. c) Tests don't need fixing because the notification is still there.
Attachment #8525650 - Attachment is obsolete: true
Attachment #8527251 - Attachment is obsolete: true
Attachment #8527251 - Flags: review?
Attachment #8527252 - Flags: review?(philip.chee)
Attachment #8527252 - Flags: review?(philip.chee) → review+
Comment on attachment 8527252 [details] [diff] [review] Branch-safe patch [Approval Request Comment] Regression caused by (bug #): 836415 User impact if declined: Broken Install Plugins button String changes made by this patch: None
Attachment #8527252 - Flags: approval-comm-beta?
Attachment #8527252 - Flags: approval-comm-aurora?
Attachment #8527252 - Flags: approval-comm-beta?
Attachment #8527252 - Flags: approval-comm-beta+
Attachment #8527252 - Flags: approval-comm-aurora?
Attachment #8527252 - Flags: approval-comm-aurora+
Comment on attachment 8530674 [details] [diff] [review] Create a separate string rather then reusing the existing string This is for trunk right?
Attachment #8530674 - Flags: review?(philip.chee) → review+
Pushed comm-central changeset d26bc10d5d37. (In reply to Philip Chee from comment #12) > (From update of attachment 8530674 [details] [diff] [review]) > > This is for trunk right? Right.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.34
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: