summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/streams/writable_stream_default_writer.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/streams/writable_stream_default_writer.idl')
-rw-r--r--chromium/third_party/blink/renderer/core/streams/writable_stream_default_writer.idl12
1 files changed, 5 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/core/streams/writable_stream_default_writer.idl b/chromium/third_party/blink/renderer/core/streams/writable_stream_default_writer.idl
index 68cf0dd6a55..0b59cdf3c0d 100644
--- a/chromium/third_party/blink/renderer/core/streams/writable_stream_default_writer.idl
+++ b/chromium/third_party/blink/renderer/core/streams/writable_stream_default_writer.idl
@@ -6,11 +6,9 @@
// https://streams.spec.whatwg.org/#default-writer-class-definition
[
- Exposed=(Window,Worker,Worklet),
- RaisesException=Constructor,
- ConstructorCallWith=ScriptState,
- Constructor(WritableStream stream)
+ Exposed=(Window,Worker,Worklet)
] interface WritableStreamDefaultWriter {
+ [CallWith=ScriptState, RaisesException] constructor(WritableStream stream);
[CallWith=ScriptState, NotEnumerable] readonly attribute Promise<void>
closed;
[RaisesException, CallWith=ScriptState, NotEnumerable] readonly attribute
@@ -18,10 +16,10 @@
[CallWith=ScriptState, NotEnumerable] readonly attribute Promise<void>
ready;
- [CallWith=ScriptState, NotEnumerable] Promise<void> abort(
+ [CallWith=ScriptState, RaisesException, NotEnumerable] Promise<void> abort(
optional any reason);
- [CallWith=ScriptState, NotEnumerable] Promise<void> close();
+ [CallWith=ScriptState, RaisesException, NotEnumerable] Promise<void> close();
[CallWith=ScriptState, NotEnumerable] void releaseLock();
- [CallWith=ScriptState, NotEnumerable] Promise<void> write(
+ [CallWith=ScriptState, RaisesException, NotEnumerable] Promise<void> write(
optional any chunk);
};