summaryrefslogtreecommitdiff
path: root/ext/web/15_performance.js
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2022-05-10 02:31:35 +0200
committerGitHub <noreply@github.com>2022-05-10 02:31:35 +0200
commit2f7f41533bf3059bba55b206282080fc70a3eec8 (patch)
treefc81cfc3460e014da9ed32a471261caa15dc223f /ext/web/15_performance.js
parent6f082f9d66f70b0bc3fa2b783f890fddd34605f6 (diff)
fix(ext/web): brand check in `performance.timeOrigin` (#14550)
Diffstat (limited to 'ext/web/15_performance.js')
-rw-r--r--ext/web/15_performance.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/web/15_performance.js b/ext/web/15_performance.js
index 07fa2a01d..d1437c8d7 100644
--- a/ext/web/15_performance.js
+++ b/ext/web/15_performance.js
@@ -333,6 +333,7 @@
}
get timeOrigin() {
+ webidl.assertBranded(this, PerformancePrototype);
return timeOrigin;
}