Skip to content

Commit 316b0ce

Browse files
authored
Enabling more Stream functionality (#2584)
This is useful when compiling to WASM for the Cloudflare Workers: https://developers.cloudflare.com/workers/runtime-apis/streams Added Unstable WebIDL: unstable/ReadableStreamDefaultReader.webidl unstable/ReadableStreamGenericReader.webidl unstable/QueuingStrategy.webidl unstable/ReadableStreamBYOBReader.webidl unstable/TransformStream.webidl unstable/WritableStream.webidl unstable/WritableStreamDefaultWriter.webidl
1 parent 87406a6 commit 316b0ce

19 files changed

+954
-2
lines changed

crates/web-sys/Cargo.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,13 +907,19 @@ PushSubscriptionJson = []
907907
PushSubscriptionKeys = []
908908
PushSubscriptionOptions = []
909909
PushSubscriptionOptionsInit = []
910+
QueuingStrategy = []
910911
RadioNodeList = ["NodeList"]
911912
Range = []
912913
RcwnPerfStats = []
913914
RcwnStatus = []
914915
ReadableStream = []
916+
ReadableStreamByobReadResult = []
917+
ReadableStreamByobReader = []
918+
ReadableStreamDefaultReadResult = []
919+
ReadableStreamDefaultReader = []
915920
ReadableStreamGetReaderOptions = []
916921
ReadableStreamReaderMode = []
922+
ReadableWritablePair = []
917923
RecordingState = []
918924
ReferrerPolicy = []
919925
RegisterRequest = []
@@ -1237,6 +1243,7 @@ TouchInit = []
12371243
TouchList = []
12381244
TrackEvent = ["Event"]
12391245
TrackEventInit = []
1246+
TransformStream = ["ReadableStream", "WritableStream"]
12401247
TransitionEvent = ["Event"]
12411248
TransitionEventInit = []
12421249
Transport = []
@@ -1364,6 +1371,8 @@ WorkerOptions = []
13641371
Worklet = []
13651372
WorkletGlobalScope = []
13661373
WorkletOptions = []
1374+
WritableStream = []
1375+
WritableStreamDefaultWriter = []
13671376
XPathExpression = []
13681377
XPathNsResolver = []
13691378
XPathResult = []
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
#![allow(unused_imports)]
2+
use super::*;
3+
use wasm_bindgen::prelude::*;
4+
#[cfg(web_sys_unstable_apis)]
5+
#[wasm_bindgen]
6+
extern "C" {
7+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = QueuingStrategy)]
8+
#[derive(Debug, Clone, PartialEq, Eq)]
9+
#[doc = "The `QueuingStrategy` dictionary."]
10+
#[doc = ""]
11+
#[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`*"]
12+
#[doc = ""]
13+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
14+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
15+
pub type QueuingStrategy;
16+
}
17+
#[cfg(web_sys_unstable_apis)]
18+
impl QueuingStrategy {
19+
#[doc = "Construct a new `QueuingStrategy`."]
20+
#[doc = ""]
21+
#[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`*"]
22+
#[doc = ""]
23+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
24+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
25+
pub fn new() -> Self {
26+
#[allow(unused_mut)]
27+
let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
28+
ret
29+
}
30+
#[cfg(web_sys_unstable_apis)]
31+
#[doc = "Change the `highWaterMark` field of this object."]
32+
#[doc = ""]
33+
#[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`*"]
34+
#[doc = ""]
35+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
36+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
37+
pub fn high_water_mark(&mut self, val: f64) -> &mut Self {
38+
use wasm_bindgen::JsValue;
39+
let r = ::js_sys::Reflect::set(
40+
self.as_ref(),
41+
&JsValue::from("highWaterMark"),
42+
&JsValue::from(val),
43+
);
44+
debug_assert!(
45+
r.is_ok(),
46+
"setting properties should never fail on our dictionary objects"
47+
);
48+
let _ = r;
49+
self
50+
}
51+
#[cfg(web_sys_unstable_apis)]
52+
#[doc = "Change the `size` field of this object."]
53+
#[doc = ""]
54+
#[doc = "*This API requires the following crate features to be activated: `QueuingStrategy`*"]
55+
#[doc = ""]
56+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
57+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
58+
pub fn size(&mut self, val: &::js_sys::Function) -> &mut Self {
59+
use wasm_bindgen::JsValue;
60+
let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("size"), &JsValue::from(val));
61+
debug_assert!(
62+
r.is_ok(),
63+
"setting properties should never fail on our dictionary objects"
64+
);
65+
let _ = r;
66+
self
67+
}
68+
}

