[whatwg/webidl] Add OptOutError to the error names list (PR #1231)

This PR adds a new OptOutError to the DOMException error names list. We plan to use this error name in the Secure Payment Confirmation API (see issue #1168). Since we don't need any additional attributes (i.e., we don't need a new class interface to extend DOMException), a new error name will suffice. The error name is generic so that it can be used by other APIs with similar use cases.

<!--
Thank you for contributing to the Web IDL Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [ ] At least two implementers are interested (and none opposed):
   * In the short term, this error name will be used by the Secure Payment Confirmation API implemented in Chrome, and can be used in a similar fashion by other APIs.
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * Usage of the error name will be tested by APIs (e.g. Secure Payment Confirmation) that use it.
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1383295
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed:
   * Will open a PR to add this to https://developer.mozilla.org/en-US/docs/Web/API/DOMException#error_names

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)

You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/webidl/pull/1231

-- Commit Summary --

  * Add OptOutError to the error names list

-- File Changes --

    M index.bs (5)

-- Patch Links --

https://github.com/whatwg/webidl/pull/1231.patch
https://github.com/whatwg/webidl/pull/1231.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/pull/1231
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/pull/1231@github.com>

Received on Friday, 11 November 2022 19:13:13 UTC