[whatwg] Challenging canvas.supportsContext
jacob.benoit.1 at gmail.com
Fri Aug 2 12:30:09 PDT 2013
2013/7/31 Ian Hickson <ian at hixie.ch>
> On Wed, 31 Jul 2013, Benoit Jacob wrote:
> > Ping --- I thought that there was sufficient agreement in this thread,
> > around the fact that supportsContext, as currently spec'd and currently
> > implementable, is a feature without a valid use case, that removing it
> > from the spec is the right thing to do at this point.
> It's on my list of e-mail to get to. Sorry about the delay. I'm currently
> about six months behind on feedback that isn't blocked on other things.
> In this particular case, I should note that we have at least one
> implementation, and we have no alternative solution to the problem for
> which the feature was added. So it's not as clear cut as it might seem.
As discussed in this thread, the alternative solution is to call getContext
and check if it succeeded; I was arguing that if one wants something
reliable and tightly spec'd, there is no alternative to doing the same
amount of work; and I was also arguing against the notion that something
more loosely spec'd (as supportsContext currently is) was useful to have.
> (Note that decisions for WHATWG specs aren't made based on consensus. Even
> if everyone agrees on something, if there's one more compelling argument
> to the contrary, that's the one that's going to "win".)
> Ian Hickson U+1047E )\._.,--....,'``. fL
> http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
> Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg