Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
browser(webkit): destroy main window after the view (#2233)
Pavel Feldman62ae07903552
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBERindex f954c7ae0f..f70eccf23b 100644--- a/browser_patches/webkit/BUILD_NUMBER+++ b/browser_patches/webkit/BUILD_NUMBER@@ -1 +1 @@-1229+1230diff --git a/browser_patches/webkit/src/Tools/Playwright/win/MainWindow.cpp b/browser_patches/webkit/src/Tools/Playwright/win/MainWindow.cppindex a8dc408782..2c9c9507ae 100644--- a/browser_patches/webkit/src/Tools/Playwright/win/MainWindow.cpp+++ b/browser_patches/webkit/src/Tools/Playwright/win/MainWindow.cpp@@ -325,7 +325,7 @@ LRESULT CALLBACK MainWindow::WndProc(HWND hWnd, UINT message, WPARAM wParam, LPA}}break;- case WM_DESTROY:+ case WM_NCDESTROY:SetWindowLongPtr(hWnd, GWLP_USERDATA, 0);delete thisWindow;if (s_noStartupWindow || s_numInstances > 0)