"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spec-main/index.js" between
electron-11.4.1.tar.gz and electron-11.4.2.tar.gz

About: Electron is a framework for creating native cross platform applications with web technologies like JavaScript, HTML, and CSS.

index.js  (electron-11.4.1):index.js  (electron-11.4.2)
skipping to change at line 36 skipping to change at line 36
v8.setFlagsFromString('--expose_gc'); v8.setFlagsFromString('--expose_gc');
app.commandLine.appendSwitch('js-flags', '--expose_gc'); app.commandLine.appendSwitch('js-flags', '--expose_gc');
// Prevent the spec runner quiting when the first window closes // Prevent the spec runner quiting when the first window closes
app.on('window-all-closed', () => null); app.on('window-all-closed', () => null);
// Use fake device for Media Stream to replace actual camera and microphone. // Use fake device for Media Stream to replace actual camera and microphone.
app.commandLine.appendSwitch('use-fake-device-for-media-stream'); app.commandLine.appendSwitch('use-fake-device-for-media-stream');
global.standardScheme = 'app'; global.standardScheme = 'app';
global.zoomScheme = 'zoom'; global.zoomScheme = 'zoom';
global.serviceWorkerScheme = 'sw';
protocol.registerSchemesAsPrivileged([ protocol.registerSchemesAsPrivileged([
{ scheme: global.standardScheme, privileges: { standard: true, secure: true, s tream: false } }, { scheme: global.standardScheme, privileges: { standard: true, secure: true, s tream: false } },
{ scheme: global.zoomScheme, privileges: { standard: true, secure: true } }, { scheme: global.zoomScheme, privileges: { standard: true, secure: true } },
{ scheme: global.serviceWorkerScheme, privileges: { allowServiceWorkers: true, standard: true, secure: true } },
{ scheme: 'cors-blob', privileges: { corsEnabled: true, supportFetchAPI: true } }, { scheme: 'cors-blob', privileges: { corsEnabled: true, supportFetchAPI: true } },
{ scheme: 'cors', privileges: { corsEnabled: true, supportFetchAPI: true } }, { scheme: 'cors', privileges: { corsEnabled: true, supportFetchAPI: true } },
{ scheme: 'no-cors', privileges: { supportFetchAPI: true } }, { scheme: 'no-cors', privileges: { supportFetchAPI: true } },
{ scheme: 'no-fetch', privileges: { corsEnabled: true } }, { scheme: 'no-fetch', privileges: { corsEnabled: true } },
{ scheme: 'stream', privileges: { standard: true, stream: true } }, { scheme: 'stream', privileges: { standard: true, stream: true } },
{ scheme: 'foo', privileges: { standard: true } }, { scheme: 'foo', privileges: { standard: true } },
{ scheme: 'bar', privileges: { standard: true } } { scheme: 'bar', privileges: { standard: true } }
]); ]);
app.whenReady().then(async () => { app.whenReady().then(async () => {
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)