Closed Bug 1642816 Opened 6 months ago Closed 5 months ago

[wpt-sync] Sync PR 23925 - [EventTiming] Allow spurrious inputs when looseCount is true

Categories

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

task

Tracking

(firefox79 fixed)

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Nicolás Peña Moreno <npm@chromium.org> wrote:

[EventTiming] Allow spurrious inputs when looseCount is true

This CL is a tentative fix for some flaky tests. An assert_equals to 0
is sometimes failing, presumably because the test itself may cause some
inputs to occur. Hence, we only check that eventCounts is 0 when the
|looseCount| variable is set to false.

Bug: 1074048
Change-Id: I989ccdb7cb469ff24132bf17a3da9a43264ae6ed
Reviewed-on: https://chromium-review.googlesource.com/2225293
WPT-Export-Revision: 63533432fdc5a4e1b81b97664130d280a4325e13

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 6 months ago6 months ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 6 months ago6 months ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 32 tests and 1 subtests

Status Summary

Firefox

OK : 31[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 32[GitHub]
FAIL: 31[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 32[GitHub]

Chrome

OK : 32
PASS: 31
FAIL: 1

Safari

OK : 32
FAIL: 32

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/event-timing/crossiframe.html
Event Timing: entries should only be observable by its own frame.: FAIL (Chrome: FAIL, Safari: FAIL)
/event-timing/buffered-and-duration-threshold.html
PerformanceObserver buffering independent of durationThreshold: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/mousedown.html
Event Timing mousedown.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/pointerdown.html
Event Timing pointerdown.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/pointerenter.html
Event Timing pointerenter.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/retrieve-firstInput.html
Event Timing: check first-input after onload, observer, click, click.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/contextmenu.html
Event Timing contextmenu.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/large-duration-threshold.html
PerformanceObserver observes events according to its durationThreshold: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/mouseenter.html
Event Timing mouseenter.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/click-timing.html
Event Timing: compare click timings.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/mouseleave.html
Event Timing mouseleave.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/retrievability.html
Event Timing: make sure event-timing entries are not retrievable by performance.getEntries*.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/pointerout.html
Event Timing pointerout.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/programmatic-click-not-observed.html
Event Timing: events from programmatic click are not observed: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/event-retarget.html
Event Timing: target reports the last Event Target, i.e. nothing from shadow DOM.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/only-observe-firstInput.html
Event Timing: check first-input for a PerformanceObserver observing only first-input.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/click.html
Event Timing click.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/min-duration-threshold.html
PerformanceObserver with durationThreshold of 0 sees events of duration >= 16: FAIL (Chrome: PASS, Safari: FAIL)
/layout-instability/recent-input.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
Layout shift right after user input is observable via PerformanceObserver.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/pointerup.html
Event Timing pointerup.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/mouseup.html
Event Timing mouseup.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/toJSON.html
Test toJSON() in PerformanceEventTiming.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/pointerover.html
Event Timing pointerover.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/medium-duration-threshold.html
PerformanceObserver observes events according to its durationThreshold: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/mouseover.html
Event Timing mouseover.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/auxclick.html
Event Timing auxclick.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/pointerleave.html
Event Timing pointerleave.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/disconnect-target.html
Event Timing: when target is disconnected, entry.target returns null.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/dblclick.html
Event Timing dblclick.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/mouseout.html
Event Timing mouseout.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/buffered-flag.html
PerformanceObserver with buffered flag sees previous Event Timing entries: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/timingconditions.html
Event Timing only times certain types of trusted event.: FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/layout-instability/recent-input.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8ce43b9c9b8d
[wpt PR 23925] - [EventTiming] Allow spurious inputs when looseCount is true, a=testonly
Status: REOPENED → RESOLVED
Closed: 6 months ago5 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in before you can comment on or make changes to this bug.