Update PerfomanceMark APIs to User Timing L3
Categories
(Core :: DOM: Performance, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: saschanaz, Assigned: mcomella)
References
Details
Attachments
(6 files, 1 obsolete file)
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 |
Currently they return nothing.
This change happened in User Timing L3. https://github.com/w3c/user-timing/pull/46
Comment 1•3 years ago
|
||
Performance APIs tend to be tracked in the Performance component.
Reporter | ||
Comment 2•3 years ago
•
|
||
The intro says:
Performance work items and bugs requiring action by the Firefox Performance team
Not sure this is true here or there should be DOM::Performance? Or maybe the text should be revised.
Comment 3•3 years ago
|
||
The performance team uses Core::Performance to track all performance-related bugs which include Performance API, I believe this is the right component :)
Reporter | ||
Comment 4•3 years ago
•
|
||
Cool, do you happen to know who can modify the component description? I think it would be useful to add "including DOM Performance API", but ignore me if you think otherwise 😉
Comment 5•3 years ago
|
||
I wouldn't be against adding that to the description, however, I am not sure how and who should make the call...
Kim, do you mind read comment 4 and see what we could do here?
(Keeping my NI for the changes of this bug)
Comment 6•3 years ago
|
||
I will defer to Patricia on this
If you want to make this change, I believe you need to open a bug in BMO Administration
https://bugzilla.mozilla.org/enter_bug.cgi?product=bugzilla.mozilla.org&component=Administration
Comment 7•3 years ago
|
||
Sure, it makes sense to update the description. I filed this bug to do that: https://bugzilla.mozilla.org/show_bug.cgi?id=1727570
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
Assignee | ||
Comment 9•3 years ago
|
||
We can't land the pieces of making PerformanceMark
support L3 individually (this bug, bug 1758749, bug 1759203) because tests fail in between that we can't suppress so I'm repurposing this bug to do all of PerformanceMark
L3 at once.
Assignee | ||
Comment 12•3 years ago
|
||
The web standard linked from MessagePort.webidl doesn't make it quickly clear
what StructuredSerializeOptions is used for so I added a brief summary to make
it quicker to figure out. Note: I don't have much experience with this class so
my description may be incomplete.
Assignee | ||
Comment 13•3 years ago
|
||
To follow the spec more closely, some functionality moved from
performance.mark
to the PerformanceMark constructor.
Depends on D142624
Assignee | ||
Comment 14•3 years ago
|
||
Depends on D142625
Assignee | ||
Comment 15•3 years ago
|
||
In the existing code, these tests will pass if detail is a nonsense value, like
undefined, e.g. since undefined does not equal the original value. The code I
added makes sure the values are accurate too. This pattern already existed in
the first test in the file.
Depends on D142626
Updated•3 years ago
|
Assignee | ||
Comment 16•3 years ago
|
||
This is mostly complete. I just need to figure out:
- how to handle
shouldResistFingerprinting()
- if some tests are worth adding
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 17•3 years ago
|
||
Depends on D142627
Assignee | ||
Comment 18•3 years ago
|
||
This test tests for a bug I discovered in my code that would crash the browser
if certain User Timing APIs were called on the dying iframe global.
I created a new test, rather than using test_performance_user_timing.html,
because it seemed like the code I added to set up the iframe did not easily fit
into the testing model of test_performance_user_timing.
Depends on D142900
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 19•2 years ago
|
||
Pushed by mcomella@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b9c1829dd475 document StructuredSerializeOptions. r=smaug https://hg.mozilla.org/integration/autoland/rev/139ce1e88b31 update PerformanceMark to User Timing L3. r=sefeng,smaug https://hg.mozilla.org/integration/autoland/rev/ff1c5530b65e add negative PerformanceMark startTime User Timing test. r=sefeng https://hg.mozilla.org/integration/autoland/rev/26467e1f89ca make structured-serialize-detail tests more robust. r=sefeng https://hg.mozilla.org/integration/autoland/rev/ddc932dd3d80 add tests for 'new PerformanceMark' in WPT mark-errors. r=sefeng https://hg.mozilla.org/integration/autoland/rev/69f82055f891 add test_performance_user_timing_dying_global.html. r=sefeng,smaug
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/33797 for changes under testing/web-platform/tests
Comment 21•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b9c1829dd475
https://hg.mozilla.org/mozilla-central/rev/139ce1e88b31
https://hg.mozilla.org/mozilla-central/rev/ff1c5530b65e
https://hg.mozilla.org/mozilla-central/rev/26467e1f89ca
https://hg.mozilla.org/mozilla-central/rev/ddc932dd3d80
https://hg.mozilla.org/mozilla-central/rev/69f82055f891
Upstream PR merged by moz-wptsync-bot
Description
•