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
b5be64db
Commit
b5be64db
authored
Sep 03, 2008
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Add IHTMLElementBody test.
parent
aee6a2d8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
script.c
dlls/mshtml/tests/script.c
+10
-0
No files found.
dlls/mshtml/tests/script.c
View file @
b5be64db
...
...
@@ -237,6 +237,10 @@ static IHTMLDocument2 *create_and_load_doc(const char *str)
ULONG
ref
;
MSG
msg
;
HRESULT
hres
;
static
const
WCHAR
ucPtr
[]
=
{
'b'
,
'a'
,
'c'
,
'k'
,
'g'
,
'r'
,
'o'
,
'u'
,
'n'
,
'd'
,
0
};
DISPID
dispID
=
-
1
;
OLECHAR
*
name
;
doc
=
create_doc_with_string
(
str
);
do_advise
((
IUnknown
*
)
doc
,
&
IID_IPropertyNotifySink
,
(
IUnknown
*
)
&
PropertyNotifySink
);
...
...
@@ -256,6 +260,12 @@ static IHTMLDocument2 *create_and_load_doc(const char *str)
return
NULL
;
}
/* Check we can query for function on the IHTMLElementBody interface */
name
=
(
WCHAR
*
)
ucPtr
;
hres
=
IHTMLElement_GetIDsOfNames
(
body
,
&
IID_NULL
,
&
name
,
1
,
LOCALE_USER_DEFAULT
,
&
dispID
);
ok
(
hres
==
S_OK
,
"GetIDsOfNames(background) failed %08x
\n
"
,
hres
);
ok
(
dispID
==
DISPID_IHTMLBODYELEMENT_BACKGROUND
,
"Incorrect dispID got (%d)
\n
"
,
dispID
);
IHTMLElement_Release
(
body
);
return
doc
;
}
...
...
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