- From: Marcos Cáceres <notifications@github.com>
- Date: Sun, 01 Mar 2026 22:46:09 -0800
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/payment-request/pull/1056@github.com>
Per TAG Design Principles §3.2.2, InvalidStateError should be used for document state issues, while AbortError is reserved for user-initiated aborts.
See: https://www.w3.org/TR/design-principles/#handle-non-fully-active-documents
part of #1040
The following tasks have been completed:
* [ ] Modified Web platform tests (link)
Implementation commitment:
* [ ] WebKit (link to issue)
* [ ] Chromium (link to issue)
* [ ] Gecko (link to issue)
Optional, impact on Payment Handler spec?
<!--
This comment and the below content is programmatically generated.
You may add a comma-separated list of anchors you'd like a
direct link to below (e.g. #idl-serializers, #idl-sequence):
Don't remove this comment or modify anything below this line.
If you don't want a preview generated for this pull request,
just replace the whole of this comment's content by "no preview"
and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/w3c/payment-request/pull/1056.html" title="Last updated on Mar 2, 2026, 6:45 AM UTC (7a1372d)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/payment-request/1056/a473a75...7a1372d.html" title="Last updated on Mar 2, 2026, 6:45 AM UTC (7a1372d)">Diff</a>
You can view, comment on, or merge this pull request online at:
https://github.com/w3c/payment-request/pull/1056
-- Commit Summary --
* fix: use InvalidStateError for non-fully-active document checks
-- File Changes --
M index.html (4)
-- Patch Links --
https://github.com/w3c/payment-request/pull/1056.patch
https://github.com/w3c/payment-request/pull/1056.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/pull/1056
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/payment-request/pull/1056@github.com>
Received on Monday, 2 March 2026 06:46:13 UTC