diff options
author | Taym Haddadi <haddadi.taym@gmail.com> | 2024-08-08 12:12:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-08 10:12:45 +0000 |
commit | 08eb4faf4d2805283137a19739b092cd7ddff600 (patch) | |
tree | 89a3c6966bacc0c06ee9ced07b509036528f1e55 /components/script/dom/messageport.rs | |
parent | f989d3776eca7c4a21f03a406a11c1b1228b285e (diff) | |
download | servo-08eb4faf4d2805283137a19739b092cd7ddff600.tar.gz servo-08eb4faf4d2805283137a19739b092cd7ddff600.zip |
Initial structuredClone implementation (#32960)
* Initial structuredClone implementation
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Rename PostMessageOptions to StructuredSerializeOptions
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Update wpt test 2020 layout result
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Remove dublicated StructuredClone implementation
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
* Remove comment from StructuredSerializeOptions webidl
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
---------
Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
Diffstat (limited to 'components/script/dom/messageport.rs')
-rw-r--r-- | components/script/dom/messageport.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/messageport.rs b/components/script/dom/messageport.rs index c7086c9403c..f5117cf209f 100644 --- a/components/script/dom/messageport.rs +++ b/components/script/dom/messageport.rs @@ -16,7 +16,7 @@ use script_traits::PortMessageTask; use crate::dom::bindings::codegen::Bindings::EventHandlerBinding::EventHandlerNonNull; use crate::dom::bindings::codegen::Bindings::MessagePortBinding::{ - MessagePortMethods, PostMessageOptions, + MessagePortMethods, StructuredSerializeOptions, }; use crate::dom::bindings::conversions::root_from_object; use crate::dom::bindings::error::{Error, ErrorResult}; @@ -288,7 +288,7 @@ impl MessagePortMethods for MessagePort { &self, cx: SafeJSContext, message: HandleValue, - options: RootedTraceableBox<PostMessageOptions>, + options: RootedTraceableBox<StructuredSerializeOptions>, ) -> ErrorResult { if self.detached.get() { return Ok(()); |