amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Update PerformanceObserver to use buffered flag

Open ericfs opened this issue 7 years ago • 3 comments

What's the issue?

AMP does not use the buffered flag for PerformanceObserver because it was not supported in Chrome. https://github.com/ampproject/amphtml/blob/a72928c4285524c049958ea334dd3be12ddc4414/src/service/performance-impl.js#L297 https://github.com/w3c/performance-timeline#buffered-flag

Support for buffered is now targeted to Chrome M77: https://bugs.chromium.org/p/chromium/issues/detail?id=725567#c26

All PerformanceObservers in performance-impl.js can be updated to use buffered: https://github.com/ampproject/amphtml/blob/a72928c4285524c049958ea334dd3be12ddc4414/src/service/performance-impl.js#L392

What browsers are affected?

Chrome M77

ericfs avatar Aug 13 '19 13:08 ericfs

/cc @ericandrewlewis @tdresser @npm1

ericfs avatar Aug 13 '19 13:08 ericfs

This was done in #23944

cramforce avatar Jun 10 '20 15:06 cramforce

Sending PR to remove a stray comment.

cramforce avatar Jun 10 '20 15:06 cramforce