navigator.sendBeacon cannot Swedish characters in its data

Issue #8592808

Details

Author
Christoffer P.
Created
Aug 23, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Standard affected
Beacon

Found in build #
38
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Problem

Edge throws a TypeMismatchError if the data argument contains Swedish characters, such as ä.

How to reproduce

Using Edge 38.

Open up DevTools and console and enter:

navigator.sendBeacon( "/", "ä" );

And you get TypeMismatchError.

However, if you use use ASCII:

navigator.sendBeacon( "/", “a” );

it returns true, as expected.

Attachments

0 attachments

    Comments and activity

    • Formatting problem ruined the code to reproduce the problem. It should be:

      navigator.sendBeacon( "/", "ä" );
      
    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Venkat K.”

      Changed Assigned To from “Venkat K.” to “Patrick T.”

      Changed Status

    •  I’ve marked this bug as a duplicate of 8475223 which has been fixed! Thank you for your feedback!

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

    Sign in