blob: b5456b99cad6c13bdeeb7630ca5971db64fd1b12 [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,
DependentLifetime,
Exposed=(Window,Worker),
RaisesException=Constructor,
ContextEnabled=MojoJSTest,
RuntimeEnabled=MojoJSTest
] interface MojoInterfaceInterceptor : EventTarget {
[RaisesException] void start();
void stop();
attribute EventHandler oninterfacerequest;
};