Re: [blink-dev] Re: [v8-users] Intent to Ship: globalThis

2018-09-06 Thread Yuki Shiino
I see. If Domenic is okay, I'm okay, too. LGTM. 2018年9月7日(金) 5:38 Domenic Denicola : > From: Yuki Shiino > > > +cc: domenic@, what do you think of this, especially from PoV of LAPI? > > This won't be useful for LAPIs, but that's OK. We need a bigger solution > for the general problem of getti

RE: [blink-dev] Re: [v8-users] Intent to Ship: globalThis

2018-09-06 Thread Domenic Denicola
From: Yuki Shiino > +cc: domenic@, what do you think of this, especially from PoV of LAPI? This won't be useful for LAPIs, but that's OK. We need a bigger solution for the general problem of getting un-tamperable original references, and the global object is just one of many objects we'll nee

Re: [v8-users] Intent to Ship: globalThis

2018-08-31 Thread Jordan Harband
Part of the requirements are that it be deniable/spoofable - in other words, that it *be* configurable (see https://github.com/tc39/proposal-global/blob/master/README.md#ses-interaction). Otherwise, we'd have made it syntax and avoided the web compatibility minefield :-) On Friday, August 31,

Re: [v8-users] Intent to Ship: globalThis

2018-08-31 Thread Yuki Shiino
IIUC, the proposed |globalThis| is a writable and configurable property, right? It's easy to change(or fake) it. Is there any chance to make it a readonly and non-configurable property? Then, it's guaranteed to be the real global object. +cc: domenic@, what do you think of this, especially fr

Re: [v8-users] Intent to Ship: globalThis

2018-08-30 Thread Sathya Gunasekaran
LGTM On Thu, Aug 30, 2018 at 8:23 AM Adam Klein wrote: > This LGTM, based on the stage at TC39. > > It'd be nice if we knew more about other browser plans, given the history > here. Do you know if Firefox has plans to try again with this name anytime > soon? > > On Thu, Aug 30, 2018 at 1:24 AM '

Re: [v8-users] Intent to Ship: globalThis

2018-08-30 Thread Adam Klein
This LGTM, based on the stage at TC39. It'd be nice if we knew more about other browser plans, given the history here. Do you know if Firefox has plans to try again with this name anytime soon? On Thu, Aug 30, 2018 at 1:24 AM 'Mathias Bynens' via v8-users < v8-users@googlegroups.com> wrote: > Co

[v8-users] Intent to Ship: globalThis

2018-08-30 Thread 'Mathias Bynens' via v8-users
Contact emails math...@chromium.org Spec https://tc39.github.io/proposal-global/ Summary A Stage 3 proposal introduces globalThis, enabling a universal mechanism to access the global object even in strict functions or modules, regardless of the platform. Motivation It is difficult to write p