mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Manually format remaining problems
Use line comments instead of block comments as block comments contain trailing whitespace after formatting with rustfmt. Skip tests for malloc_size_of and script_plugins with rustfmt as they have many block comments.
This commit is contained in:
parent
cb07debcb6
commit
095d446ccd
5 changed files with 51 additions and 52 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue