Closed Bug 918388 Opened 11 years ago Closed 11 years ago

Enable Synth Web Speech API in pref

Categories

(Firefox OS Graveyard :: General, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Keywords: access)

Attachments

(1 file, 1 obsolete file)

So far, I only think it should be on by default in b2g since that is the only app we ship voices for.
Don't know who should review this, hub should do :)
Attachment #809597 - Flags: review?(hub)
Hi Eitan,

I found that the nsPicoService is registered with the "app-startup" category. nsPicoService gets instantiated in each content process, which looks to be unnecessary. Is there any reason for starting up on app startup? If not then we should consider instantiate the service only when necessary.
Flags: needinfo?(eitan)
(In reply to Cervantes Yu from comment #2)
> I found that the nsPicoService is registered with the "app-startup"
> category. nsPicoService gets instantiated in each content process, which
> looks to be unnecessary. Is there any reason for starting up on app startup?
> If not then we should consider instantiate the service only when necessary.

This is being dealt with in bug 918989.
Flags: needinfo?(eitan)
(In reply to Eitan Isaacson [:eeejay] from comment #1)
> Created attachment 809597 [details] [diff] [review]
> Enable Synth Web Speech API pref in b2g
> 
> Don't know who should review this, hub should do :)

Please update dom/tests/mochitest/general/test_interfaces.html and ask a DOM peer for review.
Comment on attachment 809597 [details] [diff] [review]
Enable Synth Web Speech API pref in b2g

I would have picked Fabrice instead. I am not peer.
Attachment #809597 - Flags: review?(hub) → review?(fabrice)
Added interface test, and sent to try:
https://tbpl.mozilla.org/?tree=Try&rev=16e7823cd036
Attachment #809597 - Attachment is obsolete: true
Attachment #809597 - Flags: review?(fabrice)
Comment on attachment 810057 [details] [diff] [review]
Enable Synth Web Speech API pref in b2g

The try results look good enough.
Attachment #810057 - Flags: review?(fabrice)
Attachment #810057 - Flags: review?(bugs)
Attachment #810057 - Flags: review?(fabrice) → review+
Comment on attachment 810057 [details] [diff] [review]
Enable Synth Web Speech API pref in b2g

I guess it would be good to get some memory usage stats.
Attachment #810057 - Flags: review?(bugs) → review+
(In reply to Olli Pettay [:smaug] from comment #8)
> Comment on attachment 810057 [details] [diff] [review]
> Enable Synth Web Speech API pref in b2g
> 
> I guess it would be good to get some memory usage stats.

How do we go about that?
Don't we have about:memory on b2g too? What is the memusage before the patch after the patch?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: