WebRequest API: onHeadersReceived breaks page if CORS in headers.

Not reproducible Issue #13418323

Details

Author
Eugene C.
Created
Aug 24, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

STR:

  1. Install sample extension from cors-example branch
  2. Visit any page with CORS headers. (f.e. https://www.nczonline.net/blog/2010/05/25/cross-domain-ajax-with-cross-origin-resource-sharing/)

Actual
Page will reload multiple times, and then crash.
Expected
Page loaded normally.

Works fine in other browsers.
Note, that page will load normally if you will filter-out “access-control-allow-origin” header from .onHeadersReceived callback. But applications like gmail will not function properly if you’ll just filter-out allow-origin header.
Also attached screen capture with recorded issue.

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Assigned To to “wptsixtri@microsoft.com”

    Changed Assigned To from “wptsixtri@microsoft.com” to “James M.”

  • Hello,

    Thank you for providing this information about the issue. After thorough testing, we are unable to reproduce this problem in Edge. Please try disabling all other browser extensions and restarting Edge, then try the repro again to see if this fixes the problem.

    Best Wishes,
    The MS Edge Team

  • Microsoft Edge Team

    Changed Status to “Not reproducible”

  • Changed Status from “Not reproducible”

  • Hello, James

    Just tried again. Still, reproduces to me.
    I’m using VBox image (build #15.15063) from here:
    https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

    Be sure to checkout cors-example branch

  • Hello. It was my bad. I haven’t pushed reproducible build.
    Please check now.

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

  • Hello,

    Thank you for providing new information about the issue. After thorough testing, we are still unable to reproduce this problem in Edge. Please download debug diag from https://www.microsoft.com/en-us/download/details.aspx?id=49924 

    1. Once installed, open debug diag and select the rule type ‘Crash’ and click Next. 
    2. Under Select Target Type, select ‘A specific process’ and click Next. 
    3. Under Select a process, please select a MicrosoftEdgeCP.exe process and click Next. 
    4. In the Advanced Configuration, please just click Next. 
    5. Lastly, in the Rule Output Location, please choose and take note of the location where the dump file will be written; click Next then click Finish. 
    6. Reproduce the crash in Edge, and open the folder location from step 5 above. Locate the file ending in .dmp; please compress/zip the .dmp file(s) and attach it to this case.

    Best Wishes,
    The MS Edge Team

  • Microsoft Edge Team

    Changed Status to “Not reproducible”

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

Sign in