mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00

After applying D102448, uriloader/exthandler/tests/mochitest/test_nullCharFile.xhtml starts to fail. The reason is that it adds image sniffer into net-content-sniffers which is not expected. Such that, this patch - adds two other sniffers category: - orb-content-sniffers - The sniffers that are needed in ORB. - net-and-orb-content-sniffers - The sniffers that are in either orb-content-sniffers or net-content-sniffers. - changes the way to ensure we only use the sniffers in the requested category. Differential Revision: https://phabricator.services.mozilla.com/D107207