Changeset 224124 in webkit
- Timestamp:
- Oct 27, 2017 12:10:24 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r224117 r224124 1 2017-10-27 Jonathan Bedard <jbedard@apple.com> 2 3 Windows and WebViews are retained after re-configure 4 https://bugs.webkit.org/show_bug.cgi?id=178902 5 <rdar://problem/35211518> 6 7 Reviewed by Alexey Proskuryakov. 8 9 The test runner effectively leaks windows every time a test changes configuration. 10 We give each test it's own AutoreleasePool to fix this problem. 11 12 * WebKitTestRunner/TestController.cpp: 13 (WTR::TestController::runTest): Add an AutoRelease pool scoping a test run 14 so that when a configuration changes, the old window and WebView are released. 15 1 16 2017-10-27 Eric Carlson <eric.carlson@apple.com> 2 17 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r224078 r224124 68 68 #include <string> 69 69 #include <unistd.h> 70 #include <wtf/AutodrainedPool.h> 70 71 #include <wtf/CryptographicallyRandomNumber.h> 71 72 #include <wtf/HexNumber.h> … … 1177 1178 bool TestController::runTest(const char* inputLine) 1178 1179 { 1180 AutodrainedPool pool; 1181 1179 1182 WKTextCheckerSetTestingMode(true); 1180 1183 TestCommand command = parseInputLine(std::string(inputLine));
Note: See TracChangeset
for help on using the changeset viewer.