Skip to content

JS Self-Profiling API #477

Description

@acomminos

Request for Mozilla Position on an Emerging Web Specification

Other information

  • TAG review: JS Self-Profiling API w3ctag/design-reviews#366
  • This API is implemented in Blink, and was run in an origin trial.
  • Due to concerns about exposing sensitive timing information, we've decided from discussions in the Web Perf Working Group to require cross-origin isolation for the API. We believe this API exposes no more signal than is already possible through manual instrumentation -- see the following security review from the Edge team.
  • @mstange and I spoke a while back regarding how we could avoid introducing profiling-related overhead on pages that wouldn't use the API. We settled on requiring a header, which is exposed via the document policy mechanism -- hopefully this should address concerns related to any additional up-front work Gecko may have to do to enable this API at the SpiderMonkey level.

Thank you!

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

Status
Needs proposed position

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions