Per review on Bug 222758 - the code recently added to properly distinguish between WebGL 1.0 and 2.0 contexts should be cleaned up.
Created attachment 428870 [details] Patch
FYI, the test failures/flakes are not related to this patch.
Comment on attachment 428870 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=428870&action=review > Source/WebCore/html/HTMLCanvasElement.cpp:263 > + if ((version == WebGLVersion::WebGL1) != (m_context->isWebGL1())) Extra set of parentheses here that you did not add below.
Created attachment 428948 [details] Patch
Thanks for your review Darin. Fixed, CQ'ing.
Committed r277659 (237864@main): <https://commits.webkit.org/237864@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428948 [details].
<rdar://problem/78162049>