001.html (520B)
1 <!doctype html> 2 <title>WebSockets: getting extensions in connecting</title> 3 <script src=/resources/testharness.js></script> 4 <script src=/resources/testharnessreport.js></script> 5 <script src=../../../constants.sub.js></script> 6 <meta name="variant" content="?default"> 7 <meta name="variant" content="?wss"> 8 <div id=log></div> 9 <script> 10 test(function(t) { 11 // The extensions attribute must initially return the empty string 12 assert_equals((new WebSocket(SCHEME_DOMAIN_PORT+'/empty-message')).extensions, ''); 13 }); 14 </script>