Chromium Policy on Windows

164 views
Skip to first unread message

martyno....@gmail.com

unread,
Feb 7, 2018, 2:16:52 AM2/7/18
to nw.js
Hello everyone, I've migrated from Electron to nw.js due to a bug. So far it works really well and I even have better performance for my use case.

I'm running it on Windows and unsuccessfully trying to set Chromium policy (specifically "AllowFileSelectionDialogs" to false). What I've tried:
  • Registry entries (Software\Policies\Chromium\*) seems to only affect Chromium browser, but not my nw.js app.
  • Policy templates
  • Registry entries (Software\Policies\Google\Chrome\3rdparty\extensions\gihmafigllmhbppdfjnfecimiohcljba\policy\*) as advised in Configuring Apps and Extensions by Policy, even though it seems like this only applies for custom policies.
I couldn't find any resources specific to those policies in nw.js. It would be great if anyone could link me some resource or point me to the right direction.

Thanks
Martynas

Roger

unread,
Feb 7, 2018, 2:22:35 AM2/7/18
to martyno....@gmail.com, nw.js
Hello,

What are you going to achieve with this policy? There might be change from Chromium in NW.

Regards,
Roger

--
You received this message because you are subscribed to the Google Groups "nw.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nwjs-general...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

martyno....@gmail.com

unread,
Feb 7, 2018, 2:25:39 AM2/7/18
to nw.js
I'm trying to disable all file selection dialogs using "AllowFileSelectionDialogs" policy.

Roger

unread,
Feb 7, 2018, 2:35:26 AM2/7/18
to martyno....@gmail.com, nw.js
It should just work in NW. Please file an issue and we'll fix it soon.

Martynas Kazlauskas

unread,
Feb 7, 2018, 2:43:41 AM2/7/18
to Roger, nw.js

So the policies on Windows for nw.js are set the same way as for Chromium and it's just a bug for this specific policy?

Is there a known working policy I can test?

Roger

unread,
Feb 7, 2018, 2:53:03 AM2/7/18
to Martynas Kazlauskas, nw.js
In theory it should work because we don't change the code of this part. That doesn't imply that some policy works or not -- maybe all of them is not working. But it shouldn't be hard to fix.

Martynas Kazlauskas

unread,
Feb 7, 2018, 3:16:52 AM2/7/18
to Roger, nw.js

Thank you for prompt response. I've created an issue: https://github.com/nwjs/nw.js/issues/6463

Reply all
Reply to author
Forward
0 new messages