Closed Bug 1640678 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 23758 - [EventTiming] Use polling in performance.eventCounts test

Categories

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

task

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[EventTiming] Use polling in performance.eventCounts test

It looks like actions.send() does not wait for the events to get
processed in order to resolve the promise, which means eventCounts may
not be populated by the time we begin testing it. Hence, in this CL we
perform a polling-based approach. Sample failure:
https://isolateserver.appspot.com/browse?namespace=default-gzip&digest=8e7df6aa16ccbffabef2b11c5f2d9aaa02d396c1&as=layout-test-results%5Cexternal%5Cwpt%5Cevent-timing%5Cmouseover-actual.txt

Bug: 1074048
Change-Id: I58629d66ad146fd435fc95fb875f21a96f5470a2
Reviewed-on: https://chromium-review.googlesource.com/2212497
WPT-Export-Revision: ad7ce9e08db1801f578419aa663f8b1b9be1c256

Status: NEW → RESOLVED
Closed: 1 year 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 111 tests

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]
PASS : 78
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]
TIMEOUT: 1

Chrome

OK : 32
PASS : 32

Safari

OK : 32
FAIL : 32

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/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/only-observe-firstInput.html
Event Timing: check first-input for a PerformanceObserver observing only first-input.: 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/pointerleave.html
Event Timing pointerleave.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/dblclick.html
Event Timing dblclick.: FAIL (Chrome: PASS, Safari: FAIL)
/css/css-scroll-anchoring/fullscreen-crash.html: TIMEOUT
/event-timing/timingconditions.html
Event Timing only times certain types of trusted event.: 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/retrieve-firstInput.html
Event Timing: check first-input after onload, observer, click, click.: 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/click-timing.html
Event Timing: compare click timings.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/mouseenter.html
Event Timing mouseenter.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/click.html
Event Timing click.: 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/pointerout.html
Event Timing pointerout.: 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/crossiframe.html
Event Timing: entries should only be observable by its own frame.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/pointerenter.html
Event Timing pointerenter.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/toJSON.html
Test toJSON() in PerformanceEventTiming.: 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/min-duration-threshold.html
PerformanceObserver with durationThreshold of 0 sees events of duration >= 16: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/mouseup.html
Event Timing mouseup.: 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/buffered-and-duration-threshold.html
PerformanceObserver buffering independent of durationThreshold: 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/pointerup.html
Event Timing pointerup.: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/pointerover.html
Event Timing pointerover.: 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/mouseout.html
Event Timing mouseout.: 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/66dc5283c5b3
[wpt PR 23758] - [EventTiming] Use polling in performance.eventCounts test, a=testonly
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.