[wpt-sync] Sync PR 48216 - [wpt] Fix masked failure in `display-mode.https.html`
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox132 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 48216 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/48216
Details from upstream follow.
Jonathan Lee <jonathanjlee@google.com> wrote:
[wpt] Fix masked failure in
display-mode.https.html
a.
assert_true()
checks for strict equality withtrue
0, so coerce
theMediaQueryList
accordingly.
b. Failure (a) was not correctly attributed to the test because
step_func_done()
expects sync functions that can throw 1. Passing
an async function will immediately mark the test as a success, but
the returned promise that eventually rejects isn't handled, causing
a harness error 2. Theasync_test()
can be expressed more
naturally as apromise_test()
.Bug: 41496375
Change-Id: I894678b014ffdbc69e3e8b4e766eccefc1a67043
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5868839
Commit-Queue: Jonathan Lee \<jonathanjlee@google.com>
Reviewed-by: Fr \<beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/main@{#1356524}
Assignee | ||
Updated•8 months ago
|
Assignee | ||
Comment 1•8 months ago
|
||
Assignee | ||
Comment 2•8 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK
: 1
FAIL
: 1
Chrome
OK
: 1
PASS
: 1
Safari
OK
: 1
FAIL
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /document-picture-in-picture/display-mode.https.html [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
)- Test picture-in-picture display mode:
FAIL
(Chrome:PASS
, Safari:FAIL
)
- Test picture-in-picture display mode:
Tests Disabled in Gecko Infrastructure
- /document-picture-in-picture/display-mode.https.html [wpt.fyi]:
OK
[GitHub
],SKIP
[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview
,Gecko-android-em-7.0-x86_64-qr-debug-geckoview
,Gecko-android-em-7.0-x86_64-qr-opt-geckoview
,Gecko-linux1804-64-qr-debug
,Gecko-linux1804-64-qr-opt
,Gecko-windows11-32-2009-qr-debug
,Gecko-windows11-32-2009-qr-opt
,Gecko-windows11-64-2009-qr-debug
,Gecko-windows11-64-2009-qr-opt
] (Chrome:OK
, Safari:OK
)
Comment 4•8 months ago
|
||
bugherder |
Description
•