Revert "ELECTRON-512 (Create API only if the location.origin matches with whitelist or pod URL)" (#428)

* Revert "fix path issues on x86 aip file"

This reverts commit 4395d18dc0.

* Revert "fix aip path issue for screen snippet"

This reverts commit eeeb5cbc67.

* Revert "bump up version number to 2.9.0"

This reverts commit 77de432eb9.

* Revert "ELECTRON-512 (Create API only if the location.origin matches with whitelist or pod URL) (#421)"

This reverts commit d47e18072a.
This commit is contained in:
Kiran Niranjan
2018-07-17 10:43:26 +05:30
committed by Vishwas Shashidhar
parent a14a4ae9ae
commit 17a197a8d2
5 changed files with 1 additions and 51 deletions

View File

@@ -18,7 +18,6 @@ const eventEmitter = require('./eventEmitter');
const { isMac } = require('./utils/misc');
const { openScreenPickerWindow } = require('./desktopCapturer');
const { optimizeMemory, setIsInMeeting } = require('./memoryMonitor');
const originCheck = require('./originCheck');
const apiEnums = require('./enums/api.js');
const apiCmds = apiEnums.cmds;
@@ -170,11 +169,6 @@ electron.ipcMain.on(apiName, (event, arg) => {
windowMgr.handleKeyPress(arg.keyCode);
}
break;
case apiCmds.originCheck:
if (typeof arg.origin === 'string') {
originCheck(event.sender, arg.origin);
}
break;
default:
}