Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upIDL methods and attributes returning promises should return rejected promises if they would throw an exception #26774
Labels
Projects
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://heycam.github.io/webidl/#dfn-attribute-getter (
if an exception E was thrown)https://heycam.github.io/webidl/#dfn-create-operation-function (
if an exception E was thrown)https://heycam.github.io/webidl/#invoke-a-callback-function (step 14.5)
An example of a test that fails without this is the idlharness tests for fetch() in fetch/api/idlharness.any.js