Document returned by XMLHttpRequest has incorrect URL

Confirmed Issue #5550399 • Assigned to Scott W.

Details

Created
Nov 23, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

  1. Navigate to https://developer.microsoft.com/en-us/microsoft-edge/
  2. Open the browser console and paste in the following:
    var rq = new XMLHttpRequest;
    rq.responseType = 'document’;
    rq.open('get’, ‘platform’);
    rq.onload = function () { console.log(rq.response.URL); }
    rq.send();
  1. The console will log ‘https://developer.microsoft.com/en-us/microsoft-edge/
    but it should log ‘https://developer.microsoft.com/en-us/platform

Expected Results:

The URL of the response document returned by XMLHttpRequest should be the same as the URL that was requested.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To from “Travis L.” to “Jose L.”

      Changed Status to “Confirmed”

    • This is a duplicate. A better bug description is in issue-5184873

    • Microsoft Edge Team

      Changed Assigned To from “Jose L.” to “Eugene V.”

      Changed Steps to Reproduce

      Changed Status from “Confirmed”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Scott W.”

      Changed Steps to Reproduce

      Changed Assigned To from “Scott W.” to “James M.”

      Changed Assigned To from “James M.” to “Scott W.”

      Changed Steps to Reproduce

      Changed Status to “Confirmed”

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

    Sign in