[wpt-sync] Sync PR 38584 - Initial implementation of PerformanceLongAnimationFrame.
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox112 fixed)
Tracking | Status | |
---|---|---|
firefox112 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38584 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38584
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
Initial implementation of PerformanceLongAnimationFrame.
- Added IDL for PerformanceLongAnimationFrame
- Added main infrastructure to measure long frames, without support
for scripts (yet).How it works:
PerformanceMonitor keeps track of whether the current task
belongs to the current frame tree (same LocalRoot).
Note that PerformanceMonitor has an instance per LocalRoot.If a task ends without pending updates, report it as a long
frame only to frames within the same LocalRoot.Otherwise, keep track of the start time and report to all
affected frames when the frame has done rendering
(right after intersection observers, before
painting/compositing).Next steps:
- Add support for scripts
- Generate UKM data from this, to be examined while trying out the
API.Bug: 1392685
Change-Id: Ic94fd24402e6365b0043a91fdeb413892261ad29
Reviewed-on: https://chromium-review.googlesource.com/4259728
WPT-Export-Revision: d36d3e51dad762f736d37c773428a89f8172cb93
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests
Status Summary
Firefox
OK
: 1
FAIL
: 1
ERROR
: 5
Chrome
OK
: 1
FAIL
: 1
ERROR
: 5
Safari
OK
: 1
FAIL
: 1
ERROR
: 5
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /long-animation-frame/tentative/loaf-basic.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /long-animation-frame/tentative/loaf-buffered.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /long-animation-frame/tentative/loaf-iframe-popup.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /long-animation-frame/tentative/loaf-timeline.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
) - /long-animation-frame/tentative/loaf-toJSON.html [wpt.fyi]
- Test toJSON() in PerformanceLongAnimationFrameTiming:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Test toJSON() in PerformanceLongAnimationFrameTiming:
- /long-animation-frame/tentative/loaf-visibility.html [wpt.fyi]:
ERROR
(Chrome:ERROR
, Safari:ERROR
)
Comment 4•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/151b1d5d6ae7
https://hg.mozilla.org/mozilla-central/rev/275bf443b850
Description
•