Prototype PerformanceEventTiming
Categories
(Core :: Performance, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: sefeng, Assigned: sefeng)
References
(Depends on 1 open bug)
Details
Attachments
(9 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
We are interested in prototyping PerformanceEventTiming. This bug intends to get two things done.
-
The basic setup for PerformanceEventTiming, such as webidl and integration with performance observer etc.
-
Making keydown event is available for PerformanceEventTiming.
Comment 1•3 years ago
|
||
Hi Sean - could you set the priority and severity for this bug? It's showing up in the triage bucket. I understand you are planning on working on it too so if you could assign it to yourself that would be great. thank you!
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
According to https://w3c.github.io/timing-entrytypes-registry/#registry,
unlike other performance entries, event
and first-input
entries have
their own algorithms to determine whether it can be added to observers.
This patch factors some code to allow such algorithms can be
implemented.
Assignee | ||
Comment 3•2 years ago
|
||
PerformanceEventTiming is an new API that we'd like to expose to the
web. This is mainly for supporting Google's Web Vital stuff to
grant more transparency to Google's search algorithm.
Spec: https://wicg.github.io/event-timing/#sec-performance-event-timing
Depends on D102034
Assignee | ||
Comment 4•2 years ago
|
||
Performance event entries should only be retrieved by
PerformanceObserver, so it can't be retrieved by using
Performance.GetEntries* APIs.
Depends on D102035
Assignee | ||
Comment 5•2 years ago
|
||
This interface is part of PerformanceEventTiming.
Spec: https://wicg.github.io/event-timing/#sec-event-counts
Depends on D102036
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D102037
Assignee | ||
Comment 7•2 years ago
|
||
Depends on D102038
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 8•2 years ago
|
||
Assignee | ||
Comment 9•2 years ago
|
||
Assignee | ||
Comment 10•2 years ago
|
||
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Pushed by sefeng@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee8916455d0b Make performance entries may have different `should add entry` algorithm r=smaug https://hg.mozilla.org/integration/autoland/rev/c44b8a99085c Use nsAtom for entry comparison in GetEntriesByType r=smaug https://hg.mozilla.org/integration/autoland/rev/847dc068bb98 Add CC support to LinkedList r=smaug https://hg.mozilla.org/integration/autoland/rev/e86df3d99d16 Implement PerformanceEventTiming Interface r=smaug https://hg.mozilla.org/integration/autoland/rev/a9ab8d398b4d Add an event-timing test to ensure target is set to null for shadow DOM r=smaug https://hg.mozilla.org/integration/autoland/rev/2312a6f7ead7 Allow performance event entries can only be retrieved by PerformanceObserver r=smaug https://hg.mozilla.org/integration/autoland/rev/2e7570ebeca3 Implement EventCounts Interface r=smaug https://hg.mozilla.org/integration/autoland/rev/9776e21232ef Fix some bugs in PerformanceEventTiming related tests r=smaug https://hg.mozilla.org/integration/autoland/rev/35db4533f11f Enable PerformanceEventTiming tests in Nightly r=smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/27553 for changes under testing/web-platform/tests
Comment 13•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ee8916455d0b
https://hg.mozilla.org/mozilla-central/rev/c44b8a99085c
https://hg.mozilla.org/mozilla-central/rev/847dc068bb98
https://hg.mozilla.org/mozilla-central/rev/e86df3d99d16
https://hg.mozilla.org/mozilla-central/rev/a9ab8d398b4d
https://hg.mozilla.org/mozilla-central/rev/2312a6f7ead7
https://hg.mozilla.org/mozilla-central/rev/2e7570ebeca3
https://hg.mozilla.org/mozilla-central/rev/9776e21232ef
https://hg.mozilla.org/mozilla-central/rev/35db4533f11f
Upstream PR merged by moz-wptsync-bot
Description
•