Files
codeql/javascript/ql/test/library-tests/DOM/Customizations.ql
2023-05-03 15:31:00 +02:00

12 lines
384 B
Plaintext

import javascript
class CustomDocument extends DOM::DocumentSource::Range, DataFlow::CallNode {
CustomDocument() { this.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() }