Giter Site home page Giter Site logo

Comments (13)

foolip avatar foolip commented on July 28, 2024

@gshires, do you have thoughts on this?

from speech-api.

foolip avatar foolip commented on July 28, 2024

@gshires poked @minorninth :)

from speech-api.

karlcow avatar karlcow commented on July 28, 2024

@foolip and we had a Webcompat issue about it.
webcompat/web-bugs#2966

from speech-api.

minorninth avatar minorninth commented on July 28, 2024

I don't have a really strong preference for whether it should be reusable or not, but I agree that we should come to a consensus and document it.

Is there any reason NOT to allow SpeechSynthesisUtterance to be reused? If not, let's file a bug against Gecko to allow it to be reused, and if they accept it, we can document it and then we'll have parity.

from speech-api.

karlcow avatar karlcow commented on July 28, 2024

@minorninth

If not, let's file a bug against Gecko to allow it to be reused, and if they accept it, we can document it and then we'll have parity.

This is the origin of this issue. 😄 In the first description, the link is there.
https://bugzilla.mozilla.org/show_bug.cgi?id=1372325

from speech-api.

karlcow avatar karlcow commented on July 28, 2024

+1 to allow the reuse of it.

  • Edge, Chrome and Safari do the same thing
  • Google search is using the feature.

from speech-api.

foolip avatar foolip commented on July 28, 2024

Sounds like we should absolutely fix this. The problematic bit in the spec is "The SpeechSynthesis object takes exclusive ownership of the SpeechSynthesisUtterance object. Passing it as a speak() argument to another SpeechSynthesis object should throw an exception."

Is it just a matter of removing this, or does that open up new and hard questions to answer?

from speech-api.

foolip avatar foolip commented on July 28, 2024

Does anyone know who the best contacts for Edge and Safari would be for Speech? In web-platform-tests/wpt#7507 I'm adding OWNERS and would like to include them, and web-platform-tests/wpt#7510 will fail in Safari, so their input would be great.

@patrickkettner @youennf halp?

from speech-api.

eeejay avatar eeejay commented on July 28, 2024

The problematic bit in the spec is "The SpeechSynthesis object takes exclusive ownership of the SpeechSynthesisUtterance object. Passing it as a speak() argument to another SpeechSynthesis object should throw an exception."

How does this relate to re-usability with the same SpeechSynthesis instance? Seems like that sentence could stay with a qualifier that re-using an utterance in the same SpeechSynthesis instance is OK.

from speech-api.

foolip avatar foolip commented on July 28, 2024

Oh, I actually hadn't read that very carefully, what it says is actually quite reasonable. Then we should just have a test to prove that it throws when passing to another window's SpeechSynthesis instance.

from speech-api.

patrickkettner avatar patrickkettner commented on July 28, 2024

@foolip I'll track down the right person for you on the edge side of stuff

from speech-api.

foolip avatar foolip commented on July 28, 2024

Thanks @patrickkettner, can you add them to https://github.com/w3c/web-platform-tests/blob/master/speech-api/OWNERS if you find them?

@makotokato, with the added test, I think this issue is resolved, WDYT?

from speech-api.

makotokato avatar makotokato commented on July 28, 2024

with the added test, I think this issue is resolved, WDYT?

Yes, as this issue, it is OK.

from speech-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.