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