blob: 15d90dc8a2d94fb4a84b51494da159bc12d65b25 [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://wicg.github.io/js-self-profiling/#the-profilersample-dictionary
// https://github.com/WICG/js-self-profiling/pull/64
enum ProfilerMarker { "gc", "layout", "paint", "script", "style" };
dictionary ProfilerSample {
required DOMHighResTimeStamp timestamp;
unsigned long long stackId;
[RuntimeEnabled=ExperimentalJSProfilerMarkers, CrossOriginIsolated] ProfilerMarker marker;
};