When the runtime flag for WebGL2 is off, we should not create a context.
<rdar://problem/26096346>
Created attachment 278117 [details] Patch
Committed r200435: <http://trac.webkit.org/changeset/200435>
Comment on attachment 278117 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=278117&action=review > Source/WebCore/testing/Internals.idl:459 > +#if defined(ENABLE_WEBGL2) && ENABLE_WEBGL2 > + boolean webGL2Enabled(); > + void setWebGL2Enabled(boolean enable); > +#endif Can we use [Conditional] instead of #if here?