fetch() with unicode characters in request body fails with TypeMismatchError

Fixed, not yet flighted Issue #8475223

Details

Author
Peter S.
Created
Aug 12, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
14.14393
Reports
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

The following code fails with a TypeMismatchError being logged in the console.

fetch('/abc', {
    body: '世界',
    method: 'post'
})
    .catch(e => console.error(e))

Versions:
Edge 38.14393.0.0
EdgeHTML 14.14393

Attachments

0 attachments

    Comments and activity

    • Note that this works as expected in Chrome and Firefox.

      Not sure what happened to the formatting. Here it is again.

      fetch('/abc', {
          body: '世界',
          method: 'post'
      })
      .catch(e => console.error(e))
    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

    • Same for me on 14393 and 14901. Using XMLHttpRequest instead works as expected.

      Quick demo: https://jsfiddle.net/44nwzxvm/

    • Microsoft Edge Team

      Changed Assigned To to “Venkat K.”

      Changed Status to “Fixed, not yet flighted”

    • Being tagged Fixed means the next build will fix this, right? :D

    • Thank you for your feedback.  We’ve already identified and fixed this issue.  We hope to include a fix with through an update soon.  No estimate on when, sorry. :(

    • When will this be shipped !? It’s been a while since your “fixed” this this issue.

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

    Sign in