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

@ -10,10 +10,10 @@
async_test(function(t) {
var ws = new WebSocket(SCHEME_DOMAIN_PORT+'/handshake_no_protocol', 'foobar');
ws.onclose = t.step_func(function(e) {
ws.onclose = t.step_func(function() {assert_unreached()});
setTimeout(t.step_func(function() {t.done();}), 50)
ws.onclose = t.unreached_func();
t.step_timeout(() => t.done(), 50);
})
ws.onmessage = t.step_func(function() {assert_unreached()});
ws.onmessage = t.unreached_func();
});
</script>