mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -44,11 +44,12 @@ use crate::script_runtime::JSContext as SafeJSContext;
|
|||
// NOTE: Current values found at https://dxr.mozilla.org/mozilla-central/
|
||||
// rev/ff04d410e74b69acfab17ef7e73e7397602d5a68/js/public/StructuredClone.h#323
|
||||
#[repr(u32)]
|
||||
enum StructuredCloneTags {
|
||||
pub(super) enum StructuredCloneTags {
|
||||
/// To support additional types, add new tags with values incremented from the last one before Max.
|
||||
Min = 0xFFFF8000,
|
||||
DomBlob = 0xFFFF8001,
|
||||
MessagePort = 0xFFFF8002,
|
||||
Principals = 0xFFFF8003,
|
||||
Max = 0xFFFFFFFF,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue