-
Notifications
You must be signed in to change notification settings - Fork 2k
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
SpeechSynthesisEvent.elapsedTime spec change ms to s #13236
Conversation
Note: Update to be deprecated subfeature - |
34e6aa3
to
d733fc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple little fixes. Thank you!
Update api/SpeechSynthesisEvent.json Co-authored-by: Daniel D. Beck <[email protected]>
a072db3
to
4ddc0e1
Compare
Thanks @ddbeck - makes sense. Should be good to merge now. FYI I squashed my own commits, just because I felt like hiding the screw up with adding yarn.lock :-0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thank you! 🎉
The Web Speech API spec recently changed the event property
SpeechSynthesisEvent.elapsedTime
from milliseconds to seconds:There is a demo fiddle here https://jsfiddle.net/ybe1c6ot/ (comes from this issue).
To update this I have followed @ddbeck suggestion of having a subfeature for the deprecated behaviour named milliseconds, which has a version-removed matching the version in which browsers update. I also will not update the handlers and specific instances.
I also set the experimental flag
false
.P.S.- Docs tracking: mdn/content#10221
Fixes #12595