blob: 27fd436baa4e93ae92a84e57a2adc3ab3fb26c98 [file] [log] [blame]
// Copyright 2015 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.
Constructor(DOMString type, optional ServicePortConnectEventInit eventInitDict),
] interface ServicePortConnectEvent : ExtendableEvent {
readonly attribute DOMString targetURL;
readonly attribute DOMString origin;
[CallWith=ScriptState, RaisesException] Promise<ServicePort> respondWith(Promise<ServicePortConnectResponse> response);