Bug in Fetch-API

Not reproducible Issue #19850839

Details

Author
Noobish N.
Created
Dec 6, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Fetch doesn’t work with await.
If I await a fetch-promise in Edge, i get “Expected ';’”
This works on Firefox and Chrome, and also in IE 11 with fetch-polyfill and ES5-transpilation.

Tested on Edge/17.17134

var p = fetch(“index.html”);
var foo = await p;
// var data = await foo.json();
var data = await foo.text();
console.log(data);

also for
var foo = await fetch(“index.html”);
// var data = await foo.json();
var data = await foo.text();
console.log(data);

Attachments

0 attachments

    Comments and activity

    • Hi, Thanks for reporting your feedback. we tested it and cannot reproduce it. Could you please provide more information such as any screenshots or related docs that will help us to investigate further and reproduce this issue. and also recheck the latest build.

      Build details:
       Microsoft Edge 44.17763.1.0
      Microsoft EdgeHTML 18.17763

      Best regards,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Assigned To to “Veerabhadra r.”

      Changed Assigned To from “Veerabhadra r.” to “Zachariah L.”

    • At this time I will close out this issue. If you are still able to reproduce this issue then please provide the details we requested and I will resume investigating this issue.

      Best regards,​​​​​​​
      The Microsoft 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