mirror of
https://github.com/github/codeql.git
synced 2026-05-13 10:49:26 +02:00
JavaScript: Model webContents property.
This commit is contained in:
@@ -65,6 +65,15 @@ module Electron {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A reference to the `webContents` property of a browser object.
|
||||
*/
|
||||
class WebContents extends DataFlow::SourceNode {
|
||||
WebContents() {
|
||||
this.(DataFlow::PropRead).accesses(any(BrowserObject bo), "webContents")
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A Node.js-style HTTP or HTTPS request made using an Electron module.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user