mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
script: Impl cloning of JSPrincipals (#32706)
* Impl cloning of JSPrincipals * bincode as workspace dependency * Update mozjs and cc
This commit is contained in:
parent
5a9dc98f07
commit
59d0f1fe1a
7 changed files with 77 additions and 15 deletions
|
@ -92,7 +92,7 @@ pub struct OpaqueOrigin(Uuid);
|
|||
malloc_size_of_is_0!(OpaqueOrigin);
|
||||
|
||||
/// A representation of an [origin](https://html.spec.whatwg.org/multipage/#origin-2).
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct MutableOrigin(Rc<(ImmutableOrigin, RefCell<Option<Host>>)>);
|
||||
|
||||
malloc_size_of_is_0!(MutableOrigin);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue