chore: cleanup some typos in comments (#25770)

This commit is contained in:
David Sanders 2020-10-13 10:25:21 -07:00 committed by GitHub
parent 183e92a5ae
commit b194030a34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 38 additions and 38 deletions

View file

@ -247,7 +247,7 @@ const watchEmbedder = function (embedder: Electron.WebContents) {
}
watchedEmbedders.add(embedder);
// Forward embedder window visiblity change events to guest
// Forward embedder window visibility change events to guest
const onVisibilityChange = function (visibilityState: VisibilityState) {
for (const guestInstanceId of Object.keys(guestInstances)) {
const guestInstance = guestInstances[guestInstanceId];

View file

@ -121,7 +121,7 @@ if (packageJson.desktopName != null) {
app.setDesktopName(`${app.name}.desktop`);
}
// Set v8 flags, delibrately lazy load so that apps that do not use this
// Set v8 flags, deliberately lazy load so that apps that do not use this
// feature do not pay the price
if (packageJson.v8Flags != null) {
require('v8').setFlagsFromString(packageJson.v8Flags);

View file

@ -20,10 +20,10 @@ ipcMainInternal.on('ELECTRON_NAVIGATION_CONTROLLER_LENGTH', function (event) {
});
// JavaScript implementation of Chromium's NavigationController.
// Instead of relying on Chromium for history control, we compeletely do history
// Instead of relying on Chromium for history control, we completely do history
// control on user land, and only rely on WebContents.loadURL for navigation.
// This helps us avoid Chromium's various optimizations so we can ensure renderer
// process is restarted everytime.
// process is restarted every time.
export class NavigationController extends EventEmitter {
currentIndex: number = -1;
inPageIndex: number = -1;