blob: f3cbb92519ab0e29bb51dd737d6e3dfc478151cc [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/WICG/reporting/blob/master/EXPLAINER.md#reportingobserver---observing-reports-from-javascript
callback ReportingObserverCallback = void (sequence<Report> reports, ReportingObserver observer);
[
Constructor(ReportingObserverCallback callback),
ConstructorCallWith=ExecutionContext,
RuntimeEnabled=ReportingObserver
] interface ReportingObserver {
void observe();
void disconnect();
};