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
1824f67a
Commit
1824f67a
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: Use winetest.js in events.html.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
353d9d82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
events.html
dlls/mshtml/tests/events.html
+6
-11
No files found.
dlls/mshtml/tests/events.html
View file @
1824f67a
<html>
<head>
<script
src=
"winetest.js"
type=
"text/javascript"
></script>
</head>
<head>
<script>
var
testevent_divid2_called
=
false
,
testevent_document_called
=
false
,
cnt
=
0
;
function
ok
(
b
,
m
)
{
return
external
.
ok
(
b
,
m
);
}
function
broken
(
expr
)
{
return
external
.
broken
(
expr
);
}
function
ondataavailable_test
()
{
var
evobj
,
div
,
b
=
false
;
...
...
@@ -130,7 +125,7 @@ function test_insert_script() {
ok
(
extern_cnt
===
1
,
"extern_cnt = "
+
extern_cnt
);
if
(
e
.
readyState
===
"complete"
)
{
ok
(
readystatechange_log
===
"append,complete"
,
"readystatechange_log = "
+
readystatechange_log
);
external
.
reportSuccess
();
reportSuccess
();
}
}
...
...
@@ -202,7 +197,7 @@ img.src = "http://test.winehq.org/tests/winehq_snapshot/index_files/winehq_logo_
var
img_onload_called
=
false
;
img
.
onload
=
function
()
{
external
.
trace
(
"img.onload"
);
trace
(
"img.onload"
);
img_onload_called
=
true
;
}
</script>
...
...
@@ -242,7 +237,7 @@ function extern_res_script_readystatechange() {
if
(
elem
.
readyState
!=
"loading"
)
extern_res_script_rs
+=
elem
.
readyState
+
extern_cnt
+
","
;
else
external
.
trace
(
"Got loading readyState from external res script."
);
trace
(
"Got loading readyState from external res script."
);
}
function
http_script_readystatechange
()
{
...
...
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