TypeError when using HostObject with WeakMap

Confirmed Issue #12112572 • Assigned to Travis L.

Details

Author
Nolan L.
Created
May 24, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reports
Reported by 5 people

Sign in to watch or report this issue.

Steps to reproduce

To repro:

let map = new WeakMap();
map.set(window.location, ‘1’); // TypeError: WeakMap.prototype.set: ‘key’ is not an object

References:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

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

    Sign in