Closed Bug 1202735 Opened 10 years ago Closed 10 years ago

Startup warning: While creating services from category 'profile-after-change', service for entry 'Sapi Speech Synth', contract ID '@mozilla.org/synthsapi;1' does not implement nsIObserver

Categories

(Core :: Web Speech, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla45
Tracking Status
firefox43 --- affected
firefox45 --- fixed

People

(Reporter: Gijs, Assigned: m_kato)

References

Details

Attachments

(1 file, 2 obsolete files)

I see this on my Windows 8.1 machine every day, and I'm wondering what's breaking. Maybe related to / dupe of bug 1080863 ?
Flags: needinfo?(m_kato)
Err, meant bug 922841.
take this.
Assignee: nobody → m_kato
Flags: needinfo?(m_kato)
Attached patch Add nsIObserver (obsolete) — Splinter Review
Attached patch Add nsIObserver (obsolete) — Splinter Review
Attachment #8666579 - Attachment is obsolete: true
Comment on attachment 8683064 [details] [diff] [review] Add nsIObserver add nsIObserver and initalize by profile-after-change
Attachment #8683064 - Flags: review?(eitan)
Comment on attachment 8683064 [details] [diff] [review] Add nsIObserver Review of attachment 8683064 [details] [diff] [review]: ----------------------------------------------------------------- One question below. ::: dom/media/webspeech/synth/windows/SapiService.cpp @@ +369,5 @@ > +SapiService::Observe(nsISupports* aObject, const char* aTopic, > + const char16_t* aMessage) > +{ > + if (!strcmp(aTopic, "profile-after-change")) { > + Init(); Is it necessary to call init here? Isn't that the job of SapiModule?
Attachment #8683064 - Flags: review?(eitan)
(In reply to Eitan Isaacson [:eeejay] from comment #7) > Comment on attachment 8683064 [details] [diff] [review] > Add nsIObserver > > Review of attachment 8683064 [details] [diff] [review]: > ----------------------------------------------------------------- > > One question below. > > ::: dom/media/webspeech/synth/windows/SapiService.cpp > @@ +369,5 @@ > > +SapiService::Observe(nsISupports* aObject, const char* aTopic, > > + const char16_t* aMessage) > > +{ > > + if (!strcmp(aTopic, "profile-after-change")) { > > + Init(); > > Is it necessary to call init here? Isn't that the job of SapiModule? I change init to profile-after-change. But I think that this fix cannot check Init is failed. So I will update this.
Attachment #8683064 - Attachment is obsolete: true
Comment on attachment 8687816 [details] [diff] [review] Add nsIObserver v2 Add nsIObserver simply.
Attachment #8687816 - Flags: review?(eitan)
Attachment #8687816 - Flags: review?(eitan) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: