Closed Bug 1638481 Opened 4 months ago Closed 4 months ago

[wpt-sync] Sync PR 23648 - Clipboard API Tests: Await set_permission to deflake tests.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mozilla.org, 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: Iedf7e63a02d200c76df0aaa431980493c6a35e61

Reviewed-on: https://chromium-review.googlesource.com/2204838
WPT-Export-Revision: 3aeb63355b8e6a8c445f0e8a00d416192f7be3b6

PR 23648 applied with additional changes from upstream: 957c333350503196cc1bf72cc9f6d8b4fdfc2b2c, 290d03696f5008625c2ebd1bfaf37eb9bff5bd79
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

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

GitHub PR Head
GitHub PR Base

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)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b5c451767c95
[wpt PR 23648] - Clipboard API Tests: Await set_permission to deflake tests., a=testonly
https://hg.mozilla.org/integration/autoland/rev/9a125d552a9f
[wpt PR 23648] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.