aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/writablestreamdefaultwriter.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2025-02-23 09:25:46 -0500
committerGitHub <noreply@github.com>2025-02-23 14:25:46 +0000
commit381e168877d1ddba81a73493ca8e2814ae9b07c3 (patch)
treed2fc48902138717013a6f8c11d6eb4bf381355b7 /components/script/dom/writablestreamdefaultwriter.rs
parent0383ba9a5b940de76823462ebc1b95298ea50903 (diff)
downloadservo-381e168877d1ddba81a73493ca8e2814ae9b07c3.tar.gz
servo-381e168877d1ddba81a73493ca8e2814ae9b07c3.zip
Move more bindings types to script_bindings (#35620)
* Move weak references implementation to script_bindings. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Move maplike/setlike definitions to script_bindings. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Move base error types to script_bindings. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Formatting. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom/writablestreamdefaultwriter.rs')
-rw-r--r--components/script/dom/writablestreamdefaultwriter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/writablestreamdefaultwriter.rs b/components/script/dom/writablestreamdefaultwriter.rs
index 1a76a23d241..ab26a752804 100644
--- a/components/script/dom/writablestreamdefaultwriter.rs
+++ b/components/script/dom/writablestreamdefaultwriter.rs
@@ -10,7 +10,7 @@ use js::jsval::UndefinedValue;
use js::rust::{HandleObject as SafeHandleObject, HandleValue as SafeHandleValue};
use crate::dom::bindings::codegen::Bindings::WritableStreamDefaultWriterBinding::WritableStreamDefaultWriterMethods;
-use crate::dom::bindings::error::Error;
+use crate::dom::bindings::error::{Error, ErrorToJsval};
use crate::dom::bindings::reflector::{reflect_dom_object_with_proto, DomGlobal, Reflector};
use crate::dom::bindings::root::{DomRoot, MutNullableDom};
use crate::dom::globalscope::GlobalScope;