Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /fetch/orb/tentative/status.sub.window.html - WPT Dashboard Interop Dashboard
// META: script=/fetch/orb/resources/utils.js
// META: script=resources/utils.js
// Due to web compatibility we filter opaque Response object from the
// might be removed in the future.
promise_internal_response_is_filtered(
testFetchNoCors(
`${path}/data.json`,
null,
contentType("application/json"),
"status(206)"
),
"ORB should filter opaque-response-blocklisted MIME type with status 206"
);
// Due to web compatibility we filter opaque Response object from the
// might be removed in the future.
promise_internal_response_is_filtered(
testFetchNoCors(
`${path}/data.json`,
null,
contentType("application/json"),
"status(302)"
),
"ORB should filter opaque range of image/png not starting at zero, that isn't subsequent"
);