Fetching document sets wrong document URL

Confirmed Issue #12458748 • Assigned to Scott W.

Details

Author
Ashley G.
Created
Jun 23, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.16226
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

XHR with responseType “document” returns a document object with the wrong URL. Repro:

https://www.scirra.com/labs/bugs/edgedocfetch/

This fetches doc.html and checks the URL property of the returned document. Both Chrome and Firefox log to the console:

Fetched document URL: https://www.scirra.com/labs/bugs/edgedocfetch/doc.html

Edge logs:

Fetched document URL: https://www.scirra.com/labs/bugs/edgedocfetch/

Note it has taken the main document URL rather than the URL of the document that was fetched.

This breaks Construct 3 (editor.construct.net - note not yet officially supported in Edge) because we rely on this property being correct in our HTML imports polyfill.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Venkat K.”

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

      Changed Status to “Confirmed”

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

    Sign in