mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
auto merge of #5476 : servo/servo/load-failure-panic, r=jdm
Fixes #5365.
This commit is contained in:
commit
6824bc9324
3 changed files with 11 additions and 3 deletions
|
@ -274,7 +274,9 @@ pub fn parse_html(document: JSRef<Document>,
|
|||
parser.parse_chunk(data);
|
||||
}
|
||||
ProgressMsg::Done(Err(err)) => {
|
||||
panic!("Failed to load page URL {}, error: {}", url.serialize(), err);
|
||||
debug!("Failed to load page URL {}, error: {}", url.serialize(), err);
|
||||
// TODO(Savago): we should send a notification to callers #5463.
|
||||
break;
|
||||
}
|
||||
ProgressMsg::Done(Ok(())) => break,
|
||||
}
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
[security_location_0.sub.htm]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Accessing location object from different origins doesn\'t raise SECURITY_ERR exception]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
[window-security.sub.html]
|
||||
type: testharness
|
||||
expected: CRASH
|
||||
expected: TIMEOUT
|
||||
[Window Security testing]
|
||||
expected: NOTRUN
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue