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(firefox): pass actual frame duration to the codec (#3101)
Yury Semikhatsky3d37e4586e58
diff --git a/browser_patches/firefox/BUILD_NUMBER b/browser_patches/firefox/BUILD_NUMBERindex 245504aa01..e669384563 100644--- a/browser_patches/firefox/BUILD_NUMBER+++ b/browser_patches/firefox/BUILD_NUMBER@@ -1,2 +1,2 @@-1137-Changed: [email protected] Tue Jul 21 09:57:24 PDT 2020+1138+Changed: [email protected] Wed Jul 22 18:07:07 PDT 2020diff --git a/browser_patches/firefox/juggler/screencast/ScreencastEncoder.cpp b/browser_patches/firefox/juggler/screencast/ScreencastEncoder.cppindex 6f9701634e..cf6fca0f72 100644--- a/browser_patches/firefox/juggler/screencast/ScreencastEncoder.cpp+++ b/browser_patches/firefox/juggler/screencast/ScreencastEncoder.cpp@@ -201,10 +201,7 @@ public:m_encoderQueue->Dispatch(NS_NewRunnableFunction("VPXCodec::encodeFrameAsync", [this, frame = std::move(frame)] {memset(m_imageBuffer.get(), 128, m_imageBufferSize);frame->convertToVpxImage(m_image.get());- // TODO: figure out why passing duration to the codec results in much- // worse visual quality and makes video stutter.- for (int i = 0; i < frame->duration(); i++)- encodeFrame(m_image.get(), 1);+ encodeFrame(m_image.get(), frame->duration());}));}