Closed Bug 400764 Opened 17 years ago Closed 17 years ago

Don't depend on Firefox specifics for notifications for popups and missing plugins

Categories

(Toolkit :: UI Widgets, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta3

People

(Reporter: twanno, Assigned: twanno)

References

Details

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5
Build Identifier: 

pageReports from browser.xml which are used for blocked popups and the missing plugin wizard require a tabbrowser to be available, and the missing plugin wizard also uses the Firefox specific gMissingPluginInstaller.

For SeaMonkey, and maybe other toolkit derived apps, which want to go with a different approach to handle popups and plugins, this is not an ideal situation. 

So those Firefox specific features should be replaced with a more global approach.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
This patch makes the pageReports from browser.xml and the missing plugin wizard depend on browsers instead of tabs or the tabbrowser.
It also removes the dependency on the Firefox specific gMissingPluginInstaller from the missing plugin wizard and sends an event instead.
Attachment #285799 - Flags: review?(gavin.sharp)
Blocks: 278831, 393120
Assignee: nobody → twanno
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated patch
Attachment #285799 - Attachment is obsolete: true
Attachment #289342 - Flags: review?(gavin.sharp)
Attachment #285799 - Flags: review?(gavin.sharp)
Comment on attachment 289342 [details] [diff] [review]
depend on browsers instead of tabs or tabbrowser.

Sorry for the delay here :(

nit: please .selectedBrowser rather than .mCurrentBrowser for users outside of tabbrowser.
Attachment #289342 - Flags: review?(gavin.sharp) → review+
OS: Linux → All
Hardware: PC → All
Version: unspecified → Trunk
Updated patch addressing nit
Attachment #289342 - Attachment is obsolete: true
Attachment #293686 - Flags: review+
Comment on attachment 293686 [details] [diff] [review]
depend on browsers instead of tabs or tabbrowser. (v2)

This patch contains a few small changes concerning  notifications to the application for popup blocking and finished plugin installation, so that this toolkit code can be shared with SeaMonkey.
Attachment #293686 - Flags: approval1.9?
Attachment #293686 - Flags: review?(gavin.sharp)
Attachment #293686 - Flags: review+
Attachment #293686 - Flags: approval1.9?
Attachment #293686 - Flags: review?(gavin.sharp) → review+
Attachment #293686 - Flags: approval1.9+
Keywords: checkin-needed
Checking in toolkit/mozapps/plugins/content/pluginInstallerWizard.js;
/cvsroot/mozilla/toolkit/mozapps/plugins/content/pluginInstallerWizard.js,v  <--  pluginInstallerWizard.js
new revision: 1.22; previous revision: 1.21
done
Checking in toolkit/content/widgets/browser.xml;
/cvsroot/mozilla/toolkit/content/widgets/browser.xml,v  <--  browser.xml
new revision: 1.113; previous revision: 1.112
done
Checking in browser/base/content/browser.js;
/cvsroot/mozilla/browser/base/content/browser.js,v  <--  browser.js
new revision: 1.918; previous revision: 1.917
done
Checking in browser/base/content/tabbrowser.xml;
/cvsroot/mozilla/browser/base/content/tabbrowser.xml,v  <--  tabbrowser.xml
new revision: 1.256; previous revision: 1.255
done
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M11
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: