[Webkit-unassigned] [Bug 70117] Expose HTMLCanvasElement supportsContext

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 10 12:22:36 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=70117





--- Comment #8 from Dean Jackson <dino at apple.com>  2012-09-10 12:22:58 PST ---
As jamesr pointed out on IRC, there may be instances where supportsContext returns true but getContext fails. I think that's ok.

The suggestion is that supportsContext is the implementation saying if it does support a context in theory. A return value of false is a clear indication that getContext will fail.

This would allow an implementation that supports WebGL but not on particular hardware to return false.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list