summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/web/15_performance.js1
-rw-r--r--tools/wpt/expectation.json4
2 files changed, 2 insertions, 3 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;
}
diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json
index 1c402903e..6e733792c 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