diff --git a/deps/chakrashim/core/lib/Common/Common/NumberUtilities.inl b/deps/chakrashim/core/lib/Common/Common/NumberUtilities.inl
index 4de18ec6258..0d762811781 100644
--- a/deps/chakrashim/core/lib/Common/Common/NumberUtilities.inl
+++ b/deps/chakrashim/core/lib/Common/Common/NumberUtilities.inl
@@ -25,7 +25,7 @@
#define X_BYTE_ORDER BYTE_ORDER
#define X_LITTLE_ENDIAN LITTLE_ENDIAN
#else // BYTE_ORDER not defined
-#error "Endiannes of this platform is undefined"
+#error "Endianness of this platform is undefined"
#endif // __BYTE_ORDER
#if X_BYTE_ORDER == X_LITTLE_ENDIAN
diff --git a/deps/chakrashim/core/lib/Common/Memory/RecyclerWriteBarrierManager.cpp b/deps/chakrashim/core/lib/Common/Memory/RecyclerWriteBarrierManager.cpp
index a9347094ae6..1c2b13ddc69 100644
--- a/deps/chakrashim/core/lib/Common/Memory/RecyclerWriteBarrierManager.cpp
+++ b/deps/chakrashim/core/lib/Common/Memory/RecyclerWriteBarrierManager.cpp
@@ -403,7 +403,7 @@ RecyclerWriteBarrierManager::ToggleBarrier(void * address, size_t bytes, bool en
}
}
- GlobalSwbVerboseTrace(_u("Enableing 0x%p (CIndex: %u-%u)\n"), address, startIndex, endIndex);
+ GlobalSwbVerboseTrace(_u("Enabling 0x%p (CIndex: %u-%u)\n"), address, startIndex, endIndex);
}
}
diff --git a/deps/chakrashim/core/lib/Jsrt/ChakraCommon.h b/deps/chakrashim/core/lib/Jsrt/ChakraCommon.h
index 74918b9c65d..a6664458f38 100644
--- a/deps/chakrashim/core/lib/Jsrt/ChakraCommon.h
+++ b/deps/chakrashim/core/lib/Jsrt/ChakraCommon.h
@@ -211,11 +211,11 @@ typedef unsigned short uint16_t;
///
JsErrorPropertyNotString,
///
- /// Module evaulation is called in wrong context.
+ /// Module evaluation is called in wrong context.
///
JsErrorInvalidContext,
///
- /// Module evaulation is called in wrong context.
+ /// Module evaluation is called in wrong context.
///
JsInvalidModuleHostInfoKind,
///
@@ -295,7 +295,7 @@ typedef unsigned short uint16_t;
///
JsErrorDiagObjectNotFound,
///
- /// VM was unable to perfom the request action
+ /// VM was unable to perform the request action
///
JsErrorDiagUnableToPerformAction,
} JsErrorCode;
diff --git a/deps/chakrashim/core/lib/Jsrt/ChakraDebug.h b/deps/chakrashim/core/lib/Jsrt/ChakraDebug.h
index c9736d0f17b..b9d375f8550 100644
--- a/deps/chakrashim/core/lib/Jsrt/ChakraDebug.h
+++ b/deps/chakrashim/core/lib/Jsrt/ChakraDebug.h
@@ -739,7 +739,7 @@ typedef unsigned __int32 uint32_t;
///
/// The attributes of the runtime to be created.
/// The uri where the recorded Time-Travel data should be loaded from.
- /// A flag to enable addtional debugging operation support during replay.
+ /// A flag to enable additional debugging operation support during replay.
/// The TTDOpenResourceStreamCallback function for generating a JsTTDStreamHandle to read/write serialized data.
/// The JsTTDReadBytesFromStreamCallback function for reading bytes from a JsTTDStreamHandle.
/// The JsTTDFlushAndCloseStreamCallback function for flushing and closing a JsTTDStreamHandle as needed.
@@ -823,7 +823,7 @@ typedef unsigned __int32 uint32_t;
///
/// TTD API -- may change in future versions:
- /// Notify the Js runtime we are at a safe yield point in the event loop (i.e. no locals on the stack and we can proccess as desired).
+ /// Notify the Js runtime we are at a safe yield point in the event loop (i.e. no locals on the stack and we can process as desired).
///
/// The code JsNoError if the operation succeeded, a failure code otherwise.
CHAKRA_API
@@ -903,7 +903,7 @@ typedef unsigned __int32 uint32_t;
///
/// TTD API -- may change in future versions:
- /// A check for unimplmented TTD actions in the host.
+ /// A check for unimplemented TTD actions in the host.
/// This API is a TEMPORARY API while we complete the implementation of TTD support in the Node host and will be deleted once that is complete.
///
/// The message to print if we should be catching this as a TTD operation.
@@ -963,7 +963,7 @@ typedef unsigned __int32 uint32_t;
///
/// TTD API -- may change in future versions:
/// During debug operations some additional information is populated during replay. This runs the code between the given
- /// snapshots to poulate this information which may be needed by the debugger to determine time-travel jump targets.
+ /// snapshots to populate this information which may be needed by the debugger to determine time-travel jump targets.
///
/// The runtime handle that the script is executing in.
///The snapshot time that we will start executing from.< / param>
diff --git a/deps/chakrashim/core/lib/Jsrt/JsrtDebugManager.cpp b/deps/chakrashim/core/lib/Jsrt/JsrtDebugManager.cpp
index 6c8b9263a56..d1cb63bd60a 100644
--- a/deps/chakrashim/core/lib/Jsrt/JsrtDebugManager.cpp
+++ b/deps/chakrashim/core/lib/Jsrt/JsrtDebugManager.cpp
@@ -652,7 +652,7 @@ Js::BreakpointProbe* JsrtDebugManager::SetBreakpointHelper_TTD(int64 desiredBpId
// Don't see a use case for supporting multiple breakpoints at same location.
// If a breakpoint already exists, just return that
Js::BreakpointProbe* probe = debugDocument->FindBreakpoint(statement);
- TTDAssert(probe == nullptr || desiredBpId == -1, "We shouldn't be resetting this BP unless it was cleared eariler!");
+ TTDAssert(probe == nullptr || desiredBpId == -1, "We shouldn't be resetting this BP unless it was cleared earlier!");
if(probe == nullptr)
{
diff --git a/deps/chakrashim/core/lib/Parser/rterrors.h b/deps/chakrashim/core/lib/Parser/rterrors.h
index 06feccae384..60f5297e119 100644
--- a/deps/chakrashim/core/lib/Parser/rterrors.h
+++ b/deps/chakrashim/core/lib/Parser/rterrors.h
@@ -394,7 +394,7 @@ RT_ERROR_MSG(WASMERR_TableIndexOutOfRange, 7016, "", "Table index is out of rang
RT_ERROR_MSG(WASMERR_ArrayIndexOutOfRange, 7017, "", "Memory index is out of range", kjstWebAssemblyRuntimeError, 0)
RT_ERROR_MSG(WASMERR_InvalidInstantiateArgument, 7018, "", "Invalid arguments to instantiate", kjstTypeError, 0)
RT_ERROR_MSG(WASMERR_WasmLinkError, 7019, "%s", "Linking failed.", kjstWebAssemblyLinkError, 0)
-RT_ERROR_MSG(WASMERR_NeedResponse, 7020, "%s is not a Reponse", "Response expected", kjstTypeError, 0)
+RT_ERROR_MSG(WASMERR_NeedResponse, 7020, "%s is not a Response", "Response expected", kjstTypeError, 0)
RT_ERROR_MSG(WASMERR_CantDetach, 7021, "", "Not allowed to detach WebAssembly.Memory buffer", kjstTypeError, 0)
RT_ERROR_MSG(WASMERR_BufferGrowOnly, 7022, "", "WebAssembly.Memory can only grow", kjstTypeError, 0)
RT_ERROR_MSG(WASMERR_LinkSignatureMismatch, 7023, "Cannot link import %s in link table due to a signature mismatch", "Function called with invalid signature", kjstWebAssemblyRuntimeError, 0)
diff --git a/deps/chakrashim/core/lib/Runtime/Base/jitprofiling.h b/deps/chakrashim/core/lib/Runtime/Base/jitprofiling.h
index 2faf814570c..9983253091c 100644
--- a/deps/chakrashim/core/lib/Runtime/Base/jitprofiling.h
+++ b/deps/chakrashim/core/lib/Runtime/Base/jitprofiling.h
@@ -617,7 +617,7 @@ unsigned int JITAPI iJIT_GetNewMethodID(void);
iJIT_IsProfilingActiveFlags JITAPI iJIT_IsProfilingActive(void);
/**
- * @brief Reports infomation about JIT-compiled code to the agent.
+ * @brief Reports information about JIT-compiled code to the agent.
*
* The reported information is used to attribute samples obtained from any
* Intel(R) VTune(TM) Amplifier collector. This API needs to be called
diff --git a/deps/chakrashim/core/lib/Runtime/Debug/TTEventLog.cpp b/deps/chakrashim/core/lib/Runtime/Debug/TTEventLog.cpp
index c6b67fbe02d..4366f4f4cbc 100644
--- a/deps/chakrashim/core/lib/Runtime/Debug/TTEventLog.cpp
+++ b/deps/chakrashim/core/lib/Runtime/Debug/TTEventLog.cpp
@@ -1760,13 +1760,13 @@ namespace TTD
}
catch(const Js::JavascriptException& err)
{
- TTDAssert(NSLogEvents::EventCompletesWithException(evt), "Should see same execption here");
+ TTDAssert(NSLogEvents::EventCompletesWithException(evt), "Should see same exception here");
ctx->GetThreadContext()->SetRecordedException(err.GetAndClear());
}
catch(Js::ScriptAbortException)
{
- TTDAssert(NSLogEvents::EventCompletesWithException(evt), "Should see same execption here");
+ TTDAssert(NSLogEvents::EventCompletesWithException(evt), "Should see same exception here");
Assert(ctx->GetThreadContext()->GetRecordedException() == nullptr);
ctx->GetThreadContext()->SetRecordedException(ctx->GetThreadContext()->GetPendingTerminatedErrorObject());
@@ -1799,14 +1799,14 @@ namespace TTD
}
catch(const Js::JavascriptException& err)
{
- TTDAssert(NSLogEvents::EventCompletesWithException(evt), "Should see same execption here");
+ TTDAssert(NSLogEvents::EventCompletesWithException(evt), "Should see same exception here");
TTDAssert(false, "Should never get JavascriptExceptionObject for ContextAPINoScriptWrapper.");
ctx->GetThreadContext()->SetRecordedException(err.GetAndClear());
}
catch(Js::ScriptAbortException)
{
- TTDAssert(NSLogEvents::EventCompletesWithException(evt), "Should see same execption here");
+ TTDAssert(NSLogEvents::EventCompletesWithException(evt), "Should see same exception here");
Assert(ctx->GetThreadContext()->GetRecordedException() == nullptr);
ctx->GetThreadContext()->SetRecordedException(ctx->GetThreadContext()->GetPendingTerminatedErrorObject());
@@ -2728,9 +2728,9 @@ namespace TTD
bool diagEnabled = reader.ReadBool(NSTokens::Key::diagEnabled, true);
#if ENABLE_TTD_INTERNAL_DIAGNOSTICS
- TTDAssert(diagEnabled, "Diag was enabled in record so it shoud be in replay as well!!!");
+ TTDAssert(diagEnabled, "Diag was enabled in record so it should be in replay as well!!!");
#else
- TTDAssert(!diagEnabled, "Diag was *not* enabled in record so it shoud *not* be in replay either!!!");
+ TTDAssert(!diagEnabled, "Diag was *not* enabled in record so it should *not* be in replay either!!!");
#endif
reader.ReadUInt64(NSTokens::Key::usedMemory, true);
diff --git a/deps/chakrashim/core/lib/Runtime/Debug/TTEventLog.h b/deps/chakrashim/core/lib/Runtime/Debug/TTEventLog.h
index e2690d4385a..eed4d5fa3c8 100644
--- a/deps/chakrashim/core/lib/Runtime/Debug/TTEventLog.h
+++ b/deps/chakrashim/core/lib/Runtime/Debug/TTEventLog.h
@@ -276,7 +276,7 @@ namespace TTD
template
NSLogEvents::EventLogEntry* RecordGetInitializedEvent(T** extraData)
{
- AssertMsg(TTD_EVENT_PLUS_DATA_SIZE_DIRECT(sizeof(T)) == this->m_eventListVTable[(uint32)tag].DataSize, "Computed and extracted data sizes dont' match!!!");
+ AssertMsg(TTD_EVENT_PLUS_DATA_SIZE_DIRECT(sizeof(T)) == this->m_eventListVTable[(uint32)tag].DataSize, "Computed and extracted data sizes don't match!!!");
NSLogEvents::EventLogEntry* res = this->m_eventList.GetNextAvailableEntry();
NSLogEvents::EventLogEntry_Initialize(res, this->GetCurrentEventTimeAndAdvance());
@@ -288,7 +288,7 @@ namespace TTD
template
T* RecordGetInitializedEvent_DataOnly()
{
- AssertMsg(TTD_EVENT_PLUS_DATA_SIZE_DIRECT(sizeof(T)) == this->m_eventListVTable[(uint32)tag].DataSize, "Computed and extracted data sizes dont' match!!!");
+ AssertMsg(TTD_EVENT_PLUS_DATA_SIZE_DIRECT(sizeof(T)) == this->m_eventListVTable[(uint32)tag].DataSize, "Computed and extracted data sizes don't match!!!");
NSLogEvents::EventLogEntry* res = this->m_eventList.GetNextAvailableEntry();
NSLogEvents::EventLogEntry_Initialize(res, this->GetCurrentEventTimeAndAdvance());
diff --git a/deps/chakrashim/core/lib/Runtime/Debug/TTSerialize.cpp b/deps/chakrashim/core/lib/Runtime/Debug/TTSerialize.cpp
index 4eaaefe6ec7..a507d4229b0 100644
--- a/deps/chakrashim/core/lib/Runtime/Debug/TTSerialize.cpp
+++ b/deps/chakrashim/core/lib/Runtime/Debug/TTSerialize.cpp
@@ -1699,7 +1699,7 @@ namespace TTD
{
uint32 wlen = 0;
this->ReadBytesInto_Fixed(wlen);
- TTDAssert(wlen == length, "Not exepcted string length!!!");
+ TTDAssert(wlen == length, "Not expected string length!!!");
this->ReadBytesInto((byte*)code, length * sizeof(char16));
}
diff --git a/deps/chakrashim/core/lib/Runtime/Debug/TTSupport.cpp b/deps/chakrashim/core/lib/Runtime/Debug/TTSupport.cpp
index f43f12e2e3a..9070345d7dc 100644
--- a/deps/chakrashim/core/lib/Runtime/Debug/TTSupport.cpp
+++ b/deps/chakrashim/core/lib/Runtime/Debug/TTSupport.cpp
@@ -66,14 +66,14 @@ namespace TTD
TTDMode TTModeStack::Peek() const
{
- TTDAssert(this->m_stackTop > 0, "Undeflow in stack pop.");
+ TTDAssert(this->m_stackTop > 0, "Underflow in stack pop.");
return this->m_stackEntries[this->m_stackTop - 1];
}
void TTModeStack::Pop()
{
- TTDAssert(this->m_stackTop > 0, "Undeflow in stack pop.");
+ TTDAssert(this->m_stackTop > 0, "Underflow in stack pop.");
this->m_stackTop--;
}
diff --git a/deps/chakrashim/core/lib/Runtime/Language/DynamicProfileStorage.h b/deps/chakrashim/core/lib/Runtime/Language/DynamicProfileStorage.h
index b6fb47e4396..682288c6600 100644
--- a/deps/chakrashim/core/lib/Runtime/Language/DynamicProfileStorage.h
+++ b/deps/chakrashim/core/lib/Runtime/Language/DynamicProfileStorage.h
@@ -124,7 +124,7 @@ DynamicProfileStorage::Load(char16 const * filename, Fn loadFn)
#if DBG_DUMP
if (DynamicProfileStorage::DoTrace())
{
- Output::Print(_u("TRACE: DynamicProfileStorage: Faile to load from cache dir for '%s'"), filename);
+ Output::Print(_u("TRACE: DynamicProfileStorage: Failed to load from cache dir for '%s'"), filename);
Output::Flush();
}
#endif
diff --git a/deps/chakrashim/core/lib/Runtime/Language/SourceTextModuleRecord.cpp b/deps/chakrashim/core/lib/Runtime/Language/SourceTextModuleRecord.cpp
index 5cc4197b4e5..6fdc57df4e8 100644
--- a/deps/chakrashim/core/lib/Runtime/Language/SourceTextModuleRecord.cpp
+++ b/deps/chakrashim/core/lib/Runtime/Language/SourceTextModuleRecord.cpp
@@ -648,7 +648,7 @@ namespace Js
JavascriptExceptionOperators::Throw(childModule->errorObject, GetScriptContext());
}
- // if ambigious, return "ambigious"
+ // if ambiguous, return "ambiguous"
if (!childModule->ResolveExport(exportName, resolveSet, ¤tResolution))
{
ambiguousResolution = true;
diff --git a/deps/chakrashim/core/lib/Runtime/Library/JavascriptWeakMap.cpp b/deps/chakrashim/core/lib/Runtime/Library/JavascriptWeakMap.cpp
index 748b5b162d6..21b1a760557 100644
--- a/deps/chakrashim/core/lib/Runtime/Library/JavascriptWeakMap.cpp
+++ b/deps/chakrashim/core/lib/Runtime/Library/JavascriptWeakMap.cpp
@@ -422,7 +422,7 @@ namespace Js
this->Map([&](RecyclableObject* key, Js::Var value)
{
- AssertMsg(smi->MapSize + 1 < mapCountEst, "We are writting junk");
+ AssertMsg(smi->MapSize + 1 < mapCountEst, "We are writing junk");
smi->MapKeyValueArray[smi->MapSize] = key;
smi->MapKeyValueArray[smi->MapSize + 1] = value;
diff --git a/deps/chakrashim/core/lib/Runtime/Library/JavascriptWeakSet.cpp b/deps/chakrashim/core/lib/Runtime/Library/JavascriptWeakSet.cpp
index a212e6b7631..2dddb836107 100644
--- a/deps/chakrashim/core/lib/Runtime/Library/JavascriptWeakSet.cpp
+++ b/deps/chakrashim/core/lib/Runtime/Library/JavascriptWeakSet.cpp
@@ -254,7 +254,7 @@ namespace Js
this->Map([&](RecyclableObject* key)
{
- AssertMsg(ssi->SetSize < setCountEst, "We are writting junk");
+ AssertMsg(ssi->SetSize < setCountEst, "We are writing junk");
ssi->SetValueArray[ssi->SetSize] = key;
ssi->SetSize++;
diff --git a/deps/chakrashim/core/lib/Runtime/Library/WebAssemblyEnvironment.cpp b/deps/chakrashim/core/lib/Runtime/Library/WebAssemblyEnvironment.cpp
index ba2fb984042..18e07bab55b 100644
--- a/deps/chakrashim/core/lib/Runtime/Library/WebAssemblyEnvironment.cpp
+++ b/deps/chakrashim/core/lib/Runtime/Library/WebAssemblyEnvironment.cpp
@@ -82,7 +82,7 @@ void Js::WebAssemblyEnvironment::SetVarElement(Field(Var)* ptr, T* val, uint32 i
Field(Var)* dst = ptr + index;
CheckPtrIsValid((intptr_t)dst);
- AssertMsg(*(T**)dst == nullptr, "We shouln't overwrite anything on the environment once it is set");
+ AssertMsg(*(T**)dst == nullptr, "We shouldn't overwrite anything on the environment once it is set");
*dst = val;
}
@@ -145,7 +145,7 @@ void WebAssemblyEnvironment::SetGlobalInternal(uint32 offset, T val)
{
Field(T)* ptr = (Field(T)*)PointerValue(start) + offset;
CheckPtrIsValid((intptr_t)PointerValue(ptr));
- AssertMsg(*ptr == 0, "We shouln't overwrite anything on the environment once it is set");
+ AssertMsg(*ptr == 0, "We shouldn't overwrite anything on the environment once it is set");
*ptr = val;
}
diff --git a/deps/chakrashim/core/lib/wabt/src/validator.cc b/deps/chakrashim/core/lib/wabt/src/validator.cc
index a1afab1ef61..683157d2091 100644
--- a/deps/chakrashim/core/lib/wabt/src/validator.cc
+++ b/deps/chakrashim/core/lib/wabt/src/validator.cc
@@ -940,7 +940,7 @@ Result Validator::CheckModule(const Module* module) {
}
// Returns the result type of the invoked function, checked by the caller;
-// returning nullptr means that another error occured first, so the result type
+// returning nullptr means that another error occurred first, so the result type
// should be ignored.
const TypeVector* Validator::CheckInvoke(const Action* action) {
const ActionInvoke* invoke = action->invoke;
diff --git a/deps/chakrashim/core/pal/src/cruntime/printf.cpp b/deps/chakrashim/core/pal/src/cruntime/printf.cpp
index 0b18d4f8b7b..36797a9a0af 100644
--- a/deps/chakrashim/core/pal/src/cruntime/printf.cpp
+++ b/deps/chakrashim/core/pal/src/cruntime/printf.cpp
@@ -437,11 +437,11 @@ PAL_fwprintf(
Function:
Internal_ScanfExtractFormatA
-Paramaters:
+Parameters:
Fmt
- format string to parse
- first character must be a '%'
- - paramater gets updated to point to the character after
+ - parameter gets updated to point to the character after
the % format string
Out
- buffer will contain the % format string
diff --git a/deps/chakrashim/core/pal/src/cruntime/printfcpp.cpp b/deps/chakrashim/core/pal/src/cruntime/printfcpp.cpp
index d0c35bf6527..3eb07851864 100644
--- a/deps/chakrashim/core/pal/src/cruntime/printfcpp.cpp
+++ b/deps/chakrashim/core/pal/src/cruntime/printfcpp.cpp
@@ -110,16 +110,16 @@ static int Internal_Convertfwrite(CPalThread *pthrCurrent, const void *buffer, s
Function:
Internal_ExtractFormatA
-Paramaters:
+Parameters:
Fmt
- format string to parse
- first character must be a '%'
- - paramater gets updated to point to the character after
+ - parameter gets updated to point to the character after
the % format string
Out
- buffer will contain the % format string
Flags
- - paramater will be set with the PRINTF_FORMAT_FLAGS defined above
+ - parameter will be set with the PRINTF_FORMAT_FLAGS defined above
Width
- will contain the width specified by the format string
- -1 if none given
@@ -136,7 +136,7 @@ static int Internal_Convertfwrite(CPalThread *pthrCurrent, const void *buffer, s
- %#10x, when we have a width greater than the length (i.e padding) the
length of the padding is not consistent with MS's wsprintf
(MS adds an extra 2 padding chars, length of "0x")
- - MS's wsprintf seems to ingore a 'h' prefix for number types
+ - MS's wsprintf seems to ignore a 'h' prefix for number types
- MS's "%p" is different than gcc's
e.g. printf("%p", NULL);
MS --> 00000000
diff --git a/deps/chakrashim/core/pal/src/cruntime/wchar.cpp b/deps/chakrashim/core/pal/src/cruntime/wchar.cpp
index 1085fef6af4..d8b4f178582 100644
--- a/deps/chakrashim/core/pal/src/cruntime/wchar.cpp
+++ b/deps/chakrashim/core/pal/src/cruntime/wchar.cpp
@@ -1131,7 +1131,7 @@ PAL_wcscat(
ret = PAL_wcsncat( strDestination, strSource, PAL_wcslen( strSource ) );
- LOGEXIT("wcscat returnng char16_t %p (%S)\n", ret, ret);
+ LOGEXIT("wcscat returning char16_t %p (%S)\n", ret, ret);
PERF_EXIT(wcscat);
return ret;
}
@@ -1829,7 +1829,7 @@ PAL_iswdigit( char16_t c )
}
else
{
- TRACE( "No corresonding unicode record for character %d.\n", c );
+ TRACE( "No corresponding unicode record for character %d.\n", c );
}
#endif /* HAVE_COREFOUNDATION */
LOGEXIT("PAL_iswdigit returning %d\n", nRetVal);
diff --git a/deps/chakrashim/core/pal/src/file/filetime.cpp b/deps/chakrashim/core/pal/src/file/filetime.cpp
index 6ff814ef07c..d0b8004f9e6 100644
--- a/deps/chakrashim/core/pal/src/file/filetime.cpp
+++ b/deps/chakrashim/core/pal/src/file/filetime.cpp
@@ -643,7 +643,7 @@ Function
FileTimeToSystemTime()
Helper function for FileTimeToDosTime.
- Converts the necessary file time attibutes to system time, for
+ Converts the necessary file time attributes to system time, for
easier manipulation in FileTimeToDosTime.
--*/
diff --git a/deps/chakrashim/core/pal/src/objmgr/shmobject.cpp b/deps/chakrashim/core/pal/src/objmgr/shmobject.cpp
index c33297460d8..08ef4642d2b 100644
--- a/deps/chakrashim/core/pal/src/objmgr/shmobject.cpp
+++ b/deps/chakrashim/core/pal/src/objmgr/shmobject.cpp
@@ -136,7 +136,7 @@ CSharedMemoryObject::Initialize(
InitializeExit:
- LOGEXIT("CSharedMemoryObject::Initalize returns %d\n", palError);
+ LOGEXIT("CSharedMemoryObject::Initialize returns %d\n", palError);
return palError;
}
diff --git a/deps/chakrashim/core/pal/src/objmgr/shmobjectmanager.cpp b/deps/chakrashim/core/pal/src/objmgr/shmobjectmanager.cpp
index eb15dc5c7bb..2aba8056c29 100644
--- a/deps/chakrashim/core/pal/src/objmgr/shmobjectmanager.cpp
+++ b/deps/chakrashim/core/pal/src/objmgr/shmobjectmanager.cpp
@@ -1151,7 +1151,7 @@ CSharedMemoryObjectManager::ImportSharedObjectIntoProcess(
}
else
{
- ERROR("Unable to alllocate new object\n");
+ ERROR("Unable to allocate new object\n");
palError = ERROR_OUTOFMEMORY;
goto ImportSharedObjectIntoProcessExit;
}
diff --git a/deps/chakrashim/core/pal/src/safecrt/input.inl b/deps/chakrashim/core/pal/src/safecrt/input.inl
index b794b545d6d..98524c48661 100644
--- a/deps/chakrashim/core/pal/src/safecrt/input.inl
+++ b/deps/chakrashim/core/pal/src/safecrt/input.inl
@@ -15,7 +15,7 @@
* and then includes this file in order to implement _cscanf().
*
*Note:
-* this file is included in safecrt.lib build directly, plese refer
+* this file is included in safecrt.lib build directly, please refer
* to safecrt_[w]input_s.c
*
*******************************************************************************/
diff --git a/deps/chakrashim/core/pal/src/safecrt/mbusafecrt.c b/deps/chakrashim/core/pal/src/safecrt/mbusafecrt.c
index f4d4860a2c7..d3ca1dc4736 100644
--- a/deps/chakrashim/core/pal/src/safecrt/mbusafecrt.c
+++ b/deps/chakrashim/core/pal/src/safecrt/mbusafecrt.c
@@ -4,7 +4,7 @@
//
/***
-* mbusafecrt.c - implementaion of support functions and data for MBUSafeCRT
+* mbusafecrt.c - implementation of support functions and data for MBUSafeCRT
*
*
diff --git a/deps/chakrashim/core/pal/src/safecrt/output.inl b/deps/chakrashim/core/pal/src/safecrt/output.inl
index ecbd96504e3..c63f36df545 100644
--- a/deps/chakrashim/core/pal/src/safecrt/output.inl
+++ b/deps/chakrashim/core/pal/src/safecrt/output.inl
@@ -11,7 +11,7 @@
*Purpose:
* This file contains the code that does all the work for the
* printf family of functions. It should not be called directly, only
-* by the *printf functions. We don't make any assumtions about the
+* by the *printf functions. We don't make any assumptions about the
* sizes of ints, longs, shorts, or long doubles, but if types do overlap,
* we also try to be efficient. We do assume that pointers are the same
* size as either ints or longs.
@@ -19,7 +19,7 @@
* **** DOESN'T CURRENTLY DO MTHREAD LOCKING ****
*
*Note:
-* this file is included in safecrt.lib build directly, plese refer
+* this file is included in safecrt.lib build directly, please refer
* to safecrt_[w]output_s.c
*
*******************************************************************************/
@@ -677,7 +677,7 @@ _CRTIMP int __cdecl _tcprintf_s (
* The format string is parsed by using a finite state automaton
* based on the current state and the current character read from
* the format string. Thus, looping is on a per-character basis,
-* not a per conversion specifier basis. Once the format specififying
+* not a per conversion specifier basis. Once the format specifying
* character is read, output is performed.
*
*Entry:
diff --git a/deps/chakrashim/core/pal/src/safecrt/vswprint.c b/deps/chakrashim/core/pal/src/safecrt/vswprint.c
index d172305610d..03160c77363 100644
--- a/deps/chakrashim/core/pal/src/safecrt/vswprint.c
+++ b/deps/chakrashim/core/pal/src/safecrt/vswprint.c
@@ -247,7 +247,7 @@ int __cdecl _vsnwprintf_s (
* data
*
*Purpose:
-* Counts the number of characters in the fotmatted data.
+* Counts the number of characters in the formatted data.
*
*Entry:
* char16_t *format - format string, describes format of data
diff --git a/deps/chakrashim/core/pal/src/synchmgr/synchmanager.cpp b/deps/chakrashim/core/pal/src/synchmgr/synchmanager.cpp
index 6f604d60ab0..bd15828a916 100644
--- a/deps/chakrashim/core/pal/src/synchmgr/synchmanager.cpp
+++ b/deps/chakrashim/core/pal/src/synchmgr/synchmanager.cpp
@@ -1286,7 +1286,7 @@ namespace CorUnix
pthrTarget->synchronizationInfo.m_shridWaitAwakened);
if(TWS_EARLYDEATH == VolatileLoad(pdwWaitState))
{
- ERROR("Thread %#x is about to be suspended for process shutdwon, "
+ ERROR("Thread %#x is about to be suspended for process shutdown, "
"can't queue an APC on it\n", pthrTarget->GetThreadId());
palErr = ERROR_INVALID_PARAMETER;
goto QUAPC_exit;
diff --git a/deps/chakrashim/core/pal/src/thread/pal_thread.cpp b/deps/chakrashim/core/pal/src/thread/pal_thread.cpp
index d5ed8a54608..171777fd56e 100644
--- a/deps/chakrashim/core/pal/src/thread/pal_thread.cpp
+++ b/deps/chakrashim/core/pal/src/thread/pal_thread.cpp
@@ -2790,7 +2790,7 @@ void GetCurrentThreadStackLimits(ULONG_PTR* lowLimit, ULONG_PTR* highLimit)
status = pthread_getattr_np(currentThreadHandle, &attr);
_ASSERT_MSG(status == 0, "pthread_getattr_np call failed");
#else
-# error "Dont know how to get thread attributes on this platform!"
+# error "Don't know how to get thread attributes on this platform!"
#endif
status = pthread_attr_getstack(&attr, &stackend, &stacksize);
diff --git a/deps/chakrashim/core/pal/src/thread/process.cpp b/deps/chakrashim/core/pal/src/thread/process.cpp
index a855bf07fd7..9f0deb98ef9 100644
--- a/deps/chakrashim/core/pal/src/thread/process.cpp
+++ b/deps/chakrashim/core/pal/src/thread/process.cpp
@@ -762,7 +762,7 @@ CorUnix::InternalCreateProcess(
if (NO_ERROR != palError)
{
- ERROR("Unable to allocate object for new proccess\n");
+ ERROR("Unable to allocate object for new process\n");
goto InternalCreateProcessExit;
}