mirror of
https://github.com/servo/servo.git
synced 2025-08-30 01:28:21 +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
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue