Closed Bug 1941706 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 50088 - Fix WPT introduced by https://crrev.com/c/5694338 and failing since the switch to headless_shell

Categories

(Core :: DOM: Editor, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Tanu Jain <tanujain@microsoft.com> wrote:

Fix WPT introduced by https://crrev.com/c/5694338 and failing since the switch to headless_shell

The test failed on headless_shell because, after focusing the
element, sending the key for backspace press was incorrectly
moving the selection. This resulted in additional
selectionchange event. This CL resolves
the issue by placing the cursor at the correct position,
deleting the correct character, and ensuring the expected
number of selectionchange events.

Bug: 366311855
Change-Id: Iefbc1e760928b2a697216180f00407e321f6af95
Reviewed-on: https://chromium-review.googlesource.com/6161942
WPT-Export-Revision: 17ba6161c72765d39bc694e4f9b1c31a7ce6bb97

Component: web-platform-tests → DOM: Editor
Product: Testing → Core

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
PASS: 1

Chrome

OK : 1
PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cb29699322cd [wpt PR 50088] - Fix WPT introduced by https://crrev.com/c/5694338 and failing since the switch to headless_shell, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.