blob: 7ea7de6deef617695e14510c1f7afa9be67080ec [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.
[
ActiveScriptWrappable,
Constructor(DOMString interfaceName, optional MojoScope scope = "context"),
ConstructorCallWith=ExecutionContext,
Exposed=(Window,Worker),
RaisesException=Constructor,
RuntimeEnabled=MojoJSTest
] interface MojoInterfaceInterceptor : EventTarget {
[RaisesException] void start();
void stop();
attribute EventHandler oninterfacerequest;
};