Bug 1557802 - Fix some mispellings in comments in BrowserParent. r=farre
authorAndrew McCreight <continuation@gmail.com>
Mon, 10 Jun 2019 13:05:59 +0000
changeset 537729 1fb7764b200f2441ce846e428fa781b68f8186d9
parent 537728 bf5936dc3807e466c5a4d1eb583492408093ce05
child 537730 7998640b1d55937e98f7e52f9d7a73438ca5537e
push id11522
push userffxbld-merge
push dateMon, 01 Jul 2019 09:00:55 +0000
treeherdermozilla-beta@53ea74d2bd09 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfarre
bugs1557802
milestone69.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1557802 - Fix some mispellings in comments in BrowserParent. r=farre Differential Revision: https://phabricator.services.mozilla.com/D34232
dom/ipc/ContentParent.cpp
--- a/dom/ipc/ContentParent.cpp
+++ b/dom/ipc/ContentParent.cpp
@@ -5743,17 +5743,17 @@ mozilla::ipc::IPCResult ContentParent::R
     BrowsingContext::IPCInitializer&& aInit) {
   RefPtr<CanonicalBrowsingContext> parent;
   if (aInit.mParentId != 0) {
     parent = CanonicalBrowsingContext::Get(aInit.mParentId);
     MOZ_RELEASE_ASSERT(parent, "Parent doesn't exist in parent process");
   }
 
   if (parent && !parent->IsOwnedByProcess(ChildID())) {
-    // Where trying attach a child BrowsingContext to a parent
+    // We're trying attach a child BrowsingContext to a parent
     // BrowsingContext in another process. This is illegal since the
     // only thing that could create that child BrowsingContext is a
     // parent docshell in the same process as that BrowsingContext.
     MOZ_DIAGNOSTIC_ASSERT(false,
                           "Trying to attach to out of process parent context");
 
     MOZ_LOG(BrowsingContext::GetLog(), LogLevel::Warning,
             ("ParentIPC: Trying to attach to out of process parent context "
@@ -5796,17 +5796,17 @@ mozilla::ipc::IPCResult ContentParent::R
     BrowsingContext* aContext) {
   if (!aContext) {
     MOZ_LOG(BrowsingContext::GetLog(), LogLevel::Debug,
             ("ParentIPC: Trying to detach already detached"));
     return IPC_OK();
   }
 
   if (!aContext->Canonical()->IsOwnedByProcess(ChildID())) {
-    // Where trying to detach a child BrowsingContext in another child
+    // We're trying to detach a child BrowsingContext in another child
     // process. This is illegal since the owner of the BrowsingContext
     // is the proccess with the in-process docshell, which is tracked
     // by OwnerProcessId.
     MOZ_DIAGNOSTIC_ASSERT(false, "Trying to detach out of process context");
 
     MOZ_LOG(BrowsingContext::GetLog(), LogLevel::Warning,
             ("ParentIPC: Trying to detach out of process context 0x%08" PRIx64,
              aContext->Id()));
@@ -5826,17 +5826,17 @@ mozilla::ipc::IPCResult ContentParent::R
     BrowsingContext* aContext) {
   if (!aContext) {
     MOZ_LOG(BrowsingContext::GetLog(), LogLevel::Debug,
             ("ParentIPC: Trying to cache already detached"));
     return IPC_OK();
   }
 
   if (!aContext->Canonical()->IsOwnedByProcess(ChildID())) {
-    // Where trying to cache a child BrowsingContext in another child
+    // We're trying to cache a child BrowsingContext in another child
     // process. This is illegal since the owner of the BrowsingContext
     // is the proccess with the in-process docshell, which is tracked
     // by OwnerProcessId.
     MOZ_DIAGNOSTIC_ASSERT(false, "Trying to cache out of process context");
 
     MOZ_LOG(BrowsingContext::GetLog(), LogLevel::Warning,
             ("ParentIPC: Trying to cache out of process context 0x%08" PRIx64,
              aContext->Id()));
@@ -5856,17 +5856,17 @@ mozilla::ipc::IPCResult ContentParent::R
     BrowsingContext* aContext, BrowsingContext::Children&& aChildren) {
   if (!aContext) {
     MOZ_LOG(BrowsingContext::GetLog(), LogLevel::Debug,
             ("ParentIPC: Trying to restore already detached"));
     return IPC_OK();
   }
 
   if (!aContext->Canonical()->IsOwnedByProcess(ChildID())) {
-    // Where trying to cache a child BrowsingContext in another child
+    // We're trying to cache a child BrowsingContext in another child
     // process. This is illegal since the owner of the BrowsingContext
     // is the proccess with the in-process docshell, which is tracked
     // by OwnerProcessId.
     MOZ_DIAGNOSTIC_ASSERT(false, "Trying to restore out of process context");
 
     MOZ_LOG(BrowsingContext::GetLog(), LogLevel::Warning,
             ("ParentIPC: Trying to restore out of process context 0x%08" PRIx64,
              aContext->Id()));