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