https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 8d877aacda3215c8ef53f1bb787c7c1d1b5d2fe5 authored by Fredrik Söderquist on 07 November 2018, 09:00:38 UTC
Recognize 'optimizespeed' and 'optimizequality' for 'image-rendering'
Tip revision: 8d877aa
007.html
<!doctype html>
<title>WebSockets: new WebSocket(url, null char)</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=../constants.js?pipe=sub></script>
<meta name="variant" content="">
<meta name="variant" content="?wss">
<div id=log></div>
<script>
test(function() {
  assert_throws("SyntaxError", function() {
    new WebSocket(SCHEME_DOMAIN_PORT + '/empty-message',
                  'a' + String.fromCharCode(0) + 'b')
  })
});
</script>
back to top