File tree Expand file tree Collapse file tree
javascript/ql/src/semmle/javascript Expand file tree Collapse file tree Original file line number Diff line number Diff 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 /**
You can’t perform that action at this time.
0 commit comments