JavaScript: Model webContents property.

This commit is contained in:
Max Schaefer
2019-02-07 12:49:18 +00:00
parent ff83e600dc
commit a4e4957f31
4 changed files with 15 additions and 2 deletions

View File

@@ -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.
*/