Re: [heycam/webidl] Named properties object / named property visibility algorithm with property on Window.prototype (#607)

Testcase that actually exercises [[GetOwnProperty]]: http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=6506

Looks to me like Firefox and Firefox are following the spec here.  Chrome is not: it returns a property descriptor from `npo` for property name `"bar"` pointing to one of the `<span>`s, but somehow a [[Get]] on the window returns 7, skipping over that property that it claims exists.  So the observable effect of [[Get]] on the window is the same, which is what largely matters for web compat, but Chrome is using some sort of weird magic to implement it.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/607#issuecomment-453564230

Received on Friday, 11 January 2019 15:58:41 UTC