[Webkit-unassigned] [Bug 236155] New: PerformanceObserver should work with 'type: paint'
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 4 13:32:41 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236155
Bug ID: 236155
Summary: PerformanceObserver should work with 'type: paint'
Product: WebKit
Version: Safari 15
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: andrewscheuermann at gmail.com
** Steps to reproduce: **
1. Navigate to example.com (or any web page) in Safari and run the following code in the console:
```
new PerformanceObserver((list) => {
console.log('callback invoked');
list.getEntries().forEach(console.log);
}).observe({ type: 'paint', buffered: true });
```
** Actual Results: **
Nothing is logged and the callback is not invoked.
** Expected Results: **
A PerformancePaintTiming entry should be logged. The paint entry is logged with this other approach...
```
performance.getEntriesByType('paint').forEach(console.log);
```
** Additional Information: **
Related Stack Overflow question -> https://stackoverflow.com/questions/70989089/new-performanceobservercb-observe-type-paint-buffered-true-doesnt-w
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220204/c78630cb/attachment.htm>
More information about the webkit-unassigned
mailing list