mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Make DOMPoint and DOMPointReadOnly serializable (#35989)
* script: Make DOMPointReadOnly serializable. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Make DOMPoint serializable. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * script: Shrink worker script event. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update components/script/dom/dompoint.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
1df1ba58d6
commit
53a2e61fec
13 changed files with 224 additions and 45 deletions
|
@ -148,7 +148,7 @@ impl Worker {
|
|||
address,
|
||||
WorkerScriptMsg::DOMMessage {
|
||||
origin: self.global().origin().immutable().clone(),
|
||||
data,
|
||||
data: Box::new(data),
|
||||
},
|
||||
));
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue