Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(firefox): include icu locale header with system icu (#39473)

nadja-y523c0fbad719
diff --git a/browser_patches/firefox/patches/bootstrap.diff b/browser_patches/firefox/patches/bootstrap.diff
index 9db85abb41..520656ae18 100644
--- a/browser_patches/firefox/patches/bootstrap.diff
+++ b/browser_patches/firefox/patches/bootstrap.diff
@@ -320,9 +320,9 @@ index 39a832eccf7e7c0b64b2deb1214f82e7533b249a..6bbb911f00d86340a912fe030ee87382
# include <unistd.h> // for getpid()
#endif
-+#if JS_HAS_INTL_API && !MOZ_SYSTEM_ICU
++#if JS_HAS_INTL_API
+# include "unicode/locid.h"
-+#endif /* JS_HAS_INTL_API && !MOZ_SYSTEM_ICU */
++#endif /* JS_HAS_INTL_API */
+
+#include "js/LocaleSensitive.h"
+