diff --git a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp index e0e7a5b2ebf6c4e4011f8035e69dfc29963e24fc..1097a414666882daae40f5766de70af26076424c 100644 --- a/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp +++ b/tests/auto/qscriptengineagent/tst_qscriptengineagent.cpp @@ -809,7 +809,7 @@ void tst_QScriptEngineAgent::functionEntryAndExit_native2() delete spy; } -/** check behaiviour of native function throwing error*/ +/** check behavior of native function throwing error*/ void tst_QScriptEngineAgent::functionEntryAndExit_nativeThrowing() { /* This function was changed from old backend. JSC return more Entrys / Exits, (exactly +1) @@ -2353,7 +2353,7 @@ void tst_QScriptEngineAgent::hasUncaughtException() QVERIFY2(spy->isPass(), "At least one of a functionExit event should set hasUncaughtException flag."); spy->reset(); - // Check catched exception. + // Check caught exception. eng.evaluate("function innerFoo() { throw new Error('ciao') }"); eng.evaluate("function foo() {try { innerFoo() } catch (e) {} }"); scriptValue = QScriptValue(eng.globalObject().property("foo")).call(); diff --git a/tests/benchmarks/script/qscriptclass/tst_qscriptclass.cpp b/tests/benchmarks/script/qscriptclass/tst_qscriptclass.cpp index 68c598f68cbe138065bce06382b5aa5658f9bfe7..bd82afa45dcb7c2648a70c746a9e3a0546340636 100644 --- a/tests/benchmarks/script/qscriptclass/tst_qscriptclass.cpp +++ b/tests/benchmarks/script/qscriptclass/tst_qscriptclass.cpp @@ -117,7 +117,7 @@ private: QScriptString foo; }; -// Test the overhead of getting a value of QScriptClass accross the Javascript engine +// Test the overhead of getting a value of QScriptClass across the Javascript engine void tst_QScriptClass::property() { QScriptEngine eng; @@ -130,7 +130,7 @@ void tst_QScriptClass::property() } } -// Test the overhead of setting a value on QScriptClass accross the Javascript engine +// Test the overhead of setting a value on QScriptClass across the Javascript engine void tst_QScriptClass::setProperty() { QScriptEngine eng; @@ -144,7 +144,7 @@ void tst_QScriptClass::setProperty() } } -// Test the time taken to get the propeties flags accross the engine +// Test the time taken to get the propeties flags across the engine void tst_QScriptClass::propertyFlags() { QScriptEngine eng;