summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fetch/api/response
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/fetch/api/response')
-rw-r--r--testing/web-platform/tests/fetch/api/response/response-init-002.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/web-platform/tests/fetch/api/response/response-init-002.html b/testing/web-platform/tests/fetch/api/response/response-init-002.html
index 0bb2e8d0b..a48af8336 100644
--- a/testing/web-platform/tests/fetch/api/response/response-init-002.html
+++ b/testing/web-platform/tests/fetch/api/response/response-init-002.html
@@ -65,6 +65,11 @@
});
}, "Testing empty Response Content-Type header");
+ test(function() {
+ var response = new Response(null, {status: 204});
+ assert_equals(response.body, null);
+ }, "Testing null Response body");
+
</script>
</body>
</html>