mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
javascript: Add change note for document.defaultView aliasing window
Introduced a new change note detailing that `DataFlow::globalVarRef` now recognizes `document.defaultView` as an alias of `window`, enhancing the modeling of data flows involving `history` in queries.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
## 2.6.15
|
---
|
||||||
|
category: minorAnalysis
|
||||||
### Minor Analysis Improvements
|
---
|
||||||
|
|
||||||
- JavaScript `DataFlow::globalVarRef` now recognizes `document.defaultView` as an alias of `window`, allowing flows such as `document.defaultView.history.pushState(...)` to be modeled and found by queries relying on `globalVarRef("history")`.
|
- JavaScript `DataFlow::globalVarRef` now recognizes `document.defaultView` as an alias of `window`, allowing flows such as `document.defaultView.history.pushState(...)` to be modeled and found by queries relying on `globalVarRef("history")`.
|
||||||
Reference in New Issue
Block a user