summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/webtransport/incoming_stream.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webtransport/incoming_stream.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/webtransport/incoming_stream.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webtransport/incoming_stream.idl b/chromium/third_party/blink/renderer/modules/webtransport/incoming_stream.idl
new file mode 100644
index 00000000000..4af3c3acb17
--- /dev/null
+++ b/chromium/third_party/blink/renderer/modules/webtransport/incoming_stream.idl
@@ -0,0 +1,12 @@
+// Copyright 2020 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.
+
+// https://wicg.github.io/web-transport/#incomingstream
+
+[ActiveScriptWrappable]
+interface mixin IncomingStream {
+ readonly attribute ReadableStream readable;
+ readonly attribute Promise<StreamAbortInfo> readingAborted;
+ void abortReading(optional StreamAbortInfo abortInfo = {});
+};