diff --git a/ext/web/15_performance.js b/ext/web/15_performance.js index 07fa2a01db..d1437c8d7a 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; } diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 1c402903e5..6e733792c4 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -1178,14 +1178,12 @@ "idlharness.any.html": [ "Performance interface: existence and properties of interface object", "Performance interface: existence and properties of interface prototype object", - "Performance interface: attribute timeOrigin", "Performance interface: default toJSON operation on performance", "Window interface: attribute performance" ], "idlharness.any.worker.html": [ "Performance interface: existence and properties of interface object", "Performance interface: existence and properties of interface prototype object", - "Performance interface: attribute timeOrigin", "Performance interface: default toJSON operation on performance", "WorkerGlobalScope interface: attribute performance", "WorkerGlobalScope interface: self must inherit property \"performance\" with the proper type" @@ -4635,4 +4633,4 @@ "idlharness.https.any.worker.html": true, "idlharness-shadowrealm.window.html": false } -} +} \ No newline at end of file