backgroundSupport = wrt.getBackgroundSupport();
debugPort = 0;
- firstRendered = false;
inspectorSrc = '';
loadFinished = false;
pendingCallbacks: Map<number, any> = new Map();
if (this.showTimer)
clearTimeout(this.showTimer);
wrt.hideSplashScreen(0);
- this.firstRendered = true;
if (this.preloadStatus == 'preload') {
this.preloadStatus = 'readyToShow';
console.log('preloading show is skipped!');
}
private initDisplayDelay(firstLaunch: boolean) {
- // TODO: On 6.0, this causes a black screen on relaunch
- if (firstLaunch)
- this.firstRendered = false;
+ // TODO: On 6.0, this causes a black screen on relaunchss
this.suspended = false;
if (this.showTimer)
clearTimeout(this.showTimer);
this.suspended = false;
addonManager.emit('lcResume', this.mainWindow.id);
- if (!this.firstRendered) {
- console.log('WebApplication : resume firstRendered is false');
- return;
- }
if (!this.backgroundRunnable())
this.windowList.forEach((window) => window.setEnabled(true));
this.windowList[this.windowList.length - 1].show();