Log app startup time

This commit is contained in:
Josh Perez 2021-01-15 12:30:58 -05:00 committed by Scott Nonnenberg
parent 8a72607fa7
commit bba50c8427
4 changed files with 12 additions and 1 deletions

View file

@ -97,6 +97,8 @@ try {
window.setBadgeCount = count => ipc.send('set-badge-count', count);
window.logAppLoadedEvent = () => ipc.send('signal-app-loaded');
// We never do these in our code, so we'll prevent it everywhere
window.open = () => null;
// eslint-disable-next-line no-eval, no-multi-assign