Files
codeql/javascript/ql/test/library-tests/DOM/Customizations.ql
Anders Schack-Mulligen ca45fb5a60 JavaScript: Autoformat.
2019-09-06 09:04:51 +02:00

12 lines
379 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() }