let map = new WeakMap();
map.set(window.location, '1'); // TypeError: WeakMap.prototype.set: 'key' is not an object
source: https://github.com/emberjs/ember.js/issues/15249
cc @jdalton / @nolanlawson
@stefanpenner Assuming your repro should have a string as the second param to set, I repro'd this issue.
let map = new WeakMap();
map.set(window.location, '1'); // TypeError: WeakMap.prototype.set: 'key' is not an object
However, this seems specific to window.location and thus is (at least partly) an Edge issue. Can you please open an Edge issue following the instructions here and post a link here to the issue you open so we can track it?
@tcare: @akroshg Believes this might be an issue that needs to be solved with a combined effort of Edge and Chakra.
@dilijev unfortunately I cannot file an issue, my microsoft account is in some strange state that wont let me log in :(.
I'll try to figure it out later this week...
No worries, I opened an issue on Edge: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12112572/
FWIW you can also easily file an issue using #EdgeBug on Twitter: https://blogs.windows.com/msedgedev/2016/08/11/edgebug-twitter/
Thank you 鉂わ笍 !
Most helpful comment
No worries, I opened an issue on Edge: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/12112572/
FWIW you can also easily file an issue using #EdgeBug on Twitter: https://blogs.windows.com/msedgedev/2016/08/11/edgebug-twitter/