- From: Feng Yu <notifications@github.com>
- Date: Sun, 01 Dec 2024 16:54:18 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/clipboard-apis/pull/231@github.com>
Omitting `eventInitDict` resulted in `pasteEvent.clipboardData` being `null`, which caused an error when calling`pasteEvent.clipboardData.items.add`.
<!--
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/F3n67u/clipboard-apis/pull/231.html" title="Last updated on Dec 2, 2024, 12:53 AM UTC (bf04c51)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/clipboard-apis/231/2eebe17...F3n67u:bf04c51.html" title="Last updated on Dec 2, 2024, 12:53 AM UTC (bf04c51)">Diff</a>
You can view, comment on, or merge this pull request online at:
https://github.com/w3c/clipboard-apis/pull/231
-- Commit Summary --
* Fix ClipboardEvent example to include `eventInitDict` param
-- File Changes --
M index.bs (4)
-- Patch Links --
https://github.com/w3c/clipboard-apis/pull/231.patch
https://github.com/w3c/clipboard-apis/pull/231.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/231
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/clipboard-apis/pull/231@github.com>
Received on Monday, 2 December 2024 00:54:22 UTC