aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_bindings/utils.rs
diff options
context:
space:
mode:
authorGregory Terzian <2792687+gterzian@users.noreply.github.com>2025-04-15 15:39:26 +0800
committerGitHub <noreply@github.com>2025-04-15 07:39:26 +0000
commitf8b6b9f7b63756d13e8a86d988c93b521acc6966 (patch)
treef77d98c10cfcabd6434217a9e8126d9265a8629f /components/script_bindings/utils.rs
parentc9489ca04fa4b5462e788f55df33cbbc0e911db0 (diff)
downloadservo-f8b6b9f7b63756d13e8a86d988c93b521acc6966.tar.gz
servo-f8b6b9f7b63756d13e8a86d988c93b521acc6966.zip
Transfer ReadableStream (#36181)
<!-- Please describe your changes on the following line: --> Add transfer support to ReadableStream. Part of https://github.com/servo/servo/issues/34676 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> --------- Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
Diffstat (limited to 'components/script_bindings/utils.rs')
-rw-r--r--components/script_bindings/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script_bindings/utils.rs b/components/script_bindings/utils.rs
index 95f742c9a06..8778d6fcc2b 100644
--- a/components/script_bindings/utils.rs
+++ b/components/script_bindings/utils.rs
@@ -293,7 +293,7 @@ pub unsafe fn get_dictionary_property(
/// # Safety
/// `cx` must point to a valid, non-null JSContext.
#[allow(clippy::result_unit_err)]
-pub(crate) unsafe fn set_dictionary_property(
+pub unsafe fn set_dictionary_property(
cx: *mut JSContext,
object: HandleObject,
property: &str,