Re: [v8-users] Re: [blink-dev] Intent to Implement and Ship: Let all early errors be SyntaxErrors

2019-06-20 Thread Ross Kirsling
On Thu, Jun 20, 2019 at 6:11 PM Frank Tang wrote: > Is this feature controlled by a flag. > I try to roll test262 and got a lot of errors related to this now. > It hasn't been landed yet, but it does depend on a test262 update. (https://chromium-review.googlesource.com/c/v8/v8/+/1643171) On

Re: [v8-users] Re: [blink-dev] Intent to Implement and Ship: Let all early errors be SyntaxErrors

2019-06-20 Thread Frank Tang
Is this feature controlled by a flag. I try to roll test262 and got a lot of errors related to this now. On Wed, Jun 19, 2019 at 12:07 PM Adam Klein wrote: > Hi Yoav, > > We don't have existing metrics that would help here, and I honestly don't > even know what we would track for this specific

Re: [v8-users] Repeated module evaluation.

2019-06-20 Thread Adam Klein
On Wed, Jun 19, 2019 at 9:27 PM ClearScript Developers < clearscript...@gmail.com> wrote: > "When you say "local to the evaluation context", what do you mean?" > > Suppose you have an isolate with two contexts, C1 and C2, and a module > whose evaluation produces side effects. Once you've

Re: [v8-users] Re: Using 'this' in scripts

2019-06-20 Thread Caitlin Potter
I don’t believe you can do exactly what you want here, as there are two parts: 1) getting `this` set properly. I believe you should be able to use `CompileFunctionInContext()` to this effect, which is used to provide implicit arguments to DOM onxxx=“script...” handlers. I believe you can then

[v8-users] Re: Using 'this' in scripts

2019-06-20 Thread Zoltan B
Any ideas? :) 2019. június 7., péntek 13:16:08 UTC+2 időpontban Zoltan B a következőt írta: > > Hi! > > Is there a way to provide value for the 'this' keyword, when I'm running a > v8 Script? > > An alternative would be to compile the code as a function instead, and > provide 'this' when