cc +AWB
I think you're looking for 8.2.3 The Completion Record Specification Type
in the ES6 spec draft. I'm cc'ing Allen, as he can better help you with
these mechanisms.
Rick
On Tue, Apr 2, 2013 at 10:27 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Tue, Apr 2, 2013 at 3:16 PM, Rick Waldron <waldron.rick@gmail.com>
> wrote:
> > Using PutValue and [[Put]] as an example (
> http://es5.github.com/#x8.7.2)...
> >
> > PutValue makes calls to [[Put]], with arguments: property, descriptor and
> > throw. In 3.b, the Throw flag is explicitly set to false, in 4.b the
> Throw
> > flag is set to boolean value returned by isStrictReference(v) (where v is
> > the lhs of an assignment). In [[Put]], the value of the Throw flag is
> used
> > on 2.a, 4.a, and 7.a in conjunction with the results of other
> operations, to
> > determine whether or not a TypeError exception will be thrown.
> >
> > I believe the same or a similar specification mechanism can be used.
>
> I do not see how that can be used for callbacks. Basically, what is
> required is the English-prose variant of try/catch.
>
> http://dom.spec.whatwg.org/#concept-future-wrapper-callback is what I
> have now.
>
>
> --
> http://annevankesteren.nl/
>