Bug 1839711 [wpt PR 40679] - [EditContext] Move some tests to WPT, a=testonly
commit90fcef60c1b17b7b19620ffc4811c35ea5e540a1
authorDan Clark <daniec@microsoft.com>
Wed, 28 Jun 2023 23:31:02 +0000 (28 23:31 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 6 Jul 2023 08:20:46 +0000 (6 08:20 +0000)
tree7715f1167b382b8c85071b18848d2e8887590e64
parenta9ec6e95ff76e93a3690dc9317391bda0ef54c02
Bug 1839711 [wpt PR 40679] - [EditContext] Move some tests to WPT, a=testonly

Automatic update from web-platform-tests
[EditContext] Move some tests to WPT

Move some existing tests to external/wpt so they can eventually be used
by other implementations.

Tests using eventSender.keyDown() are converted to use
test_driver.send_keys() since only the latter is available in WPT.

Tests using textInputController were not converted, since
textInputController isn't available yet in WPT.

The test case 'Testing attaching EditContext AFTER the element is
focused.' is modified to remove a dependency on the prior test for
making the element initially focusable.

Bug: 999184
Change-Id: I70d21e8ec90ff54f23bf06d021463aedae0d3c37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4633900
Commit-Queue: Dan Clark <daniec@microsoft.com>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1161270}

--

wpt-commits: ad742e32456a77261a254e28217c97e24e532aa6
wpt-pr: 40679
testing/web-platform/tests/editing/edit-context/edit-context-basics.tentative.html [new file with mode: 0644]
testing/web-platform/tests/editing/edit-context/edit-context-input.tentative.html [new file with mode: 0644]