Test? Object.getPrototypeOf...
annevk opened this issue · 1 comments
annevk commented
Per https://tc39.github.io/ecma262/#sec-invariants-of-the-essential-internal-methods it has to return consistent results.
Currently it depends on the "caller" whether it returns null or a LocationPrototype object, which is not consistent. But even with forwarding this would never really be consistent, as far as I can tell.
annevk commented
Browsers do something different things here too: http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3698.