mshtml/tests: Fix typos in a few comments.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5fd5618e3d
commit
325f438a41
|
@ -266,7 +266,7 @@ function test_attach_in_attach() {
|
||||||
calls += "div.onclick,";
|
calls += "div.onclick,";
|
||||||
div.attachEvent("onclick", function() {
|
div.attachEvent("onclick", function() {
|
||||||
calls += "div.click,";
|
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"); });
|
div.attachEvent("onclick", function () { ok(false, "unexpected call"); });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -405,7 +405,7 @@ function test_init_event() {
|
||||||
ok(e.target === elem, "target != elem");
|
ok(e.target === elem, "target != elem");
|
||||||
ok(e.defaultPrevented === false, "defaultPrevented = " + e.defaultPrevented);
|
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);
|
e.initEvent("test", true, false);
|
||||||
ok(e.type === "NewTest", "type = " + e.type);
|
ok(e.type === "NewTest", "type = " + e.type);
|
||||||
ok(e.bubbles === false, "bubbles = " + e.bubbles);
|
ok(e.bubbles === false, "bubbles = " + e.bubbles);
|
||||||
|
|
Loading…
Reference in New Issue