diff --git a/dom/script/ScriptSettings.cpp b/dom/script/ScriptSettings.cpp index 692851f0652d..153c2063f2ae 100644 --- a/dom/script/ScriptSettings.cpp +++ b/dom/script/ScriptSettings.cpp @@ -298,7 +298,7 @@ AutoJSAPI::~AutoJSAPI() { if (!mCx) { // No need to do anything here: we never managed to Init, so can't have an // exception on our (nonexistent) JSContext. We also don't need to restore - // any state on it. Finally, we never made it to pushing outselves onto the + // any state on it. Finally, we never made it to pushing ourselves onto the // ScriptSettingsStack, so shouldn't pop. MOZ_ASSERT(ScriptSettingsStack::Top() != this); return; diff --git a/js/xpconnect/src/XPCWrappedJS.cpp b/js/xpconnect/src/XPCWrappedJS.cpp index 7b9729f990d1..8c756cba1d5b 100644 --- a/js/xpconnect/src/XPCWrappedJS.cpp +++ b/js/xpconnect/src/XPCWrappedJS.cpp @@ -281,7 +281,7 @@ MozExternalRefCountType nsXPCWrappedJS::Release(void) { } // If we are not a root wrapper being used from a weak reference, - // then the extra ref is not needed and we can let outselves be + // then the extra ref is not needed and we can let ourselves be // deleted. if (!HasWeakReferences()) { return Release();