Closed Bug 1705269 Opened 4 years ago Closed 2 years ago

[wpt-sync] Sync PR 28500 - UserTiming: make toJSON include detail

Categories

(Core :: DOM: Performance APIs, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 28500 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/28500
Details from upstream follow.

b'Toshiaki Tanaka <zokutyou2@gmail.com>' wrote:

UserTiming: make toJSON include detail

When we open console (on any page) and type:
window.performance.mark('A', { detail: { random: 1 } } ).toJSON();

toJSON does not include detail.

I made toJSON includes the information about |detail|.

Bug: 1138437
Change-Id: I7742549e06bb922544f0d203946f4063a25fa68b
Reviewed-on: https://chromium-review.googlesource.com/2823620
WPT-Export-Revision: 2a6f890475e4b7bebcd2619fad6cc0341321b012

Component: web-platform-tests → Performance
Product: Testing → Core
Component: Performance → DOM: Performance
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.