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(chromium): revert swiftshader fixes (#6824)
Andrey Lushnikov531d35f9459b
diff --git a/browser_patches/chromium/BUILD_NUMBER b/browser_patches/chromium/BUILD_NUMBERindex e467d4731f..734d013d6a 100644--- a/browser_patches/chromium/BUILD_NUMBER+++ b/browser_patches/chromium/BUILD_NUMBER@@ -1 +1 @@-885250+888113diff --git a/browser_patches/chromium/archive.sh b/browser_patches/chromium/archive.shindex 1f3fccdaf4..bc858ba05e 100755--- a/browser_patches/chromium/archive.sh+++ b/browser_patches/chromium/archive.sh@@ -92,8 +92,6 @@ function archive_compiled_chromium() {if [[ $1 == "--compile-win"* ]]; then$COPY_COMMAND "${CR_CHECKOUT_PATH}/src/out/Default/"*.manifest "output/${CHROMIUM_FOLDER_NAME}/"- # See https://github.com/microsoft/playwright/issues/6390- node "${SCRIPT_PATH}/fix_windows_swiftshader.js" "output/${CHROMIUM_FOLDER_NAME}/vk_swiftshader_icd.json"ficd outputdiff --git a/browser_patches/chromium/fix_windows_swiftshader.js b/browser_patches/chromium/fix_windows_swiftshader.jsdeleted file mode 100644index b2e8d85d89..0000000000--- a/browser_patches/chromium/fix_windows_swiftshader.js+++ /dev/null@@ -1,13 +0,0 @@-// See https://github.com/microsoft/playwright/issues/6390-const fs = require('fs');--const FILE_PATH = process.argv[2];-if (!fs.existsSync(FILE_PATH) || !FILE_PATH.endsWith('.json'))- return;--const json = JSON.parse(fs.readFileSync(FILE_PATH, 'utf8'));--if (json.ICD && json.ICD.library_path && json.ICD.library_path.startsWith('.\\')) {- json.ICD.library_path = json.ICD.library_path.substring(2);- fs.writeFileSync(FILE_PATH, JSON.stringify(json), 'utf8');-}