All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.javascript.rules.javascript.S1442.html Maven / Gradle / Ivy

There is a newer version: 10.17.0.28100
Show newest version

alert(...) as well as confirm(...) and prompt(...) can be useful for debugging during development, but in production mode this kind of pop-up could expose sensitive information to attackers, and should never be displayed.

Noncompliant Code Example

if(unexpectedCondition) {
  alert("Unexpected Condition");
}

See

Deprecated

This rule is deprecated; use {rule:javascript:S4507} instead.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy