Closed Bug 1130502 Opened 10 years ago Closed 10 years ago

window.Notification() throws exception NS_ERROR_FACTORY_NOT_REGISTERED

Categories

(SeaMonkey :: General, defect)

defect
Not set
normal

Tracking

(seamonkey2.35 fixed)

RESOLVED FIXED
seamonkey2.35
Tracking Status
seamonkey2.35 --- fixed

People

(Reporter: philip.chee, Assigned: philip.chee)

References

()

Details

Attachments

(1 file)

> binki: window.Notification() throws exception NS_ERROR_FACTORY_NOT_REGISTERED > binki: The desktop notification displays, but my JavaScript code’s execution gets halted by that exception > NeilAway: binki: ok, we seem to be missing NotificationStorage.js We'll need the packaging bits from Bug 899574 (Notification API follow-up: provide a way to get current Notification objects)
> case "final-ui-startup": ...... > LoginManagerParent.init(); > Components.utils.import("resource://gre/modules/Webapps.jsm"); > + Components.utils.import("resource://gre/modules/NotificationDB.jsm"); "final-ui-startup" seems a convenient place to put this but I could be wrong.
Attachment #8560875 - Flags: review?(neil)
Here is a handy webpage to test HTML5 notifications: http://www.bennish.net/web-notifications.html
Attachment #8560875 - Flags: review?(neil) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: