mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
use more set literals
This commit is contained in:
@@ -176,18 +176,13 @@ module DOM {
|
||||
eltName = ["script", "iframe", "embed", "video", "audio", "source", "track"] and
|
||||
attrName = "src"
|
||||
or
|
||||
(
|
||||
eltName = "link" or
|
||||
eltName = "a" or
|
||||
eltName = "base" or
|
||||
eltName = "area"
|
||||
) and
|
||||
eltName = ["link", "a", "base", "area"] and
|
||||
attrName = "href"
|
||||
or
|
||||
eltName = "form" and
|
||||
attrName = "action"
|
||||
or
|
||||
(eltName = "input" or eltName = "button") and
|
||||
eltName = ["input", "button"] and
|
||||
attrName = "formaction"
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user