Closed Bug 1389057 Opened 7 years ago Closed 7 years ago

Console log on startup: "While creating services from category 'profile-after-change', service for entry 'Notification Telemetry Service', contract ID '@mozilla.org/notificationTelemetryService;1' does not implement nsIObserver."

Categories

(Core :: DOM: Push Subscriptions, defect, P2)

55 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox-esr52 --- unaffected
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- fixed

People

(Reporter: standard8, Assigned: swapneshks)

References

Details

(Keywords: regression)

Attachments

(1 file)

This seems to be harmless, but it is beign logged on every startup:

While creating services from category 'profile-after-change', service for entry 'Notification Telemetry Service', contract ID '@mozilla.org/notificationTelemetryService;1' does not implement nsIObserver.

Bug 1351034 swapped NotificationTelemetryService from a nsIObserver to nsISupports.
Maybe Swapnesh can take a look?
Flags: needinfo?(swapneshks)
Priority: -- → P2
Actually, I'm a bit busy over the weekend (for convocation). I'll have a look at this bug (this coming Tuesday [15th Aug]) once that's done. I'm totally fine if someone else wants to have a look at this by then.

(Keeping the needinfo flag so that I don't forget about this :) )
Comment on attachment 8897542 [details]
Bug 1389057 - Inherit NotificationTelemetryService from nsIObserver

Hi Andrew,
This patch clears the error message. Who would be the appropriate person to tag for review?
Flags: needinfo?(swapneshks) → needinfo?(overholt)
(In reply to Swapnesh Kumar Sahoo [:swapneshks] from comment #4)

> This patch clears the error message. Who would be the appropriate person to tag for review?

Sorry, I meant the warn message mentioned in bug description.
Just out of curiosity, :smaug mentioned in bug 1211974 that "we explicitly handle the case when nsIObserver isn't implemented" -- https://searchfox.org/mozilla-central/source/xpcom/components/nsCategoryManager.cpp#813
Comment on attachment 8897542 [details]
Bug 1389057 - Inherit NotificationTelemetryService from nsIObserver

Maybe Kit?
Flags: needinfo?(overholt)
Attachment #8897542 - Flags: review?(kit)
Thanks, Swapnesh!
Comment on attachment 8897542 [details]
Bug 1389057 - Inherit NotificationTelemetryService from nsIObserver

https://reviewboard.mozilla.org/r/168804/#review174188

Thanks!
Attachment #8897542 - Flags: review?(kit) → review+
My pleasure!
Assignee: nobody → swapneshks
Pushed by kcambridge@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3423703d694a
Inherit NotificationTelemetryService from nsIObserver r=kitcambridge
https://hg.mozilla.org/mozilla-central/rev/3423703d694a
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Does seem worth backporting, but feel free to set the status to affected and nominate for approval if you feel otherwise.
Version: Trunk → 55 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: