mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
support structured cloning for Blob
This commit is contained in:
parent
ec84560e7f
commit
5c4f0be048
4 changed files with 163 additions and 24 deletions
|
@ -166,6 +166,11 @@ impl Blob {
|
|||
}
|
||||
}
|
||||
|
||||
/// Get a copy of the type_string
|
||||
pub fn get_type_string(&self) -> String {
|
||||
self.type_string.clone()
|
||||
}
|
||||
|
||||
/// Get a FileID representing the Blob content,
|
||||
/// used by URL.createObjectURL
|
||||
pub fn get_blob_url_id(&self) -> Uuid {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue