Skip to content

Element Timing API #192

Closed
Closed

Description

@digitarald

Request for Mozilla Position on an Emerging Web Specification

Other information

A similar metric approach has been used in Firefox's performance automation https://bugzilla.mozilla.org/show_bug.cgi?id=1418368 .

Activity

  1. added
    venue: W3C CGSpecifications in W3C Community Groups (e.g., WICG, Privacy CG)
    on Nov 16, 2019
  2. dbaron commented on Feb 27, 2020

    @dbaron
    Contributor

    There may be some useful info in w3ctag/design-reviews#326 and w3ctag/design-reviews#395.

  3. martinthomson commented on Feb 27, 2020

    @martinthomson
    Member

    We just learned from Microsoft that this is shipping unprefixed in Edge and Chrome. We'd like to have a position soon.

  4. sefeng211 commented on Oct 22, 2021

    @sefeng211
    Contributor

    I think we can resolve it as worth prototyping, cc @smaug---- @Bas-moz

  5. smaug---- commented on Oct 22, 2021

    @smaug----
    Collaborator

    @emilio might have an opinion.
    I didn't immediately see anything too harmful.

  6. emilio commented on Oct 22, 2021

    @emilio
    Collaborator

    Yeah I don't see anything particularly problematic. I'm a bit confused about how nodes in shadow trees are intended to be handled.

    https://wicg.github.io/element-timing/#get-an-element seems to try not to expose them (but seems like they should still generate an entry). But https://wicg.github.io/element-timing/#sec-element-processing doesn't handle shadow DOM and shouldn't even look at shadow trees. So something there is clearly confused.

  7. sefeng211 commented on Oct 22, 2021

    @sefeng211
    Contributor

    Elements inside shadow trees are not exposed as the resolution of WICG/webcomponents#816. If the #sec-element-processing step doesn't handle shadow DOM, then no entries will be generated for nodes in shadow trees, right? And this should be the desired behaviour.

  8. Bas-moz commented on Nov 18, 2024

    @Bas-moz

    Based on the earlier comments it seems the standard looks reasonable.

    As to the extend of timing leakage, which was discussed, we can apply the appropriate amount of jitter/clamping as we do with many other timings, and this in itself does not make for a concern with the standard.

    As per Sean's comment, the shadow tree issue has also been resolved in the original standard.

    I suggest our position here should be positive.

  9. moved this from Unscreened to Position is proposed in standards-positions reviewon Nov 18, 2024
  10. zcorpan commented on Nov 18, 2024

    @zcorpan
    Member

    Is there an issue for moving this spec into the Web Performance WG (or somewhere else)?

  11. added
    venue: W3CSpecifications in W3C Working Groups
    and removed
    venue: W3C CGSpecifications in W3C Community Groups (e.g., WICG, Privacy CG)
    on Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions