[wpt-sync] Sync PR 23648 - Clipboard API Tests: Await set_permission to deflake tests.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox78 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 23648 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/23648
Details from upstream follow.
Darwin Huang <huangdarwin@chromium.org> wrote:
Clipboard API Tests: Await set_permission to deflake tests.
await set_permission, which is an async function. Somehow, this was
missed in https://crrev.com/c/2065346 and https://crrev.com/c/2200278,
causing some of these tests to flake (1/10 times).Bug: 1083268, 1082747
Change-Id: Iedf7e63a02d200c76df0aaa431980493c6a35e61Reviewed-on: https://chromium-review.googlesource.com/2204838
WPT-Export-Revision: 3aeb63355b8e6a8c445f0e8a00d416192f7be3b6
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 14 tests and 1 subtests
Status Summary
Firefox
OK : 14
FAIL: 19
Chrome
OK : 14
PASS: 19
Safari
OK : 14
FAIL: 19
Links
Details
New Tests That Don't Pass
/clipboard-apis/async-write-blobs-read-blobs.https.html
Verify write and read clipboard (multiple types): FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/text-write-read/async-write-readText.https.html
Verify write and read clipboard given text: Clipboard write ([text/plain ClipboardItem) -> read text test: FAIL (Chrome: PASS, Safari: FAIL)
Verify write and read clipboard given text: non-Latin1 text encoding test データ: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/text-write-read/async-write-read.https.html
Verify write and read clipboard given text: Clipboard write ([text/plain ClipboardItem]) -> read ([text/plain ClipboardItem]) test: FAIL (Chrome: PASS, Safari: FAIL)
Verify write and read clipboard given text: non-Latin1 text encoding test データ: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/permissions/readText-denied.https.html
navigator.clipboard.readText() fails when permission denied: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/detached-iframe/read-on-detaching-iframe.https.html
Verify read fails on detaching iframe: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/detached-iframe/write-read-on-detached-iframe.https.html
Verify read and write fail on detached iframe: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/text-write-read/async-writeText-read.https.html
Verify write and read clipboard given text: Clipboard write text -> read ([text/plain ClipboardItem]) test: FAIL (Chrome: PASS, Safari: FAIL)
Verify write and read clipboard given text: non-Latin1 text encoding test データ: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/permissions/writeText-granted.https.html
navigator.clipboard.writeText() succeeds when permission granted: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/text-write-read/async-writeText-readText.https.html
Verify write and read clipboard given text: non-Latin1 text encoding test データ: FAIL (Chrome: PASS, Safari: FAIL)
Verify write and read clipboard given text: Clipboard write text -> read text test: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/async-write-image-read-image.https.html
Verify write error on malformed data [image/png ClipboardItem]: FAIL (Chrome: PASS, Safari: FAIL)
Verify write and read clipboard [image/png Blob]: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/detached-iframe/write-on-detaching-iframe.https.html
Verify write fails on detaching iframe: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/detached-iframe/writeText-readText-on-detached-iframe.https.html
Verify readText and writeText fails on detached iframe: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/permissions/writeText-denied.https.html
navigator.clipboard.writeText() fails when permission denied: FAIL (Chrome: PASS, Safari: FAIL)
/clipboard-apis/permissions/readText-granted.https.html
navigator.clipboard.readText() succeeds when permission granted: FAIL (Chrome: PASS, Safari: FAIL)
Comment 6•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b5c451767c95
https://hg.mozilla.org/mozilla-central/rev/9a125d552a9f
Description
•