[wpt-sync] Sync PR 32537 - [Clipboard API]Throw exception on exceeding max custom formats support.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32537 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32537
Details from upstream follow.
Anupam Snigdha <snianu@microsoft.com> wrote:
[Clipboard API]Throw exception on exceeding max custom formats support.
This change adds logic to throw NotAllowedError exception when web
authors want to write more than 100 custom formats.
Currently we silently fail inScopedClipboardWriter::WriteData
,
but we got feedback from our partners that an exception would be
helpful in these scenarios.Bug: 106449
Change-Id: I814b653ee13fdf8332647b4b9fdff297bd130d27
Reviewed-on: https://chromium-review.googlesource.com/3415890
WPT-Export-Revision: 1222e5159ff18969019c4a559d74de9a0c165140
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 2 subtests
Status Summary
Firefox
OK : 1
FAIL: 2
Chrome
OK : 1
PASS: 1
FAIL: 1
Safari
OK : 1
FAIL: 2
Links
Details
New Tests That Don't Pass
/clipboard-apis/async-custom-formats-write-read.tentative.https.html
Verify write and read clipboard given 2 platform-neutral custom format inputs: FAIL (Chrome: PASS, Safari: FAIL)
navigator.clipboard.write() fails for more than 100 custom formats: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 6•3 years ago
|
||
bugherder |
Description
•