blob: 1165e41e9280f264aac76a01cd0dae8f8891a7c3 [file] [log] [blame]
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
assert_throws_js(TypeError, () => { navigator.sendBeacon("/", new ReadableStream()) });
}, "Beacon with a ReadableStream body should fail.");
</script>