browser.setZoomFactor(webFrame.getZoomFactor());// Ensure others can listen to zoom level changes
browser.setZoomLevel(webFrame.getZoomLevel(),true/* isTrusted */);// Can be trusted because we are not setting it ourselves (https://github.com/Microsoft/vscode/issues/26151)
...
...
@@ -84,24 +79,6 @@ export class CodeWindow extends Disposable {
// Inform user about loading issues from the loader
(<any>self).require.config({
onError:err=>{
if(err.errorCode==='load'){
onUnexpectedError(newError(nls.localize('loaderErrorNative',"Failed to load a required file. Please restart the application to try again. Details: {0}",JSON.stringify(err))));
}
}
});
}
privatereviveUris(){
...
...
@@ -135,19 +112,22 @@ export class CodeWindow extends Disposable {
// Inform user about loading issues from the loader
(<any>self).require.config({
onError:err=>{
if(err.errorCode==='load'){
onUnexpectedError(newError(localize('loaderErrorNative',"Failed to load a required file. Please restart the application to try again. Details: {0}",JSON.stringify(err))));