// 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; | |
}; |