Closed Bug 1944195 Opened 19 days ago Closed 17 days ago

[wpt-sync] Sync PR 50324 - Fix WPTs 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

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Tanu Jain <tanujain@microsoft.com> wrote:

Fix WPTs failing since the switch to headless_shell

The test failed on headless_shell because document.execCommand() is
returning false for copy and paste commands, causing the expected and
actual results to not match. This CL resolves the issue by using
test_driver.Actions() instead of execCommand for copy and paste
operations.

Bug: 366311855
Change-Id: I3a27acc1da37fdd20311ec8a7780c7905ee8952d
Reviewed-on: https://chromium-review.googlesource.com/6197576
WPT-Export-Revision: 36d3d653d1c60bde22a52807d4e5b0eafeb0272d

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

CI Results

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

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
PASS: 1
FAIL: 1

Chrome

OK : 2
PASS: 2

Safari

OK : 2
PASS: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8e41e00e7342 [wpt PR 50324] - Fix WPTs failing since the switch to headless_shell, a=testonly https://hg.mozilla.org/integration/autoland/rev/05c19817d6d2 [wpt PR 50324] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 17 days ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.