From 0568be863ba5e02bdbd3889f66281fae356f7263 Mon Sep 17 00:00:00 2001 From: Geert-Jan Zwiers Date: Fri, 13 May 2022 18:36:00 +0200 Subject: feat(ext/web): add performance.toJSON (#14548) --- ext/web/15_performance.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/web/15_performance.js b/ext/web/15_performance.js index d1437c8d7..10e014008 100644 --- a/ext/web/15_performance.js +++ b/ext/web/15_performance.js @@ -556,7 +556,9 @@ toJSON() { webidl.assertBranded(this, PerformancePrototype); - return {}; + return { + timeOrigin: this.timeOrigin, + }; } [customInspect](inspect) { -- cgit v1.2.3