GraphicsContextGLOpenGL::reshapeFBOs() ANGLE variant calls into makeContextCurrent() The calls to makeCurrentContext() should only be made during entering of a public method. The call fails in certain conditions during reshape(), as reshape() is in middle of reshaping the default frame buffer and currently makeContextCurrent() uses the size information to determine if the context is in valid state or not. Long term the " the size information to determine"-part should be removed, but it's a bit tricky to test. Removing the redundant makeContextCurrent() calls should be a goal anyway, so fixing this leaf problem should be a good short term fix.
Created attachment 417265 [details] Patch
Created attachment 417443 [details] Patch
<rdar://problem/73245417>
Committed r271572: <https://trac.webkit.org/changeset/271572> All reviewed patches have been landed. Closing bug and clearing flags on attachment 417443 [details].