Because the AutoRelease pool is declared in main, we don't release Windows and WebViews when a test changes configuration settings. This is, in effect, a memory leak when running layout tests. Note that this isn't the only memory leak when running WK2 layout tests.
<rdar://problem/35211518>
<rdar://problem/35211519>
Created attachment 325083 [details] Patch
Comment on attachment 325083 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325083&action=review > Tools/WebKitTestRunner/TestController.cpp:1180 > + WTF::AutodrainedPool pool; Please remove "WTF::", AutodrainedPool is exported to the global scope (as should all public WTF symbols).
Created attachment 325161 [details] Patch for landing
The commit-queue encountered the following flaky tests while processing attachment 325161 [details]: The commit-queue is continuing to process your patch.
Comment on attachment 325161 [details] Patch for landing Clearing flags on attachment: 325161 Committed r224124: <https://trac.webkit.org/changeset/224124>
All reviewed patches have been landed. Closing bug.