Commit 1383e977 authored by Nicolás Peña Moreno's avatar Nicolás Peña Moreno Committed by Commit Bot

Add explicit Exposed in performance APIs

This CL makes the code align with making Exposed mandatory for interfaces.
See the following for more details:
https://github.com/web-platform-tests/wpt/pull/18382
https://github.com/heycam/webidl/pull/423

Change-Id: I293e80cd0d953f2f47480f838eecd5f588ec6d80
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768918Reviewed-by: default avatarLuke Bj <lukebjerring@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689988}
parent 1c479b8c
......@@ -32,7 +32,7 @@
// https://groups.google.com/a/chromium.org/d/msg/blink-dev/g5YRCGpC9vs/b4OJz71NmPwJ
[
NoInterfaceObject
Exposed=Window, NoInterfaceObject
] interface MemoryInfo {
[Measure] readonly attribute unsigned long long totalJSHeapSize;
[Measure] readonly attribute unsigned long long usedJSHeapSize;
......
......@@ -3,7 +3,7 @@
// found in the LICENSE file.
// https://wicg.github.io/element-timing/#sec-performance-element-timing
[RuntimeEnabled=ElementTiming]
[Exposed=Window, RuntimeEnabled=ElementTiming]
interface PerformanceElementTiming : PerformanceEntry {
readonly attribute DOMHighResTimeStamp renderTime;
readonly attribute DOMHighResTimeStamp loadTime;
......
......@@ -3,6 +3,7 @@
// found in the LICENSE file.
// https://w3c.github.io/longtasks/#sec-PerformanceLongTaskTiming
[Exposed=Window]
interface PerformanceLongTaskTiming : PerformanceEntry {
[SameObject, SaveSameObject] readonly attribute FrozenArray<TaskAttributionTiming> attribution;
......
......@@ -4,5 +4,6 @@
// https://w3c.github.io/paint-timing/#sec-PerformancePaintTiming
[Exposed=Window]
interface PerformancePaintTiming : PerformanceEntry {
};
......@@ -3,6 +3,7 @@
// found in the LICENSE file.
// https://w3c.github.io/longtasks/#sec-TaskAttributionTiming
[Exposed=Window]
interface TaskAttributionTiming : PerformanceEntry {
[RuntimeEnabled=LongTaskV2] readonly attribute DOMString scriptURL;
readonly attribute DOMString containerType;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment