mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -29,4 +29,4 @@
|
|||
document.body.appendChild(script);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
assert_equals(typeof c, 'number', 'third arg');
|
||||
});
|
||||
interval = setInterval("{", 10);
|
||||
setTimeout(function(){
|
||||
step_timeout(function(){
|
||||
t.step(function(){
|
||||
clearInterval(interval);
|
||||
assert_true(ran, 'ran');
|
||||
|
|
|
@ -33,4 +33,4 @@
|
|||
}, 20);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -29,4 +29,4 @@
|
|||
document.body.appendChild(script);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
assert_equals(typeof c, 'number', 'third arg');
|
||||
});
|
||||
interval = setInterval("undefined_variable;", 10);
|
||||
setTimeout(function(){
|
||||
step_timeout(function(){
|
||||
clearInterval(interval);
|
||||
t.step(function(){
|
||||
assert_true(ran, 'ran');
|
||||
|
|
|
@ -33,4 +33,4 @@
|
|||
}, 20);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
interval = setInterval('{', 10);
|
||||
setTimeout(function(){
|
||||
step_timeout(function(){
|
||||
clearInterval(interval);
|
||||
t.step(function(){
|
||||
assert_true(ran, 'ran');
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
interval = setInterval('undefined_variable;', 10);
|
||||
setTimeout(function(){
|
||||
step_timeout(function(){
|
||||
clearInterval(interval);
|
||||
t.step(function(){
|
||||
assert_true(ran, 'ran');
|
||||
|
|
|
@ -27,9 +27,11 @@ async_test(function(t) {
|
|||
};
|
||||
|
||||
var p = Promise.reject(e);
|
||||
setTimeout(t.step_func(function() {
|
||||
// This will cause onrejectionhandled
|
||||
p.catch(function() {});
|
||||
}), 1);
|
||||
setTimeout(function() {
|
||||
setTimeout(t.step_func(function() {
|
||||
// This will cause onrejectionhandled
|
||||
p.catch(function() {});
|
||||
}), 0);
|
||||
}, 0);
|
||||
}, 'Throwing inside an unhandledrejection handler invokes the error handler.');
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue