#547: hasDroppedEntry in PerformanceObserverCallback

Visit on Github.

Opened Aug 14, 2020

Saluton TAG!

I'm requesting a TAG review of hasDroppedEntry in PerformanceObserverCallback.

[One paragraph summary of idea, ideally copy-pasted from Explainer introduction] Currently, web developers can use PerformanceObserver with buffered flag to listen to past and future performance entries about their site. However, past entries need to be stored, and there is a buffer size limit. The hasDroppedEntry boolean flag helps developers know if they may have lost an entry due to this storage being full. It's set to true when there exists an entryType being observed for which an entry got dropped from the buffer due to such buffer being full.

Further details:

  • I have reviewed the TAG's API Design Principles
  • Relevant time constraints or deadlines: none
  • The group where the work on this specification is currently being done: WebPerf WG
  • The group where standardization of this work is intended to be done (if current group is a community group or other incubation venue): WebPerf WG
  • Major unresolved issues with or opposition to this specification: none (though there are various design choices to expose this information, so feedback there is welcome).
  • This work is being funded by: Google

We'd prefer the TAG provide feedback as (please delete all but the desired option):

💬 leave review feedback as a comment in this issue and @-notify @npm1


CAREFULLY READ AND DELETE CONTENT BELOW THIS LINE BEFORE SUBMITTING

Please preview the issue and check that the links work before submitting.

In particular, if anything links to a URL which requires authentication (e.g. Google document), please make sure anyone with the link can access the document. We would prefer fully public documents though, since we work in the open.

¹ We require an explainer to give the relevant context for the spec review, even if the spec has some background information. For background, see our explanation of how to write a good explainer. We recommend the explainer to be in Markdown.

² A Security and Privacy questionnaire helps us understand potential security and privacy issues and mitigations for your design, and can save us asking redundant questions. See https://www.w3.org/TR/security-privacy-questionnaire/.

Discussions

2021-02-08

Minutes

Lea: he implemented our suggestions but not sure about this name. Not sure about names with these abbreviations. Is there a precedent? Do we have other web platform properties with "num"?

[discussion on use of abbreviations]

Hadley: we have design principles about naming - use common words, etc...

Lea: nothing about abbreviations...

Hadley: it does say "easily readable US english" - and arguably abbreviations are not readable.

Ken: we should definitely use *Count - for consistency.

Examples - animation-iteration-count column-count in CSS ParentNode.childElementCount MediaTrackConstraints.channelCount

Dan: let's leave some feedback along those lines and propose closing.