blob: a91306f4c3c85d1b3181e5bb62016157b71e3e14 [file] [log] [blame]
<!DOCTYPE html>
<title>Service Workers: OpaqueResponse</title>
<link rel="help" href="">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
`OpaqueResponse` objects are immutable but constructable. The `fetch()` API
returns this type for cross-origin responses.
Their role is to encapsulate the security properties of the web platform. As
such, their `body` attribute will always be `undefined` and the list of
readable `headers` is heavily filtered.
`OpaqueResponse` objects may be forwarded on to rendering documents in exactly
the same way as mutable `Response` objects.
test(function() {
// not_implemented();
}, "There are no tests for section OpaqueResponse so far.");