rspec/rules/S1442/flex/rule.adoc
2022-02-04 16:28:24 +00:00

29 lines
600 B
Plaintext

``++Alert.show(...)++`` 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
[source,flex]
----
if (unexpectedCondition)
{
Alert.show("Unexpected Condition");
}
----
include::../see.adoc[]
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::../message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]