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
6f8bb325
Commit
6f8bb325
authored
Oct 26, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 26, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: More IE7 test fixes.
parent
fe04ba0a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
7 deletions
+29
-7
olecmd.c
dlls/mshtml/olecmd.c
+8
-1
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+21
-6
No files found.
dlls/mshtml/olecmd.c
View file @
6f8bb325
...
...
@@ -401,6 +401,12 @@ static HRESULT exec_stop_download(HTMLDocument *This, DWORD nCmdexecopt, VARIANT
return
E_NOTIMPL
;
}
static
HRESULT
exec_find
(
HTMLDocument
*
This
,
DWORD
nCmdexecopt
,
VARIANT
*
pvaIn
,
VARIANT
*
pvaOut
)
{
FIXME
(
"(%p)->(%d %p %p)
\n
"
,
This
,
nCmdexecopt
,
pvaIn
,
pvaOut
);
return
E_NOTIMPL
;
}
static
HRESULT
exec_delete
(
HTMLDocument
*
This
,
DWORD
nCmdexecopt
,
VARIANT
*
pvaIn
,
VARIANT
*
pvaOut
)
{
FIXME
(
"(%p)->(%d %p %p)
\n
"
,
This
,
nCmdexecopt
,
pvaIn
,
pvaOut
);
...
...
@@ -689,7 +695,8 @@ static const struct {
{
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
,
exec_stop
},
/* OLECMDID_STOP */
{
0
},{
0
},{
0
},{
0
},{
0
},{
0
},
{
OLECMDF_SUPPORTED
,
exec_stop_download
},
/* OLECMDID_STOPDOWNLOAD */
{
0
},{
0
},
{
0
},
{
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
,
exec_find
},
/* OLECMDID_FIND */
{
OLECMDF_SUPPORTED
,
exec_delete
},
/* OLECMDID_DELETE */
{
0
},{
0
},
{
OLECMDF_SUPPORTED
,
exec_enable_interaction
},
/* OLECMDID_ENABLE_INTERACTION */
...
...
dlls/mshtml/tests/htmldoc.c
View file @
6f8bb325
...
...
@@ -114,6 +114,8 @@ DEFINE_EXPECT(OnChanged_READYSTATE);
DEFINE_EXPECT
(
OnChanged_1005
);
DEFINE_EXPECT
(
GetDisplayName
);
DEFINE_EXPECT
(
BindToStorage
);
DEFINE_EXPECT
(
IsSystemMoniker
);
DEFINE_EXPECT
(
GetBindResult
);
DEFINE_EXPECT
(
Abort
);
DEFINE_EXPECT
(
Read
);
DEFINE_EXPECT
(
CreateInstance
);
...
...
@@ -213,7 +215,14 @@ static void test_timer(DWORD flags)
static
HRESULT
WINAPI
External_QueryInterface
(
IDispatch
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
ok
(
0
,
"unexpected call
\n
"
);
*
ppv
=
NULL
;
if
(
IsEqualGUID
(
&
IID_IUnknown
,
riid
)
||
IsEqualGUID
(
&
IID_IDispatch
,
riid
))
{
*
ppv
=
iface
;
return
S_OK
;
}
ok
(
0
,
"unexpected riid: %s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
}
...
...
@@ -811,7 +820,7 @@ static HRESULT WINAPI Binding_GetPriority(IBinding *iface, LONG *pnPriority)
static
HRESULT
WINAPI
Binding_GetBindResult
(
IBinding
*
iface
,
CLSID
*
pclsidProtocol
,
DWORD
*
pdwResult
,
LPOLESTR
*
pszResult
,
DWORD
*
pdwReserved
)
{
ok
(
0
,
"unexpected call
\n
"
);
CHECK_EXPECT
(
GetBindResult
);
return
E_NOTIMPL
;
}
...
...
@@ -831,7 +840,8 @@ static IBinding Binding = { &BindingVtbl };
static
HRESULT
WINAPI
Moniker_QueryInterface
(
IMoniker
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
ok
(
0
,
"unexpected call
\n
"
);
*
ppv
=
NULL
;
ok
(
0
,
"unexpected riid: %s
\n
"
,
debugstr_guid
(
riid
));
return
E_NOINTERFACE
;
}
...
...
@@ -1052,7 +1062,7 @@ static HRESULT WINAPI Moniker_ParseDisplayName(IMoniker *iface, IBindCtx *pbc,
static
HRESULT
WINAPI
Moniker_IsSystemMoniker
(
IMoniker
*
iface
,
DWORD
*
pdwMksys
)
{
ok
(
0
,
"unexpected call
\n
"
);
CHECK_EXPECT
(
IsSystemMoniker
);
return
E_NOTIMPL
;
}
...
...
@@ -2137,7 +2147,7 @@ static HRESULT WINAPI OleCommandTarget_Exec(IOleCommandTarget *iface, const GUID
if
(
IsEqualGUID
(
&
CGID_DocHostCmdPriv
,
pguidCmdGroup
))
return
E_FAIL
;
/* TODO */
ok
(
0
,
"unexpected
call
\n
"
);
ok
(
0
,
"unexpected
pguidCmdGroup: %s
\n
"
,
debugstr_guid
(
pguidCmdGroup
)
);
return
E_NOTIMPL
;
}
...
...
@@ -2795,10 +2805,15 @@ static void test_OleCommandTarget(IUnknown *unk)
for
(
i
=
0
;
i
<
OLECMDID_GETPRINTTEMPLATE
;
i
++
)
{
ok
(
cmds
[
i
].
cmdID
==
i
+
1
,
"cmds[%d].cmdID canged to %x
\n
"
,
i
,
cmds
[
i
].
cmdID
);
if
(
i
+
1
==
OLECMDID_FIND
)
continue
;
ok
(
cmds
[
i
].
cmdf
==
expect_cmds
[
i
+
1
],
"cmds[%d].cmdf=%x, expected %x
\n
"
,
i
+
1
,
cmds
[
i
].
cmdf
,
expect_cmds
[
i
+
1
]);
}
ok
(
!
cmds
[
OLECMDID_FIND
-
1
].
cmdf
||
cmds
[
OLECMDID_FIND
-
1
].
cmdf
==
(
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
),
"cmds[OLECMDID_FIND].cmdf=%x
\n
"
,
cmds
[
OLECMDID_FIND
-
1
].
cmdf
);
IOleCommandTarget_Release
(
cmdtrg
);
}
...
...
@@ -3492,7 +3507,7 @@ static void test_external(IUnknown *unk, BOOL initialized)
external
=
(
void
*
)
0xdeadbeef
;
hres
=
IHTMLWindow2_get_external
(
htmlwin
,
&
external
);
if
(
initialized
)
{
ok
(
hres
==
S_FALSE
,
"get_external failed: %08x
\n
"
,
hres
);
ok
(
hres
==
S_FALSE
||
hres
==
S_OK
,
"get_external failed: %08x
\n
"
,
hres
);
CHECK_CALLED
(
GetExternal
);
ok
(
external
!=
NULL
,
"external == NULL
\n
"
);
}
else
{
...
...
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