cliqz-oss/dat-webext

Can't display SVGZ

Opened this issue · 1 comments

da2x commented

Test case: dat://e71784fbaaac13e7a1b20ba39d8149b2ba893171204672575eab8b4fd0758ec3/1399/testcase.html

Detailed description: beakerbrowser/beaker#1399 (comment)

At the moment the protocol handler API we use does not have a concept of headers, so if the issue is a lack of Content-Encoding header, then this cannot be easily added. The other solution would be to decompress inside this extension, but I'm not sure I want to ship a javascript gzip implementation with the extension. There are Firefox APIs for doing gzip natively, but that would require another experimental API to expose that API to the extension.