You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SweetAlert2 causes issues with strict Content-Security-Policy (CSP) configurations when used in Firefox. Specifically, SweetAlert2 fails to function as intended due to its reliance on inline event handlers. Notably, this issue is observed in Firefox but not in Chromium-based browsers (e.g., Chrome, Edge). This discrepancy highlights a browser-specific enforcement of CSP rules.
Steps to reproduce the behavior:
Configure a web application to use the following CSP: Content-Security-Policy: script-src 'self';
Expected behavior
SweetAlert2 should work seamlessly across all modern browsers, including Firefox, without requiring any CSP policy adjustments that weaken the application's security posture.
Firefox 134.0.1
The text was updated successfully, but these errors were encountered:
SweetAlert2 causes issues with strict Content-Security-Policy (CSP) configurations when used in Firefox. Specifically, SweetAlert2 fails to function as intended due to its reliance on inline event handlers. Notably, this issue is observed in Firefox but not in Chromium-based browsers (e.g., Chrome, Edge). This discrepancy highlights a browser-specific enforcement of CSP rules.
Steps to reproduce the behavior:
Configure a web application to use the following CSP: Content-Security-Policy: script-src 'self';
Expected behavior
SweetAlert2 should work seamlessly across all modern browsers, including Firefox, without requiring any CSP policy adjustments that weaken the application's security posture.
Firefox 134.0.1
The text was updated successfully, but these errors were encountered: