Open Bug 1801657 Opened 2 years ago Updated 2 years ago

[DNR] Add test coverage for StreamFilter (filterResponseData) + DNR

Categories

(WebExtensions :: Request Handling, task, P3)

task
Points:
1

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: robwu, Assigned: robwu)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 obsolete file)

I have added extensive test coverage to the patch stack that hooks up the DNR engine with the network (bug 1745761), except for StreamFilter.

Although trivial to write, I'm separating them from the main patch because StreamFilter tests have historically been causes for intermittent test failures for reasons unrelated to the original test. Debugging / triaging such failures would be easier when the test is isolated.

Most streamfilter tests have some form of skip-if in https://searchfox.org/mozilla-central/rev/83b86005c6913c2062419efb8aabdf2e683aa47f/toolkit/components/extensions/test/xpcshell/xpcshell-common-e10s.ini#4-20.

Note: these tests should ideally be moved to xpcshell-common.ini from xpcshell-common-e10s.ini, but that's covered by bug 1724094.

Whiteboard: [addons-jira]

Comment on attachment 9326703 [details]
Bug 1801657 - Add test for SW script redirects with DNR

Revision D174513 was moved to bug 1826174. Setting attachment 9326703 [details] to obsolete.

Attachment #9326703 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: