Closed Bug 1638136 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 23617 - Clipbooard API Tests: Move permissions tests to WPT.

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 23617 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/23617
Details from upstream follow.

Darwin Huang <huangdarwin@chromium.org> wrote:

Clipbooard API Tests: Move permissions tests to WPT.

Since https://github.com/web-platform-tests/wpt/pull/20461 and
https://github.com/web-platform-tests/wpt/issues/5671 were fixed, it now
becomes possible to automate some Web Platform Tests, and have them run
on all browsers automatically.

Clipboard API permission tests were previously outside WPT in order to
automate permissions using PermissionsHelper and detect regressions.

This allows us to share our permissions tests with other browsers
testing using WPT.

Bug: 1076691
Change-Id: I1ff6a8bbdf60b8d77fd8621efce840739fbeec23
Reviewed-on: https://chromium-review.googlesource.com/2200278
WPT-Export-Revision: f3a391fe446fc482904e846c492c95c73860587e

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 4 tests and 1 subtests

Status Summary

Firefox

FAIL : 4
ERROR : 4

Chrome

OK : 3
FAIL : 3
TIMEOUT: 2

Safari

PASS : 2
FAIL : 2
ERROR : 4

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/clipboard-apis/permissions/readText-denied.https.html: ERROR (Chrome: TIMEOUT, Safari: ERROR)
navigator.clipboard.readText() fails when permission denied: FAIL (Chrome: TIMEOUT, Safari: PASS)
/clipboard-apis/permissions/writeText-granted.https.html: ERROR (Chrome: OK, Safari: ERROR)
navigator.clipboard.writeText() succeeds when permission granted: FAIL (Chrome: FAIL, Safari: FAIL)
/clipboard-apis/permissions/writeText-denied.https.html: ERROR (Chrome: OK, Safari: ERROR)
navigator.clipboard.writeText() fails when permission denied: FAIL (Chrome: FAIL, Safari: PASS)
/clipboard-apis/permissions/readText-granted.https.html: ERROR (Chrome: OK, Safari: ERROR)
navigator.clipboard.readText() succeeds when permission granted: FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b7bb81b41cb6
[wpt PR 23617] - Clipboard API Tests: Move permissions tests to WPT., a=testonly
https://hg.mozilla.org/integration/autoland/rev/109c45411ecc
[wpt PR 23617] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.