crates/web-sys/src/features/gen_ReadableStream.rs

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extern "C" {
4141
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/getReader)"]
4242
#[doc = ""]
4343
#[doc = "*This API requires the following crate features to be activated: `ReadableStream`*"]
44-
pub fn get_reader(this: &ReadableStream) -> ::wasm_bindgen::JsValue;
44+
pub fn get_reader(this: &ReadableStream) -> ::js_sys::Object;
4545
#[cfg(feature = "ReadableStreamGetReaderOptions")]
4646
# [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = getReader)]
4747
#[doc = "The `getReader()` method."]
@@ -52,7 +52,7 @@ extern "C" {
5252
pub fn get_reader_with_options(
5353
this: &ReadableStream,
5454
options: &ReadableStreamGetReaderOptions,
55-
) -> ::wasm_bindgen::JsValue;
55+
) -> ::js_sys::Object;
5656
#[cfg(feature = "ReadableWritablePair")]
5757
# [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = pipeThrough)]
5858
#[doc = "The `pipeThrough()` method."]
@@ -73,6 +73,34 @@ extern "C" {
7373
transform: &ReadableWritablePair,
7474
options: &StreamPipeOptions,
7575
) -> ReadableStream;
76+
#[cfg(web_sys_unstable_apis)]
77+
#[cfg(feature = "WritableStream")]
78+
# [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = pipeTo)]
79+
#[doc = "The `pipeTo()` method."]
80+
#[doc = ""]
81+
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo)"]
82+
#[doc = ""]
83+
#[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `WritableStream`*"]
84+
#[doc = ""]
85+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
86+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
87+
pub fn pipe_to(this: &ReadableStream, destination: &WritableStream) -> ::js_sys::Promise;
88+
#[cfg(web_sys_unstable_apis)]
89+
#[cfg(all(feature = "StreamPipeOptions", feature = "WritableStream",))]
90+
# [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = pipeTo)]
91+
#[doc = "The `pipeTo()` method."]
92+
#[doc = ""]
93+
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/pipeTo)"]
94+
#[doc = ""]
95+
#[doc = "*This API requires the following crate features to be activated: `ReadableStream`, `StreamPipeOptions`, `WritableStream`*"]
96+
#[doc = ""]
97+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
98+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
99+
pub fn pipe_to_with_options(
100+
this: &ReadableStream,
101+
destination: &WritableStream,
102+
options: &StreamPipeOptions,
103+
) -> ::js_sys::Promise;
76104
# [wasm_bindgen (method , structural , js_class = "ReadableStream" , js_name = tee)]
77105
#[doc = "The `tee()` method."]
78106
#[doc = ""]
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#![allow(unused_imports)]
2+
use super::*;
3+
use wasm_bindgen::prelude::*;
4+
#[cfg(web_sys_unstable_apis)]
5+
#[wasm_bindgen]
6+
extern "C" {
7+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamBYOBReadResult)]
8+
#[derive(Debug, Clone, PartialEq, Eq)]
9+
#[doc = "The `ReadableStreamByobReadResult` dictionary."]
10+
#[doc = ""]
11+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReadResult`*"]
12+
#[doc = ""]
13+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
14+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
15+
pub type ReadableStreamByobReadResult;
16+
}
17+
#[cfg(web_sys_unstable_apis)]
18+
impl ReadableStreamByobReadResult {
19+
#[doc = "Construct a new `ReadableStreamByobReadResult`."]
20+
#[doc = ""]
21+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReadResult`*"]
22+
#[doc = ""]
23+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
24+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
25+
pub fn new() -> Self {
26+
#[allow(unused_mut)]
27+
let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
28+
ret
29+
}
30+
#[cfg(web_sys_unstable_apis)]
31+
#[doc = "Change the `done` field of this object."]
32+
#[doc = ""]
33+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReadResult`*"]
34+
#[doc = ""]
35+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
36+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
37+
pub fn done(&mut self, val: bool) -> &mut Self {
38+
use wasm_bindgen::JsValue;
39+
let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("done"), &JsValue::from(val));
40+
debug_assert!(
41+
r.is_ok(),
42+
"setting properties should never fail on our dictionary objects"
43+
);
44+
let _ = r;
45+
self
46+
}
47+
#[cfg(web_sys_unstable_apis)]
48+
#[doc = "Change the `value` field of this object."]
49+
#[doc = ""]
50+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReadResult`*"]
51+
#[doc = ""]
52+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
53+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
54+
pub fn value(&mut self, val: &::js_sys::Object) -> &mut Self {
55+
use wasm_bindgen::JsValue;
56+
let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
57+
debug_assert!(
58+
r.is_ok(),
59+
"setting properties should never fail on our dictionary objects"
60+
);
61+
let _ = r;
62+
self
63+
}
64+
}
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
#![allow(unused_imports)]
2+
use super::*;
3+
use wasm_bindgen::prelude::*;
4+
#[cfg(web_sys_unstable_apis)]
5+
#[wasm_bindgen]
6+
extern "C" {
7+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamBYOBReader , typescript_type = "ReadableStreamBYOBReader")]
8+
#[derive(Debug, Clone, PartialEq, Eq)]
9+
#[doc = "The `ReadableStreamByobReader` class."]
10+
#[doc = ""]
11+
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader)"]
12+
#[doc = ""]
13+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
14+
#[doc = ""]
15+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
16+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
17+
pub type ReadableStreamByobReader;
18+
#[cfg(web_sys_unstable_apis)]
19+
# [wasm_bindgen (structural , method , getter , js_class = "ReadableStreamBYOBReader" , js_name = closed)]
20+
#[doc = "Getter for the `closed` field of this object."]
21+
#[doc = ""]
22+
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/closed)"]
23+
#[doc = ""]
24+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
25+
#[doc = ""]
26+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
27+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
28+
pub fn closed(this: &ReadableStreamByobReader) -> ::js_sys::Promise;
29+
#[cfg(web_sys_unstable_apis)]
30+
# [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = read)]
31+
#[doc = "The `read()` method."]
32+
#[doc = ""]
33+
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/read)"]
34+
#[doc = ""]
35+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
36+
#[doc = ""]
37+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
38+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
39+
pub fn read_with_array_buffer_view(
40+
this: &ReadableStreamByobReader,
41+
view: &::js_sys::Object,
42+
) -> ::js_sys::Promise;
43+
#[cfg(web_sys_unstable_apis)]
44+
# [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = read)]
45+
#[doc = "The `read()` method."]
46+
#[doc = ""]
47+
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/read)"]
48+
#[doc = ""]
49+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
50+
#[doc = ""]
51+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
52+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
53+
pub fn read_with_u8_array(
54+
this: &ReadableStreamByobReader,
55+
view: &mut [u8],
56+
) -> ::js_sys::Promise;
57+
#[cfg(web_sys_unstable_apis)]
58+
# [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = releaseLock)]
59+
#[doc = "The `releaseLock()` method."]
60+
#[doc = ""]
61+
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/releaseLock)"]
62+
#[doc = ""]
63+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
64+
#[doc = ""]
65+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
66+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
67+
pub fn release_lock(this: &ReadableStreamByobReader);
68+
#[cfg(web_sys_unstable_apis)]
69+
# [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = cancel)]
70+
#[doc = "The `cancel()` method."]
71+
#[doc = ""]
72+
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/cancel)"]
73+
#[doc = ""]
74+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
75+
#[doc = ""]
76+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
77+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
78+
pub fn cancel(this: &ReadableStreamByobReader) -> ::js_sys::Promise;
79+
#[cfg(web_sys_unstable_apis)]
80+
# [wasm_bindgen (method , structural , js_class = "ReadableStreamBYOBReader" , js_name = cancel)]
81+
#[doc = "The `cancel()` method."]
82+
#[doc = ""]
83+
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader/cancel)"]
84+
#[doc = ""]
85+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamByobReader`*"]
86+
#[doc = ""]
87+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
88+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
89+
pub fn cancel_with_reason(
90+
this: &ReadableStreamByobReader,
91+
reason: &::wasm_bindgen::JsValue,
92+
) -> ::js_sys::Promise;
93+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#![allow(unused_imports)]
2+
use super::*;
3+
use wasm_bindgen::prelude::*;
4+
#[cfg(web_sys_unstable_apis)]
5+
#[wasm_bindgen]
6+
extern "C" {
7+
# [wasm_bindgen (extends = :: js_sys :: Object , js_name = ReadableStreamDefaultReadResult)]
8+
#[derive(Debug, Clone, PartialEq, Eq)]
9+
#[doc = "The `ReadableStreamDefaultReadResult` dictionary."]
10+
#[doc = ""]
11+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReadResult`*"]
12+
#[doc = ""]
13+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
14+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
15+
pub type ReadableStreamDefaultReadResult;
16+
}
17+
#[cfg(web_sys_unstable_apis)]
18+
impl ReadableStreamDefaultReadResult {
19+
#[doc = "Construct a new `ReadableStreamDefaultReadResult`."]
20+
#[doc = ""]
21+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReadResult`*"]
22+
#[doc = ""]
23+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
24+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
25+
pub fn new() -> Self {
26+
#[allow(unused_mut)]
27+
let mut ret: Self = ::wasm_bindgen::JsCast::unchecked_into(::js_sys::Object::new());
28+
ret
29+
}
30+
#[cfg(web_sys_unstable_apis)]
31+
#[doc = "Change the `done` field of this object."]
32+
#[doc = ""]
33+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReadResult`*"]
34+
#[doc = ""]
35+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
36+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
37+
pub fn done(&mut self, val: bool) -> &mut Self {
38+
use wasm_bindgen::JsValue;
39+
let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("done"), &JsValue::from(val));
40+
debug_assert!(
41+
r.is_ok(),
42+
"setting properties should never fail on our dictionary objects"
43+
);
44+
let _ = r;
45+
self
46+
}
47+
#[cfg(web_sys_unstable_apis)]
48+
#[doc = "Change the `value` field of this object."]
49+
#[doc = ""]
50+
#[doc = "*This API requires the following crate features to be activated: `ReadableStreamDefaultReadResult`*"]
51+
#[doc = ""]
52+
#[doc = "*This API is unstable and requires `--cfg=web_sys_unstable_apis` to be activated, as"]
53+
#[doc = "[described in the `wasm-bindgen` guide](https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html)*"]
54+
pub fn value(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self {
55+
use wasm_bindgen::JsValue;
56+
let r = ::js_sys::Reflect::set(self.as_ref(), &JsValue::from("value"), &JsValue::from(val));
57+
debug_assert!(
58+
r.is_ok(),
59+
"setting properties should never fail on our dictionary objects"
60+
);
61+
let _ = r;
62+
self
63+
}
64+
}

0 commit comments

Comments
 (0)