mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Replace any errors caused by content-provided URLs by warnings.
This commit is contained in:
parent
0e5893dc0d
commit
d1e5bafef0
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue