W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2013

[Futures] Use of "context object" in the spec is really confusing

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 30 May 2013 23:11:50 -0400
Message-ID: <51A814F6.5010002@mit.edu>
To: DOM mailing list <www-dom@w3.org>
The spec says:

   The term context object means the object on which the method or
   attribute being discussed was called. When the context object is
   unambiguous, the term can be omitted.

But then http://dom.spec.whatwg.org/#concept-resolver-accept talks about 
"the context object".  But there is no method or attribute being 
discussed at that point, just an algorithm...

I _think_ what's meant is that in the accept algorithm the context 
object is the resolver under discussion.  Maybe.

The reject algorithm has a similar problem.

Received on Friday, 31 May 2013 03:12:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:02 UTC