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
4f1a71ab
Commit
4f1a71ab
authored
Jul 13, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added test of calling IDispatchEx properties.
parent
61ded412
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
jstest.html
dlls/mshtml/tests/jstest.html
+15
-0
No files found.
dlls/mshtml/tests/jstest.html
View file @
4f1a71ab
...
...
@@ -91,6 +91,20 @@ function test_clone_node() {
ok
(
cloned
.
style
.
filter
===
"alpha(opacity=50)"
,
"cloned.style.filter = "
+
cloned
.
style
.
filter
);
}
function
test_getter_call
()
{
document
.
body
.
innerHTML
=
'<div id="divid"></div>'
;
var
e
=
document
.
getElementById
(
"divid"
);
e
.
myfunc
=
function
(
x
)
{
this
.
myfinc_called
=
x
;
};
e
.
myfunc
(
"test"
);
ok
(
e
.
myfinc_called
===
"test"
,
"e.myfinc_called = "
+
e
.
myfinc_called
);
e
.
onmousedown
=
function
(
x
)
{
this
.
onmousedown_called
=
x
;
};
e
.
onmousedown
(
"test"
);
ok
(
e
.
onmousedown_called
===
"test"
,
"e.onmousedown_called = "
+
e
.
onmousedown_called
);
}
var
globalVar
=
false
;
function
runTest
()
{
...
...
@@ -106,6 +120,7 @@ function runTest() {
test_createDocumentFragment
();
test_document_name_as_index
();
test_remove_style_attribute
();
test_getter_call
();
var
r
=
window
.
execScript
(
"globalVar = true;"
);
ok
(
r
===
undefined
,
"execScript returned "
+
r
);
...
...
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