script: Impl cloning of JSPrincipals (#32706)

* Impl cloning of JSPrincipals

* bincode as workspace dependency

* Update mozjs and cc
This commit is contained in:
Samson 2024-07-06 12:25:38 +02:00 committed by GitHub
parent 5a9dc98f07
commit 59d0f1fe1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 77 additions and 15 deletions

View file

@ -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);