Skip to content

Commit

Permalink
Replace any errors caused by content-provided URLs by warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Jeffrey committed Jul 15, 2016
1 parent 0e5893d commit d1e5baf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/compositing/compositor.rs
Expand Up @@ -1403,7 +1403,7 @@ impl<Window: WindowMethods> IOCompositor<Window> {
warn!("Sending load url to constellation failed ({}).", e);
}
},
Err(e) => error!("Parsing URL {} failed ({}).", url_string, e),
Err(e) => warn!("Parsing URL {} failed ({}).", url_string, e),
}
}

Expand Down
4 changes: 2 additions & 2 deletions components/script/dom/htmlscriptelement.rs
Expand Up @@ -328,7 +328,7 @@ impl HTMLScriptElement {
// Step 18.4-18.5.
let url = match base_url.join(&src) {
Err(_) => {
error!("error parsing URL for script {}", &**src);
warn!("error parsing URL for script {}", &**src);
self.queue_error_event();
return NextParserState::Continue;
}
Expand Down Expand Up @@ -414,7 +414,7 @@ impl HTMLScriptElement {
let (source, external, url) = match load {
// Step 2.a.
ScriptOrigin::External(Err(e)) => {
error!("error loading script {:?}", e);
warn!("error loading script {:?}", e);
self.dispatch_error_event();
return;
}
Expand Down

0 comments on commit d1e5baf

Please sign in to comment.