URLSearchParams does not cast iterable objects to IDL sequences

Confirmed Issue #16848015 • Assigned to Allison P.

Details

Author
Kagami R.
Created
Apr 10, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Standard affected
Web IDL

Found in build #
17.17133
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Copy-paste JSON.stringify([...new URLSearchParams(new Headers([['abc', 'bcd']]))]) to console

Expected: [['abc, 'bcd']]

Actual: Invalid argument error

  1. JSON.stringify([...new URLSearchParams(new Map([['abc', 'bcd']]))])

Expected: [['abc, 'bcd']]

Actual: []

Attachments

0 attachments

    Comments and activity

    • Oops, this issue should instead go CharkaCore repository.

    • Ah, actually no, IDL binding is probably not for ChakraCore.

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Scott L.”

      Changed Assigned To from “Scott L.” to “Allison P.”

      Changed Status to “Confirmed”

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

    Sign in