diff options
Diffstat (limited to 'components/script/dom/url.rs')
-rw-r--r-- | components/script/dom/url.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/components/script/dom/url.rs b/components/script/dom/url.rs index 25e0274cbf5..22f5f9a0fdc 100644 --- a/components/script/dom/url.rs +++ b/components/script/dom/url.rs @@ -118,12 +118,9 @@ impl URL { // https://w3c.github.io/FileAPI/#dfn-revokeObjectURL pub fn RevokeObjectURL(global: &GlobalScope, url: DOMString) { - /* - If the value provided for the url argument is not a Blob URL OR - if the value provided for the url argument does not have an entry in the Blob URL Store, - - this method call does nothing. User agents may display a message on the error console. - */ + // If the value provided for the url argument is not a Blob URL OR + // if the value provided for the url argument does not have an entry in the Blob URL Store, + // this method call does nothing. User agents may display a message on the error console. let origin = get_blob_origin(&global.get_url()); if let Ok(url) = ServoUrl::parse(&url) { |