- From: Karl Dubost <notifications@github.com>
- Date: Wed, 02 Apr 2025 22:49:16 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 3 April 2025 05:49:20 UTC
karlcow created an issue (w3c/clipboard-apis#235) This is the second time that I meet a discrepancy in between some implementations and the specification. It creates confusion also for WPT which are not always following the spec. * [TypeError instead of NotAllowedError in navigator.clipboard.write(image/png DOMString)](https://github.com/web-platform-tests/wpt/issues/49301) * [[Clipboard API] DataError vs NotAllowedError for malformed image data. Spec bug or wrong WPT?](https://github.com/web-platform-tests/wpt/issues/51814) Safari has been implementing what the specification has defined, but the error types from other browsers are slightly different. It would be great to align the WPT and the specification in one way or the other to avoid the implementation ambiguities. In issues Clarify promise rejection value #76, NotAllowedError was added for a couple of scenario. And it was closed by #82 -- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/issues/235 You are receiving this because you are subscribed to this thread. Message ID: <w3c/clipboard-apis/issues/235@github.com>
Received on Thursday, 3 April 2025 05:49:20 UTC