Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444

This commit is contained in:
Josh Matthews 2017-04-17 12:06:02 +10:00 committed by Anthony Ramine
parent 25e8bf69e6
commit 665817d2a6
35333 changed files with 1818077 additions and 16036 deletions

View file

@ -29,4 +29,4 @@
document.body.appendChild(script);
</script>
</body>
</html>
</html>

View file

@ -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');

View file

@ -33,4 +33,4 @@
}, 20);
</script>
</body>
</html>
</html>

View file

@ -29,4 +29,4 @@
document.body.appendChild(script);
</script>
</body>
</html>
</html>

View file

@ -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');

View file

@ -33,4 +33,4 @@
}, 20);
</script>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
interval = setInterval('{', 10);
setTimeout(function(){
step_timeout(function(){
clearInterval(interval);
t.step(function(){
assert_true(ran, 'ran');

View file

@ -1,5 +1,5 @@
interval = setInterval('undefined_variable;', 10);
setTimeout(function(){
step_timeout(function(){
clearInterval(interval);
t.step(function(){
assert_true(ran, 'ran');

View file

@ -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>