OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <title>Service Workers: OpaqueResponse</title> |
| 4 <head> |
| 5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#opaque-respo
nse"> |
| 6 <script src="/resources/testharness.js"></script> |
| 7 <script src="/resources/testharnessreport.js"></script> |
| 8 |
| 9 </head> |
| 10 <body> |
| 11 |
| 12 <!-- |
| 13 |
| 14 `OpaqueResponse` objects are immutable but constructable. The `fetch()` API |
| 15 returns this type for cross-origin responses. |
| 16 |
| 17 Their role is to encapsulate the security properties of the web platform. As |
| 18 such, their `body` attribute will always be `undefined` and the list of |
| 19 readable `headers` is heavily filtered. |
| 20 |
| 21 `OpaqueResponse` objects may be forwarded on to rendering documents in exactly |
| 22 the same way as mutable `Response` objects. |
| 23 |
| 24 --> |
| 25 |
| 26 |
| 27 |
| 28 <script> |
| 29 test(function() { |
| 30 // not_implemented(); |
| 31 }, "There are no tests for section OpaqueResponse so far."); |
| 32 </script> |
| 33 |
| 34 </body> |
| 35 </html> |
| 36 |
OLD | NEW |