Re: [whatwg] Challenging canvas.supportsContext

On 6/19/13 4:22 PM, Brandon Benvie wrote:
> The point of using Modernizr or something like it is to detect
> availability of features on page load, and then conditionally load
> polyfills/alternate fallback implementations. It specifically does need
> to do eager detection to be useful. It can't wait until the first usage
> to do feature detection; it needs to be done up front when preparing
> dependencies for the main application.

I see.  For this use case, the current definition of supportsContext is 
of limited utility, unless you make some assumptions about behavior that 
the spec does not require....

-Boris

Received on Wednesday, 19 June 2013 20:25:14 UTC