File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -340,6 +340,9 @@ module DOM {
340340 t .start ( ) and
341341 result = domValueSource ( )
342342 or
343+ t .start ( ) and
344+ result = domValueRef ( ) .getAMethodCall ( [ "item" , "namedItem" ] )
345+ or
343346 exists ( DataFlow:: TypeTracker t2 | result = domValueRef ( t2 ) .track ( t2 , t ) )
344347 }
345348
Original file line number Diff line number Diff line change 11test_documentRef
22| customization.js:2:13:2:31 | customGetDocument() |
3+ | nameditems.js:1:1:1:8 | document |
34test_locationRef
45| customization.js:3:3:3:14 | doc.location |
56test_domValueRef
67| customization.js:4:3:4:28 | doc.get ... 'test') |
8+ | nameditems.js:1:1:1:30 | documen ... ('foo') |
9+ | nameditems.js:1:1:2:19 | documen ... em('x') |
710| tst.js:49:3:49:8 | window |
811| tst.js:50:3:50:8 | window |
Original file line number Diff line number Diff line change 1+ document . getElementById ( 'foo' )
2+ . namedItem ( 'x' ) ;
You can’t perform that action at this time.
0 commit comments