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
When the issue is raised on a EventTarget.addEventListener() the message is:
Verify the origin of the received message.
window.addEventListener("message", function(event) { // Noncompliant: "Verify the origin of the received message."
console.log(event.data);
});
When the issue is raised on a Window.postMessage() the message is:
Specify a target origin for this message.
var iframe = document.getElementById("testiframe");
iframe.contentWindow.postMessage("secret", "*"); // Noncompliant: "Specify a target origin for this message."
When the issue is raised on a
EventTarget.addEventListener()
the message is:When the issue is raised on a
Window.postMessage()
the message is:Once the change is implemented, merge https://github.com/SonarSource/rspec/pull/732/files
The text was updated successfully, but these errors were encountered: