Revision 1f78ad98ff6caa9eb28c3081e14be8552e88d3d6 authored by Bryce Van Dyk on 17 October 2016, 18:15:09 UTC, committed by ddorwin on 17 October 2016, 18:15:09 UTC
One of the assertions in the test was checking the media keys on a _video2
variable. This test only deals with setting media keys on a single video,
_video, so this appears to be a typo.
1 parent 5c6086b
Raw File
Close-clamp.htm
<!DOCTYPE html>
<title>WebSocket#close(2**16+1000)</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="websocket.sub.js"></script>
<div id="log"></div>
<script>
test(function() {
    var ws = CreateWebSocket(false, false, false);
    assert_throws("InvalidAccessError", function () {
        ws.close(0x10000 + 1000);
    });
});
</script>
back to top