blob: 1698558daece096ff7dae35900a430e0ec60b73d [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.");