Files
codeql/javascript/ql/test/library-tests/DOM/Customizations.ql
2019-05-22 15:49:56 +01:00

20 lines
391 B
Plaintext

import javascript
class CustomDocument extends DOM::DocumentSource::Range, DataFlow::CallNode {
CustomDocument() {
getCalleeName() = "customGetDocument"
}
}
query DataFlow::Node test_documentRef() {
result = DOM::documentRef()
}
query DataFlow::Node test_locationRef() {
result = DOM::locationRef()
}
query DataFlow::Node test_domValueRef() {
result = DOM::domValueRef()
}