Giter Site home page Giter Site logo

Comments (3)

foolip avatar foolip commented on July 28, 2024

As it stands, this doesn't throw an exception in any browser:
https://wpt.fyi/results/speech-api/SpeechSynthesis-speak-ownership.html

@jdsmith3000 @andrenatal, do you believe this should throw an exception? In Edge and Firefox, is this case handled at all? In Chromium, it looks like there's just no concept of ownership of SpeechSynthesisUtterance objects, if it's possible to pass them to speak() then they'll be added to an internal queue.

from speech-api.

stephenmcgruer avatar stephenmcgruer commented on July 28, 2024

Note also from web-platform-tests/wpt#23097, it was pointed out:

The language used is should throw an exception, not MUST throw an exception.

So technically not throwing an exception is spec-compliant, but that also sounds like a spec bug. SHOULD is reserved for cases where there is a good reason to disobey the behavior in specific circumstances (and it is usually best to spell out those circumstances).

There are some other good points in that issue; worth a read.

from speech-api.

marcoscaceres avatar marcoscaceres commented on July 28, 2024

So technically not throwing an exception is spec-compliant, but that also sounds like a spec bug.

Totally.

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.