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): bundle VS C++ redistributable dlls (#4359)
Yury Semikhatskyaafcf932bccd
diff --git a/browser_patches/firefox/BUILD_NUMBER b/browser_patches/firefox/BUILD_NUMBERindex b20f532043..e6bf612be3 100644--- a/browser_patches/firefox/BUILD_NUMBER+++ b/browser_patches/firefox/BUILD_NUMBER@@ -1,2 +1,2 @@-1201-Changed: [email protected] Tue 03 Nov 2020 02:16:18 PM PST+1202+Changed: [email protected] Thu Nov 5 20:30:30 GMTST 2020diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.shindex a9601f32bd..e06e112014 100755--- a/browser_patches/firefox/build.sh+++ b/browser_patches/firefox/build.sh@@ -26,13 +26,22 @@ elif [[ "$(uname)" == "Linux" ]]; thenecho "-- building on Linux"echo "ac_add_options --disable-av1" > .mozconfigelif [[ "$(uname)" == MINGW* ]]; then+ TMPFILE=$(mktemp)if [[ $1 == "--win64" ]]; thenecho "-- building win64 build on MINGW"echo "ac_add_options --target=x86_64-pc-mingw32" > .mozconfigecho "ac_add_options --host=x86_64-pc-mingw32" >> .mozconfig+ "$PROGRAMFILES\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x64\**\vcruntime140.dll' > $TMPFILEelseecho "-- building win32 build on MINGW"+ "$PROGRAMFILES\Microsoft Visual Studio\Installer\vswhere.exe" -latest -find '**\Redist\MSVC\*\x86\**\vcruntime140.dll' > $TMPFILEfi+ WIN32_REDIST_DIR=$(dirname "$(cat $TMPFILE)")+ if ! [[ -d $WIN32_REDIST_DIR ]]; then+ echo "Error: cannot find MS VS C++ redistributable $WIN32_REDIST_DIR"+ exit 1;+ fi+ echo "export WIN32_REDIST_DIR=\"$WIN32_REDIST_DIR\"" >> .mozconfigelseecho "ERROR: cannot upload on this platform!" 1>&2exit 1;