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
0b5edecc
Commit
0b5edecc
authored
Dec 15, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 15, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Fixed tests on some IE6 installations.
parent
79f400c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
activex.c
dlls/mshtml/tests/activex.c
+5
-4
No files found.
dlls/mshtml/tests/activex.c
View file @
0b5edecc
...
...
@@ -178,7 +178,7 @@ static void set_plugin_readystate(READYSTATE state)
IPropertyNotifySink_Release
(
prop_notif
);
}
static
void
test_mon_displayname
(
IMoniker
*
mon
,
const
char
*
exname
)
static
void
test_mon_displayname
(
IMoniker
*
mon
,
const
char
*
exname
,
const
char
*
broken_name
)
{
LPOLESTR
display_name
;
DWORD
mksys
;
...
...
@@ -186,7 +186,8 @@ static void test_mon_displayname(IMoniker *mon, const char *exname)
hres
=
IMoniker_GetDisplayName
(
mon
,
NULL
,
NULL
,
&
display_name
);
ok
(
hres
==
S_OK
,
"GetDisplayName failed: %08x
\n
"
,
hres
);
ok
(
!
strcmp_wa
(
display_name
,
exname
),
"display_name = %s
\n
"
,
wine_dbgstr_w
(
display_name
));
ok
(
!
strcmp_wa
(
display_name
,
exname
)
||
broken
(
broken_name
&&
!
strcmp_wa
(
display_name
,
broken_name
)),
"display_name = %s
\n
"
,
wine_dbgstr_w
(
display_name
));
CoTaskMemFree
(
display_name
);
hres
=
IMoniker_IsSystemMoniker
(
mon
,
&
mksys
);
...
...
@@ -486,7 +487,7 @@ static HRESULT WINAPI PersistPropertyBag_Load(IPersistPropertyBag *face, IProper
hres
=
IBindHost_CreateMoniker
(
bind_host
,
test_swfW
,
NULL
,
&
mon
,
0
);
ok
(
hres
==
S_OK
,
"CreateMoniker failed: %08x
\n
"
,
hres
);
ok
(
mon
!=
NULL
,
"mon == NULL
\n
"
);
test_mon_displayname
(
mon
,
"about:test.swf"
);
test_mon_displayname
(
mon
,
"about:test.swf"
,
"about:blanktest.swf"
);
IMoniker_Release
(
mon
);
IBindHost_Release
(
bind_host
);
...
...
@@ -495,7 +496,7 @@ static HRESULT WINAPI PersistPropertyBag_Load(IPersistPropertyBag *face, IProper
hres
=
IOleClientSite_GetMoniker
(
client_site
,
OLEGETMONIKER_ONLYIFTHERE
,
OLEWHICHMK_CONTAINER
,
&
mon
);
ok
(
hres
==
S_OK
,
"GetMoniker failed: %08x
\n
"
,
hres
);
ok
(
mon
!=
NULL
,
"mon == NULL
\n
"
);
test_mon_displayname
(
mon
,
"about:blank"
);
test_mon_displayname
(
mon
,
"about:blank"
,
NULL
);
IMoniker_Release
(
mon
);
set_plugin_readystate
(
READYSTATE_COMPLETE
);
...
...
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