Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fa942235
Commit
fa942235
authored
Oct 12, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 12, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml/tests: Added script event argument test.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1824f67a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
events.html
dlls/mshtml/tests/events.html
+3
-1
winetest.js
dlls/mshtml/tests/winetest.js
+6
-0
No files found.
dlls/mshtml/tests/events.html
View file @
fa942235
...
...
@@ -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"
);
}
...
...
dlls/mshtml/tests/winetest.js
View file @
fa942235
...
...
@@ -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
);
}
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment