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)
Core
Web Speech
Tracking
()
RESOLVED
FIXED
mozilla45
People
(Reporter: Gijs, Assigned: m_kato)
References
Details
Attachments
(1 file, 2 obsolete files)
|
2.43 KB,
patch
|
eeejay
:
review+
|
Details | Diff | Splinter Review |
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)
| Reporter | ||
Comment 1•10 years ago
|
||
Err, meant bug 922841.
| Assignee | ||
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8666579 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8683064 [details] [diff] [review]
Add nsIObserver
add nsIObserver and initalize by profile-after-change
Attachment #8683064 -
Flags: review?(eitan)
Comment 7•10 years ago
|
||
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)
| Assignee | ||
Comment 8•10 years ago
|
||
(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.
| Assignee | ||
Comment 9•10 years ago
|
||
Attachment #8683064 -
Attachment is obsolete: true
| Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8687816 [details] [diff] [review]
Add nsIObserver v2
Add nsIObserver simply.
Attachment #8687816 -
Flags: review?(eitan)
Updated•10 years ago
|
Attachment #8687816 -
Flags: review?(eitan) → review+
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•