Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Eliav2
Copy link

@Eliav2 Eliav2 commented Nov 16, 2025

Updated the data flow analysis to include document.defaultView as a source node for global variable references. Added a new test file tst4.js and updated existing tests to verify the inclusion of defaultView and its properties in the expected results.

would close this #20823

… references

Updated the data flow analysis to include `document.defaultView` as a source node for global variable references. Added a new test file `tst4.js` and updated existing tests to verify the inclusion of `defaultView` and its properties in the expected results.
@Eliav2 Eliav2 requested review from a team as code owners November 16, 2025 22:55
@github-actions github-actions bot added the JS label Nov 16, 2025
@Eliav2 Eliav2 force-pushed the 20823-globalVarRef-document-defaultView branch from 76637a9 to bd18e86 Compare November 16, 2025 23:03
…ropertyRead

Changed the method for accessing `defaultView` from `getAPropertyReference` to `getAPropertyRead` to improve accuracy in data flow analysis for global variable references.
Copy link
Contributor

@asgerf asgerf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for the PR. I've started an internal evaluation of the changes and will merge if it loosk good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants