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): send Playwright.pageProxyDestroyed for crashed tabs when deleting context (#2986)
Yury Semikhatsky1896e8edc0fa
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBERindex 63f786c9c9..22a78b5b3c 100644--- a/browser_patches/webkit/BUILD_NUMBER+++ b/browser_patches/webkit/BUILD_NUMBER@@ -1,2 +1,2 @@-1307-Changed: [email protected] Wed Jul 15 10:44:00 PDT 2020+1308+Changed: [email protected] Thu Jul 16 15:39:22 PDT 2020diff --git a/browser_patches/webkit/patches/bootstrap.diff b/browser_patches/webkit/patches/bootstrap.diffindex b30f2b5671..e092a0b6cc 100644--- a/browser_patches/webkit/patches/bootstrap.diff+++ b/browser_patches/webkit/patches/bootstrap.diff@@ -9803,10 +9803,10 @@ index 0000000000000000000000000000000000000000..f356c613945fd263889bc74166bef2b2+} // namespace WebKitdiff --git a/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cppnew file mode 100644-index 0000000000000000000000000000000000000000..012629e3d4e4b892a8c23c3984ab30409b9c2b1a+index 0000000000000000000000000000000000000000..d9218841c5ca436d291e5c0918906be084146cb8--- /dev/null+++ b/Source/WebKit/UIProcess/InspectorPlaywrightAgent.cpp-@@ -0,0 +1,821 @@+@@ -0,0 +1,823 @@+/*+ * Copyright (C) 2019 Microsoft Corporation.+ *@@ -10007,7 +10007,9 @@ index 0000000000000000000000000000000000000000..012629e3d4e4b892a8c23c3984ab3040++Vector<WebPageProxy*> BrowserContext::pages() const {+ Vector<WebPageProxy*> pages;-+ for (auto& process : processPool->processes()) {++ for (auto* process : WebProcessProxy::allProcessesForInspector()) {++ if (process->processPoolIfExists() != processPool)++ continue;+ for (auto* page : process->pages())+ pages.append(page);+ }