Skip to content

Commit

Permalink
don't check sandboxed pid
Browse files Browse the repository at this point in the history
on linux it's in a pid sandbox and doesn't match the pid when observed from outside
  • Loading branch information
nornagon committed Jan 18, 2019
1 parent 6a7f7d9 commit 19e16f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spec/api-browser-window-spec.js
Expand Up @@ -1838,7 +1838,6 @@ describe('BrowserWindow module', () => {

it('validates process APIs access in sandboxed renderer', (done) => {
ipcMain.once('answer', function (event, test) {
assert.strictEqual(test.pid, w.webContents.getOSProcessId())
assert.strictEqual(test.arch, remote.process.arch)
assert.strictEqual(test.platform, remote.process.platform)
assert.deepStrictEqual(...resolveGetters(test.env, remote.process.env))
Expand Down

0 comments on commit 19e16f7

Please sign in to comment.