diff options
Diffstat (limited to 'testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode.html')
-rw-r--r-- | testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode.html | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode.html b/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode.html deleted file mode 100644 index 49b1330c9..000000000 --- a/testing/web-platform/tests/websockets/interfaces/WebSocket/bufferedAmount/bufferedAmount-unicode.html +++ /dev/null @@ -1,23 +0,0 @@ -<!doctype html> -<meta charset=utf-8> -<title>WebSockets: bufferedAmount for unicode data</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> -async_test(function(t) { - var ws = new WebSocket(SCHEME_DOMAIN_PORT+'/echo'); - var data = "¥¥¥¥¥¥"; - ws.onopen = t.step_func(function(e) { - ws.send(data); - assert_equals(data.length * 2, ws.bufferedAmount); - }); - ws.onmessage = t.step_func(function(e) { - assert_equals(e.data, data); - t.done(); - }); -}); -</script> |