Commit fa942235 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml/tests: Added script event argument test.

parent 1824f67a
......@@ -95,9 +95,11 @@ function test_handler_this() {
}
function registerHandler(name, target) {
var b = target.attachEvent("onclick", function() {
var b = target.attachEvent("onclick", function(event_arg) {
ok(this === window, "this !== window");
calls.push(name+"*");
with(todo_wine)
ok(event_arg != window.event, "event_arg == window.event");
});
ok(b, "attachEvent failed");
}
......
......@@ -51,3 +51,9 @@ function win_skip(m) {
function reportSuccess() {
external.reportSuccess();
}
var todo_wine = {
ok: function(b,m) {
return external.todo_wine_ok(b,m);
}
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment