gecko-dev/netwerk/test/browser
Eden Chuang 4ce2d06b79 Bug 1714299 - Correct the opaque response judgment for opaque response blocking. r=necko-reviewers,annevk,dragana
An opaque response should be not only cross-origin but also be request with no_cors request mode.

To filter out the request with mode Same_origin, navigate, and cors. This patch reuses the algorithm in InternalRequest/FetchDriver to decide whether a response is an opaque response.

https://searchfox.org/mozilla-central/rev/da5d08750e504f3710f7ea051327d9c311c39902/dom/fetch/InternalRequest.cpp#331
https://searchfox.org/mozilla-central/rev/da5d08750e504f3710f7ea051327d9c311c39902/dom/fetch/FetchDriver.cpp#1153,1157

Differential Revision: https://phabricator.services.mozilla.com/D117086
2021-07-02 23:11:55 +00:00
..
auth_post.sjs Bug 1676331 - Test that submitting a form with a large blob works with authentication r=necko-reviewers,dragana 2021-03-08 10:43:13 +00:00
browser.ini Bug 1714299 - Correct the opaque response judgment for opaque response blocking. r=necko-reviewers,annevk,dragana 2021-07-02 23:11:55 +00:00
browser_NetUtil.js
browser_about_cache.js
browser_bug1535877.js
browser_child_resource.js
browser_cookie_sync_across_tabs.js
browser_fetch_lnk.js
browser_nsIFormPOSTActionChannel.js
browser_opaque_response_blocking_telemetry.js Bug 1714299 - Correct the opaque response judgment for opaque response blocking. r=necko-reviewers,annevk,dragana 2021-07-02 23:11:55 +00:00
browser_post_auth.js Bug 1715300 - Disable BFCache in parent in some tests for now. r=smaug 2021-06-20 15:46:38 +00:00
browser_post_file.js
browser_resource_navigation.js
browser_test_favicon.js
browser_test_io_activity.js
damonbowling.jpg
damonbowling.jpg^headers^
dummy.html
file_favicon.html
file_lnk.lnk
ioactivity.html
post.html Bug 1676331 - Test that submitting a form with a large blob works with authentication r=necko-reviewers,dragana 2021-03-08 10:43:13 +00:00
redirect.sjs
res.css Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res.css^headers^ Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res.csv Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res.csv^headers^ Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res.mp3 Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res.unknown Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_206.html Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_206.html^headers^ Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_206.mp3 Bug 1697494 - adding tests for Opaque Response Blocking with media range requests. r=necko-reviewers,dragana 2021-04-27 08:57:29 +00:00
res_206.mp3^headers^ Bug 1697494 - adding tests for Opaque Response Blocking with media range requests. r=necko-reviewers,dragana 2021-04-27 08:57:29 +00:00
res_img.png Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_img_for_unknown_decoder Bug 1701868 - Testcase for OpaqueResponseBlocking with type sniffing fail. r=necko-reviewers,dragana 2021-05-01 20:58:15 +00:00
res_img_for_unknown_decoder^headers^ Bug 1701868 - Testcase for OpaqueResponseBlocking with type sniffing fail. r=necko-reviewers,dragana 2021-05-01 20:58:15 +00:00
res_img_unknown.png Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_invalid_partial.mp3 Bug 1697494 - adding tests for Opaque Response Blocking with media range requests. r=necko-reviewers,dragana 2021-04-27 08:57:29 +00:00
res_invalid_partial.mp3^headers^ Bug 1697494 - adding tests for Opaque Response Blocking with media range requests. r=necko-reviewers,dragana 2021-04-27 08:57:29 +00:00
res_nosniff.html Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_nosniff.html^headers^ Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_nosniff2.html Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_nosniff2.html^headers^ Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_not_200or206.mp3 Bug 1697494 - adding tests for Opaque Response Blocking with media range requests. r=necko-reviewers,dragana 2021-04-27 08:57:29 +00:00
res_not_200or206.mp3^headers^ Bug 1697494 - adding tests for Opaque Response Blocking with media range requests. r=necko-reviewers,dragana 2021-04-27 08:57:29 +00:00
res_not_ok.html Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_not_ok.html^headers^ Bug 1683131 - Add a test for telemetry r=necko-reviewers,dragana 2021-03-30 00:52:33 +00:00
res_object.html Bug 1714299 - Correct the opaque response judgment for opaque response blocking. r=necko-reviewers,annevk,dragana 2021-07-02 23:11:55 +00:00
res_sub_document.html Bug 1714299 - Correct the opaque response judgment for opaque response blocking. r=necko-reviewers,annevk,dragana 2021-07-02 23:11:55 +00:00