Closed Bug 1752073 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 32547 - event-before-promise.html won't be passed if initial orientation type is landscape.

Categories

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

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Makoto Kato <m_kato@ga2.so-net.ne.jp> wrote:

event-before-promise.html won't be passed if initial orientation type is landscape.

If initial orientation type is landscape, lock("landscape") doesn't fired
change event, so this test won't work well.

So if initial type is landscape, we should use lock("portrait") instead.

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/screen-orientation/event-before-promise.html
The 'change' event must fire before the [[orientationPendingPromise]] is resolved.: FAIL (Chrome: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b5408607f6c5 [wpt PR 32547] - event-before-promise.html won't be passed if initial orientation type is landscape., a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6ef3d99dee6d [wpt PR 32547] - event-before-promise.html won't be passed if initial orientation type is landscape., a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.