Closed Bug 1604957 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 20856 - webxr-test: reset input source's clicked state after use

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox73 fixed)

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Klaus Weidner <klausw@chromium.org> wrote:

webxr-test: reset input source's clicked state after use

Using 'simulateSelect()' should generate only one "select" event, but since the
state value wasn't being reset it was also creating additional ones for each
following frame. This wasn't causing problems for the single existing test
using it (events_session_select_subframe), but is a trap for other uses.

Change-Id: I87cd55b1c0654d0183aa39af9bd5ad178d7409da
Reviewed-on: https://chromium-review.googlesource.com/1974682
WPT-Export-Revision: f27ce4d23c274b30b3997f59e312d3bb1bf4678d

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c5c6a7c3d47c
[wpt PR 20856] - webxr-test: reset input source's clicked state after use, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.