From b199482a4641a153dec7fb079ba2656399e97350 Mon Sep 17 00:00:00 2001
From: "Emmanuel Romero Ruiz (from Dev Box)" The ProfilerTrace Dictionary
Inspired by the V8 trace event format
and Gecko profile format,
this representation is designed to be easily and efficiently serializable.
-
+ enum ProfilerMarker { "script", "gc", "style", "layout", "paint", "other" };
+
dictionary ProfilerSample {
required DOMHighResTimeStamp timestamp;
unsigned long long stackId;
+ ProfilerMarker? marker;
};
timestamp MUST return the value it was initialized to.
stackId MUST return the value it was initialized to.
+marker MUST return the value it was initialized to, if present. The availability of markers depends on the context's cross-origin isolation status.
+
+ In cross-origin isolated contexts, all marker types are available. In non-isolated contexts, only style and layout markers are exposed for security reasons.
+