mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision 44702f2bc8ea98bc32b5b244f2fe63c6ce66d49d
This commit is contained in:
parent
85fa6409bb
commit
c227604a2c
997 changed files with 45660 additions and 14650 deletions
|
@ -17,15 +17,16 @@
|
|||
<div id="log"></div>
|
||||
<script type="text/javascript">
|
||||
|
||||
var test = async_test();
|
||||
|
||||
function startRequest() {
|
||||
xhr.open("GET", "./resources/content.py?content=Hi", true);
|
||||
xhr.timeout = 2000;
|
||||
setTimeout(function () {
|
||||
test.step_timeout(function () {
|
||||
xhr.send();
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
var test = async_test();
|
||||
test.step(function()
|
||||
{
|
||||
var count = 0;
|
||||
|
@ -40,7 +41,7 @@ test.step(function()
|
|||
assert_unreached("HTTP error should not timeout");
|
||||
}
|
||||
startRequest();
|
||||
setTimeout(startRequest, 3500);
|
||||
test.step_timeout(startRequest, 3500);
|
||||
});
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue