Closed
Bug 1016748
Opened 11 years ago
Closed 9 years ago
[Gaia] speechSynthesis is undefined
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: kgrandon, Unassigned)
Details
Attachments
(1 file)
Seems like we've recently had a test go perma-red in the last few hours or so. I'm filing this under gaia for now, but my assumption is that something recently landed in gecko that would cause this to break. We may want to close the gaia tree for this.
1) [system-test/unit/accessibility_test.js] system/Accessibility handleEvent toggles screenreader state after button sequence:
TypeError: this.speechSynthesis is undefined
at ar_handleEvent (http://system.gaiamobile.org:8080/js/accessibility.js:163:7)
at (anonymous) (http://system.gaiamobile.org:8080/test/unit/accessibility_test.js:39:9)
at wrapper (http://system.gaiamobile.org:8080/common/test/mocha_generators.js:62:13)
at run (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3709:7)
at runTest (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4081:5)
at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4127:7)
at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4007:7)
at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4016:7)
at next (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3964:16)
at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:3984:5)
at (anonymous) (http://system.gaiamobile.org:8080/common/vendor/mocha/mocha.js:4932:28)
Reporter | ||
Comment 1•11 years ago
|
||
Eitan - not really sure who to ask about this. Any ideas as to where we might look?
Flags: needinfo?(eitan)
Reporter | ||
Comment 2•11 years ago
|
||
Unit tests worked on: http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux64/1401195617/firefox-32.0a1.en-US.linux-x86_64.tar.bz2
But failed on this build:
http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux64/1401197063/firefox-32.0a1.en-US.linux-x86_64.tar.bz2
Reporter | ||
Comment 3•11 years ago
|
||
Disabling the test for now so we don't have to close gaia. We should figure this out quickly though.
https://github.com/mozilla-b2g/gaia/commit/c2a24a1037323879c77f662229b8461eff7ea1dc
Keywords: leave-open
![]() |
||
Comment 4•11 years ago
|
||
The Gecko range from comment 2 is http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5cb28a6e5da2&tochange=448f2153d6d3
Looks like the issue is WebIDL window. In particular, window.speechSynthesis is only exposed in WebIDL if the media.webspeech.synth.enabled pref is set, but used to be exposed unconditionally. That last seems a bit weird, but we've been shipping it for a while now. :(
Reporter | ||
Comment 5•11 years ago
|
||
Reporter | ||
Comment 6•11 years ago
|
||
So it appears that even after setting the pref window.speechSynthesis is still not exposed in nightly? I need to go now but will investigate more tomorrow.
![]() |
||
Comment 7•11 years ago
|
||
> So it appears that even after setting the pref window.speechSynthesis is still not
> exposed in nightly?
Should work, for things that are loaded after the pref is set.
Comment 8•11 years ago
|
||
Crap, we really have exposed the property :(
We really need some test_interfaces -like test to ensure we don't expose properties and methods accidentally.
Reporter | ||
Comment 10•9 years ago
|
||
I think this bug is no longer valid.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
Comment 11•7 years ago
|
||
Removing leave-open keyword from resolved bugs, per :sylvestre.
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•