Closed Bug 418904 Opened 18 years ago Closed 18 years ago

Premature call to nsINotificationArea.setTitle causes startup bustage

Categories

(Mozilla Labs :: Prism, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 419640

People

(Reporter: nossralf, Unassigned)

Details

Attachments

(1 file)

This pertains to webapps that have trayicon=true. The fix for bug 401797 causes setTitle to be called before an icon has been displayed using showIcon. The current behavior on Windows (and in my Linux WIP) is to throw NS_ERROR_NOT_AVAILABLE if there's no icon for a particular icon ID in setTitle (which is the case when you call setTitle before having called showIcon). The solution is to simply remove the premature call to setTitle in _processConfig. The fix for bug 401797 still works, since showTrayIcon uses document.title when setting the title for the tray icon (which the aforementioned fix set to the webapp name).
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: