[wpt-sync] Sync PR 50324 - Fix WPTs failing since the switch to headless_shell
Categories
(Core :: DOM: Editor, task, P4)
Tracking
()
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
Assignee | ||
Updated•19 days ago
|
Assignee | ||
Comment 1•19 days ago
|
||
Assignee | ||
Comment 2•19 days ago
|
||
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
- /editing/other/paste-in-list-with-inline-style.tentative.html [wpt.fyi]
- This tests for a bug in ReplaceSelectionCommand where styles are lost during paste.:
FAIL
- This tests for a bug in ReplaceSelectionCommand where styles are lost during paste.:
New Tests That Don't Pass
- /editing/other/paste-in-list-with-inline-style.tentative.html [wpt.fyi]
- This tests for a bug in ReplaceSelectionCommand where styles are lost during paste.:
FAIL
(Chrome:PASS
, Safari:PASS
)
- This tests for a bug in ReplaceSelectionCommand where styles are lost during paste.:
https://hg.mozilla.org/mozilla-central/rev/8e41e00e7342
https://hg.mozilla.org/mozilla-central/rev/05c19817d6d2
Description
•