Closed Bug 1080863 Opened 5 years ago Closed 5 years ago

'Pico Speech Synth', contract ID '@mozilla.org/synthpico;1' does not implement nsIObserver.

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: gwagner, Assigned: eeejay)

Details

Attachments

(2 files)

During B2G startup:
I/GeckoConsole(  209): While creating services from category 'profile-after-change', service for entry 'Pico Speech Synth', contract ID '@mozilla.org/synthpico;1' does not implement nsIObserver.
Selecting component based on other webspeech bugs.
Component: Web Audio → DOM
Eitan, can you take care of this?
Flags: needinfo?(eitan)
Comment on attachment 8504933 [details] [diff] [review]
Make nsPicoService an observer and initialize on profile-after-change. r=

NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsISpeechService)
->
NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIObserver)


(I prefer to use the first inherited interface as the canonical nsISupports)
Attachment #8504933 - Flags: review?(bugs) → review+
Assignee: nobody → eitan
New patch shows no breakage:
https://tbpl.mozilla.org/?tree=Try&rev=e089bc972b20
Flags: needinfo?(eitan)
I simply moved the constructor back out of the header so it doesn't use forward declarations.
Attachment #8505685 - Flags: review?(bugs)
Attachment #8505685 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/87192f7f5774
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.