mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Issue #15017: Properly handle and report network errors on page loads.
This commit is contained in:
parent
a1187c12ee
commit
abc9f785e8
3 changed files with 36 additions and 10 deletions
|
@ -8768,6 +8768,12 @@
|
|||
"url": "/_mozilla/mozilla/nested_asap_script.html"
|
||||
}
|
||||
],
|
||||
"mozilla/network_error_page_load.html": [
|
||||
{
|
||||
"path": "mozilla/network_error_page_load.html",
|
||||
"url": "/_mozilla/mozilla/network_error_page_load.html"
|
||||
}
|
||||
],
|
||||
"mozilla/node_compareDocumentPosition.html": [
|
||||
{
|
||||
"path": "mozilla/node_compareDocumentPosition.html",
|
||||
|
|
13
tests/wpt/mozilla/tests/mozilla/network_error_page_load.html
Normal file
13
tests/wpt/mozilla/tests/mozilla/network_error_page_load.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!doctype html>
|
||||
<meta charset="utf-8">
|
||||
<title>Test for issue #15017</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<html>
|
||||
<iframe src="http://aowiejfoiawjef" id="foo"></iframe>
|
||||
</html>
|
||||
<script>
|
||||
var t = async_test("Load resource with network error")
|
||||
var iframe = document.getElementById('foo')
|
||||
iframe.onload = t.step_func(function(e) { t.done() })
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue