Bug 1876134 [wpt PR 44147] - Consolidate pointer attribute testing, a=testonly
commit2f7f680ab32f5562929f837090515cd91fddfb04
authorKevin Ellis <kevers@google.com>
Sat, 27 Jan 2024 18:00:26 +0000 (27 18:00 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 28 Jan 2024 09:59:34 +0000 (28 09:59 +0000)
treefe8b0a34151948ef5f3660d870bd61ce9d269edb
parent79beff99d767fcd81dbb468a50e29c15cc5806d5
Bug 1876134 [wpt PR 44147] - Consolidate pointer attribute testing, a=testonly

Automatic update from web-platform-tests
Consolidate pointer attribute testing

The primary goal of this patch was to address memory leaks. These
leaks were likely due to pending promises at the completion of the test.

The 3 tests for hover pointers, non-hover pointers and hover with
right click were all very similar in structure and were consolidated
in the patch.  We now have 5 variants instead of 3 separate tests.

In the process the tests were modernized to be promise tests instead
of an async test. The structure was reformatted to remove the manual
test feel.

Bug: 143036014997751446799
Change-Id: Ia6dc48405d2e2197e3c020fdb803d836043698f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5229777
Commit-Queue: Kevin Ellis <kevers@chromium.org>
Reviewed-by: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1252074}

--

wpt-commits: 8dbb7a1cd4a7665301f25541d49e4653e56f0c52
wpt-pr: 44147
testing/web-platform/tests/pointerevents/pointerevent_attributes.html [new file with mode: 0644]
testing/web-platform/tests/pointerevents/pointerevent_attributes_hoverable_pointers.html [deleted file]
testing/web-platform/tests/pointerevents/pointerevent_attributes_hoverable_rightbutton.html [deleted file]
testing/web-platform/tests/pointerevents/pointerevent_attributes_nohover_pointers.html [deleted file]
testing/web-platform/tests/pointerevents/resources/pointerevent_attributes_hoverable_pointers-iframe.html [deleted file]