Changing response headers in webRequest.onHeadersReceived breaks page loading

Duplicate Issue #10224614 • See Issue #8796739

Details

Author
Andrey M.
Created
Dec 15, 2016
Privacy
This issue is public.
Duplicates
See progress on Bug #8796739
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

Steps to reproduce:
Implement the example from webextensions documentation:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest/onHeadersReceived#Examples

Set target page to something wider just to make it easier to reproduce the issue.

Expected result:
Response headers are modified, page is loaded and rendered

Actual result:
Edge offers to download “file.htm” page instead of processing and rendering page content.

Attachments

0 attachments

    Comments and activity

    You need to sign in to your Microsoft account to add a comment.

    Sign in