- From: Boris Zbarsky <notifications@github.com>
- Date: Tue, 27 Feb 2018 10:49:44 -0800
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 27 February 2018 18:50:13 UTC
There's a reason globals are special-cased in terms of property ___location. It's because putting things on the prototype object breaks horribly when people try to polyfill and the var shadows the actual property. That's why methods and attributes are special-cased in terms of ___location. Maybe this is not a problem for constants, but it's hard to tell without actual use cases when people try to make their code work both in browsers with and without the constants. -- 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/528#issuecomment-368984739
Received on Tuesday, 27 February 2018 18:50:13 UTC