Closed Bug 1631939 Opened 4 months ago Closed 3 months ago

[wpt-sync] Sync PR 23152 - [EventTiming] Implement durationThreshold

Categories

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

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[EventTiming] Implement durationThreshold

This CL implements a durationThreshold member of PerformanceObserverInit
which enables setting a threshold for the event timing entries received
by a PerformanceObserver. The entries are still buffered per the default
duration threshold of 104 for now. Tests are added for various threshold
values. PR: https://github.com/WICG/event-timing/pull/82

Bug: 543598
Change-Id: Id3407ddbcd1713fc33036518bbf88696add423cc
Reviewed-on: https://chromium-review.googlesource.com/2159611
WPT-Export-Revision: 0063ccbf282fe914b1b441e0cda861867813bd7a

PR 23152 applied with additional changes from upstream: 67f7dd268503f106abdc8b38f617a4ba2f299f95, bc01db77c4d739582f51c3b418037ae410116b06

CI Results

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

Total 80 tests

Status Summary

Firefox

OK : 16
PASS : 64
FAIL : 15[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, 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] 16[GitHub]
PRECONDITION_FAILED: 1

Chrome

OK : 5
PASS : 4
FAIL : 1
TIMEOUT : 22

Safari

OK : 16
FAIL : 16

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: TIMEOUT, Safari: FAIL)
/event-timing/buffered-and-duration-threshold.html
PerformanceObserver buffering independent of durationThreshold: FAIL (Chrome: TIMEOUT, Safari: FAIL)
/event-timing/retrieve-firstInput.html
Event Timing: check first-input after onload, observer, click, click.: FAIL (Chrome: FAIL, Safari: FAIL)
/event-timing/large-duration-threshold.html
PerformanceObserver observes events according to its durationThreshold: FAIL (Chrome: PASS, Safari: FAIL)
/event-timing/toJSON.html
Test toJSON() in PerformanceEventTiming.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
/event-timing/click-timing.html
Event Timing: compare click timings.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
/event-timing/retrievability.html
Event Timing: make sure event-timing entries are not retrievable by performance.getEntries*.: FAIL (Chrome: TIMEOUT, 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: TIMEOUT, 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/min-duration-threshold.html
PerformanceObserver with durationThreshold of 0 sees events of duration >= 16: FAIL (Chrome: TIMEOUT, Safari: FAIL)
/layout-instability/recent-input.html
Layout shift right after user input is observable via PerformanceObserver.: FAIL [GitHub], PRECONDITION_FAILED [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, 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: PASS, Safari: FAIL)
/event-timing/medium-duration-threshold.html
PerformanceObserver observes events according to its durationThreshold: FAIL (Chrome: TIMEOUT, Safari: FAIL)
/event-timing/disconnect-target.html
Event Timing: when target is disconnected, entry.target returns null.: FAIL (Chrome: TIMEOUT, Safari: FAIL)
/event-timing/buffered-flag.html
PerformanceObserver with buffered flag sees previous Event Timing entries: FAIL (Chrome: TIMEOUT, Safari: FAIL)
/event-timing/timingconditions.html
Event Timing only times certain types of trusted event.: FAIL (Chrome: TIMEOUT, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7b9acbee64f6
[wpt PR 23152] - [EventTiming] Implement durationThreshold, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d1583c5916b9
[wpt PR 23152] - Update wpt metadata, a=testonly
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/a3d9580e4b6f
[wpt PR 23152] - [EventTiming] Implement durationThreshold, a=testonly
https://hg.mozilla.org/integration/autoland/rev/974b68ffab59
[wpt PR 23152] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.