Enable multiprocess and sandbox

Enable multiprocess and sandbox for Mac and Linux when running
browserhtml.
This commit is contained in:
Paul Rouget 2016-08-03 06:19:53 +02:00
parent b2f69f3635
commit 663f8530cf
2 changed files with 6 additions and 2 deletions

View file

@ -111,6 +111,10 @@ class PostBuildCommands(CommandBase):
# Convert to a relative path to avoid mingw -> Windows path conversions
browserhtml_path = path.relpath(browserhtml_path, os.getcwd())
if not is_windows():
# multiprocess + sandbox
args = args + ['-M', '-S']
args = args + ['-w',
'--pref', 'dom.mozbrowser.enabled',
'--pref', 'dom.forcetouch.enabled',