[PATCH] mshtml/tests: Fix typos in a few comments.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] mshtml/tests: Fix typos in a few comments.

Francois Gouget-2
Signed-off-by: Francois Gouget <[hidden email]>
---
 dlls/mshtml/tests/events.html | 2 +-
 dlls/mshtml/tests/events.js   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/tests/events.html b/dlls/mshtml/tests/events.html
index f20fd3b1825..39860ff1817 100644
--- a/dlls/mshtml/tests/events.html
+++ b/dlls/mshtml/tests/events.html
@@ -266,7 +266,7 @@ function test_attach_in_attach() {
         calls += "div.onclick,";
         div.attachEvent("onclick", function() {
             calls += "div.click,";
-            /* listener attached inside an other attached listener will not ve invoked */
+            /* listener attached inside another attached listener will not be invoked */
             div.attachEvent("onclick", function () { ok(false, "unexpected call"); });
         });
     }
diff --git a/dlls/mshtml/tests/events.js b/dlls/mshtml/tests/events.js
index f7df4d8ffd7..6e3dde14c22 100644
--- a/dlls/mshtml/tests/events.js
+++ b/dlls/mshtml/tests/events.js
@@ -405,7 +405,7 @@ function test_init_event() {
     ok(e.target === elem, "target != elem");
     ok(e.defaultPrevented === false, "defaultPrevented = " + e.defaultPrevented);
 
-    /* initEvent no longer has effect except reseting defaultPrevented */
+    /* initEvent no longer has any effect except resetting defaultPrevented */
     e.initEvent("test", true, false);
     ok(e.type === "NewTest", "type = " + e.type);
     ok(e.bubbles === false, "bubbles = " + e.bubbles);
--
2.15.1