Skip to content

Commit 4c99c01

Browse files
committed
JS: review comments
1 parent e4c4f7a commit 4c99c01

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • javascript/ql/src/semmle/javascript

javascript/ql/src/semmle/javascript/DOM.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,22 +303,22 @@ module DOM {
303303
/** Gets a data flow node that may refer to a value from the DOM. */
304304
DataFlow::SourceNode domValueRef() { result = domValueRef(DataFlow::TypeTracker::end()) }
305305

306-
/** Gets a data flow node that directly refers to the DOM `location` object. */
306+
/** Gets a data flow node that directly refers to a DOM `location` object. */
307307
DataFlow::SourceNode locationSource() {
308308
result = domValueRef().getAPropertyRead("location")
309309
or
310310
result = DataFlow::globalVarRef("location")
311311
}
312312

313-
/** Gets a reference to the DOM `location` object. */
313+
/** Gets a reference to a DOM `location` object. */
314314
private DataFlow::SourceNode locationRef(DataFlow::TypeTracker t) {
315315
t.start() and
316316
result = locationSource()
317317
or
318318
exists(DataFlow::TypeTracker t2 | result = locationRef(t2).track(t2, t))
319319
}
320320

321-
/** Gets a reference to the DOM `location` object. */
321+
/** Gets a reference to a DOM `location` object. */
322322
DataFlow::SourceNode locationRef() { result = locationRef(DataFlow::TypeTracker::end()) }
323323

324324
/**

0 commit comments

Comments
 (0)