-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assertSpeakingPropertiesInSync breaks outside of Chrome #1317
Comments
Can we convince ourselves that the assertion is not necessary and that speakingProperty does not need to exactly reflect |
Also, the speakingProperty is not used at all in or out of voicingManager. Can we just remove it? |
I removed @zepumph since we discussed |
Sounds excellent to me! I think we can get really really far improving the behavior of start/end emitters across all browsers, and that will provide enough of a hook to accomplish pretty much everything I can think of this Property providing. Thanks for the ingenious problem solving here. |
Sounds good, thanks! |
The
assertSpeakingPropertiesInSync
works for Chrome, but not in Firefox (and possibly others).In #1288 (comment) I said
But that is not true for Firefox. After calling
synth.speak
synth.speaking
returns false in Firefox.When I remove the assertion after the speak call (which clearly makes the assumption that
synth.speaking
is set synchronously) I still hit the assertion sometimes just tabbing around. In these cases where it is breakingspeakingProperty.value
is true whilesynth.speaking
is false.THis was found in phetsims/friction#268
The text was updated successfully, but these errors were encountered: