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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 10 12:56:47 PDT 2012


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


James Robinson <jamesr at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamesr at chromium.org




--- Comment #9 from James Robinson <jamesr at chromium.org>  2012-09-10 12:57:08 PST ---
We've seen this on economist.com (using modernizr) in the past, although I believe it doesn't do that any more.  I think a soft-promise type API could work better - supportsContext("...") -> false means we definitely won't return non-null for getContext("..."), but we're still allowed to return null for getContext("...") even after saying true to supportsContext("...")

-- 
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