This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
electron
Watch
2
Star
0
Fork
You've already forked electron
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
72db5ed7cb
electron
/
lib
/
sandboxed_renderer
/
api
/
exports
/
path.js
4 lines
74 B
JavaScript
Raw
Normal View
History
Unescape
Escape
chore: have 'use strict' consistently across our lib files (#14721)
2018-09-22 12:28:50 +00:00
'use strict'
Fix sandboxed crashReporter for windows. - Use `path` module from browser process in sandboxed renderer. This is required because the return value of `path.join` is platform-specific, and this is an assumtion of crash-reporter.js which is shared between sandboxed and non-sandboxed renderers. - Set `process.platform` and `process.execPath` in sandboxed renderer environment. This is required to spawn the windows crash service from sandboxed renderer. - Use a single temporary directory for all crashReporter tests. This is required to make tests more deterministic across platforms(since mac's crashpad doesn't support changing the crash dump directory). Also make a few improvements/fixes to the `uploadToServer` test.
2017-04-05 20:42:24 +00:00
module
.
exports
=
require
(
'electron'
)
.
remote
.
require
(
'path'
)
Reference in a new issue
Copy permalink