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): duplicate each frame duration times (#3856)
Yury Semikhatskyb8e90a5582f9
diff --git a/browser_patches/webkit/BUILD_NUMBER b/browser_patches/webkit/BUILD_NUMBERindex 8bd005d0a5..c7140c52e3 100644--- a/browser_patches/webkit/BUILD_NUMBER+++ b/browser_patches/webkit/BUILD_NUMBER@@ -1,2 +1,2 @@-1343-Changed: [email protected] Tue Sep 8 22:36:26 GMTST 2020+1344+Changed: [email protected] Fri Sep 11 13:34:58 PDT 2020diff --git a/browser_patches/webkit/patches/bootstrap.diff b/browser_patches/webkit/patches/bootstrap.diffindex 746c7732f8..3b1c9ab554 100644--- a/browser_patches/webkit/patches/bootstrap.diff+++ b/browser_patches/webkit/patches/bootstrap.diff@@ -8669,10 +8669,10 @@ index 0000000000000000000000000000000000000000..31a922667462de1a1edc24a10f25c064+} // namespace WebKitdiff --git a/Source/WebKit/UIProcess/Inspector/Agents/ScreencastEncoder.cpp b/Source/WebKit/UIProcess/Inspector/Agents/ScreencastEncoder.cppnew file mode 100644-index 0000000000000000000000000000000000000000..6cc90fc6576eeba03d9c6438b79ce4ca2af19db7+index 0000000000000000000000000000000000000000..3e9eb9575bb19486ff9d1cefa3dec19a4f804673--- /dev/null+++ b/Source/WebKit/UIProcess/Inspector/Agents/ScreencastEncoder.cpp-@@ -0,0 +1,387 @@+@@ -0,0 +1,389 @@+/*+ * Copyright (c) 2010, The WebM Project authors. All rights reserved.+ * Copyright (c) 2013 The Chromium Authors. All rights reserved.@@ -8856,7 +8856,9 @@ index 0000000000000000000000000000000000000000..6cc90fc6576eeba03d9c6438b79ce4ca+ {+ m_encoderQueue->dispatch([this, frame = WTFMove(frame)] {+ frame->convertToVpxImage(m_image.get());-+ encodeFrame(m_image.get(), frame->duration());++ // TODO: figure out why simply passing duration doesn't work well.++ for (int i = 0; i < frame->duration(); i++)++ encodeFrame(m_image.get(), 1);+ });+ }+