File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
javascript/ql/test/query-tests/Electron/NodeIntegration Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11const { BrowserWindow} = require ( 'electron' )
22
33function test ( ) {
4- var unsafe_1 = { // $ Alert - both enabled
4+ var unsafe_1 = { // both enabled
55 webPreferences : {
66 nodeIntegration : true ,
77 nodeIntegrationInWorker : true ,
88 plugins : true ,
99 webSecurity : true ,
1010 sandbox : true
11- }
11+ } // $ Alert
1212 } ;
1313
14- var options_1 = { // $ Alert - `nodeIntegrationInWorker` enabled
14+ var options_1 = { // `nodeIntegrationInWorker` enabled
1515 webPreferences : {
1616 plugins : true ,
1717 nodeIntegrationInWorker : false ,
1818 webSecurity : true ,
1919 sandbox : true
20- }
20+ } // $ Alert
2121 } ;
2222
23- var pref = { // $ Alert - implicitly enabled
23+ var pref = { // implicitly enabled
2424 plugins : true ,
2525 webSecurity : true ,
2626 sandbox : true
27- } ;
27+ } ; // $ Alert
2828
2929 var options_2 = { // $ Alert - implicitly enabled
3030 webPreferences : pref ,
You can’t perform that action at this time.
0 commit comments