[wpt-sync] Sync PR 36150 - Add ScreenDetails JS API test coverage
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox108 fixed)
| Tracking | Status | |
|---|---|---|
| firefox108 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 36150 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/36150
Details from upstream follow.
Mike Wasserman <msw@chromium.org> wrote:
Add ScreenDetails JS API test coverage
Add a browser_tests fixture for basic API values.
- WPTs check the API shape, but not value accuracy
- content_browsertests do not support per-test permissions
Add test util files to share helpers for new and disabled tests.
Update content_browsertest naming and comments, remove flag use.
Bug: 897300, 1119974
Change-Id: Id2eb9d55f479b622662e5b4163f815598ca2e200
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3924460
Reviewed-by: Brad Triebwasser \<btriebw@chromium.org>
Commit-Queue: Mike Wasserman \<msw@chromium.org>
Auto-Submit: Mike Wasserman \<msw@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1055492}
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
CI Results
Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 5 subtests
Status Summary
Firefox
OK : 1
FAIL: 5
Chrome
OK : 1
PASS: 5
Safari
OK : 1
FAIL: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /screen-details/getScreenDetails.tentative.https.window.html [wpt.fyi]
- getScreenDetails() is present:
FAIL(Chrome:PASS, Safari:FAIL) - getScreenDetails() returns the expected interface with permission granted:
FAIL(Chrome:PASS, Safari:FAIL) - getScreenDetails() rejects the promise with permission denied:
FAIL(Chrome:PASS, Safari:FAIL) - getScreenDetails() resolves for attached iframe; rejects for detached iframe:
FAIL(Chrome:PASS, Safari:FAIL) - Cached ScreenDetails interface from detached iframe does not crash, behaves okay:
FAIL(Chrome:PASS, Safari:FAIL)
- getScreenDetails() is present:
Comment 4•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7ffe31e4f9c9
https://hg.mozilla.org/mozilla-central/rev/b71aa83913f6
Description
•