diff --git a/dom/notification/NotificationStorage.js b/dom/notification/NotificationStorage.js index 247cd2b92807..6c3470d8654a 100644 --- a/dom/notification/NotificationStorage.js +++ b/dom/notification/NotificationStorage.js @@ -86,7 +86,7 @@ NotificationStorage.prototype = { timestamp: new Date().getTime(), origin: origin, data: data, - behavior: behavior + mozbehavior: behavior }; this._notifications[id] = notification; @@ -207,7 +207,7 @@ NotificationStorage.prototype = { notification.tag, notification.icon, notification.data, - notification.behavior); + notification.mozbehavior); } catch (e) { if (DEBUG) { debug("Error calling callback handle: " + e); } }