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
fix(webkit): quick fix for screencast (#6448)
Pavel Feldman45d92890af23
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBERindex bf75f0d0b6..d887819c20 100644--- a/browser_patches/webkit/BUILD_NUMBER+++ b/browser_patches/webkit/BUILD_NUMBER@@ -1,2 +1,2 @@-1474-Changed: [email protected] Thu 06 May 2021 09:52:06 AM PDT+1475+Changed: [email protected] Thu 06 May 2021 01:05:28 PM PDTdiff --git a/browser_patches/webkit/patches/bootstrap.diff b/browser_patches/webkit/patches/bootstrap.diffindex 5c10cecb5f..38e9c90237 100644--- a/browser_patches/webkit/patches/bootstrap.diff+++ b/browser_patches/webkit/patches/bootstrap.diff@@ -11515,7 +11515,7 @@ index b0722e7da81e56530deb570b82ed7cfece970362..05ec3e3ea97ba49135a27d7f9b91f14c}diff --git a/Source/WebKit/UIProcess/Inspector/Agents/CairoJpegEncoder.cpp b/Source/WebKit/UIProcess/Inspector/Agents/CairoJpegEncoder.cppnew file mode 100644-index 0000000000000000000000000000000000000000..f59da55bac614259ea9a991279f25922f26c8728+index 0000000000000000000000000000000000000000..9426d9eed59f433eac62b8eb6a16139b84079949--- /dev/null+++ b/Source/WebKit/UIProcess/Inspector/Agents/CairoJpegEncoder.cpp@@ -0,0 +1,244 @@@@ -11713,7 +11713,6 @@ index 0000000000000000000000000000000000000000..f59da55bac614259ea9a991279f25922+ // set compression parameters+ unsigned long targetSize;+ jpeg_mem_dest(&cinfo, data, &targetSize);-+ *len = targetSize;++ cinfo.image_width = cairo_image_surface_get_width(sfc);+ cinfo.image_height = cairo_image_surface_get_height(sfc);@@ -11759,6 +11758,7 @@ index 0000000000000000000000000000000000000000..f59da55bac614259ea9a991279f25922+ if (other != NULL)+ cairo_surface_destroy(sfc);+++ *len = targetSize;+ return CAIRO_STATUS_SUCCESS;+}+