aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/blob.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/blob.rs')
-rw-r--r--components/script/dom/blob.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script/dom/blob.rs b/components/script/dom/blob.rs
index 036dcfab483..d8ed5fa1b64 100644
--- a/components/script/dom/blob.rs
+++ b/components/script/dom/blob.rs
@@ -163,6 +163,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 {