Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0216974a
Commit
0216974a
authored
Feb 11, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added tests showing that we should return E_NOTIMPL in DeleteMemberByName.
parent
6e116f52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
dispex.c
dlls/mshtml/dispex.c
+4
-1
script.c
dlls/mshtml/tests/script.c
+9
-0
No files found.
dlls/mshtml/dispex.c
View file @
0216974a
...
...
@@ -983,7 +983,10 @@ static HRESULT WINAPI DispatchEx_InvokeEx(IDispatchEx *iface, DISPID id, LCID lc
static
HRESULT
WINAPI
DispatchEx_DeleteMemberByName
(
IDispatchEx
*
iface
,
BSTR
bstrName
,
DWORD
grfdex
)
{
DispatchEx
*
This
=
DISPATCHEX_THIS
(
iface
);
FIXME
(
"(%p)->(%s %x)
\n
"
,
This
,
debugstr_w
(
bstrName
),
grfdex
);
TRACE
(
"(%p)->(%s %x)
\n
"
,
This
,
debugstr_w
(
bstrName
),
grfdex
);
/* Not implemented by IE */
return
E_NOTIMPL
;
}
...
...
dlls/mshtml/tests/script.c
View file @
0216974a
...
...
@@ -1803,6 +1803,11 @@ static HRESULT WINAPI ActiveScriptParse_ParseScriptText(IActiveScriptParse *ifac
test_func
(
dispex
);
test_nextdispid
(
dispex
);
tmp
=
a2bstr
(
"test"
);
hres
=
IDispatchEx_DeleteMemberByName
(
dispex
,
tmp
,
fdexNameCaseSensitive
);
ok
(
hres
==
E_NOTIMPL
,
"DeleteMemberByName failed: %08x
\n
"
,
hres
);
IDispatchEx_Release
(
dispex
);
script_disp
=
(
IDispatch
*
)
&
scriptDisp
;
...
...
@@ -1843,6 +1848,10 @@ static HRESULT WINAPI ActiveScriptParse_ParseScriptText(IActiveScriptParse *ifac
CHECK_CALLED
(
script_testprop2_d
);
SysFreeString
(
tmp
);
tmp
=
a2bstr
(
"test"
);
hres
=
IDispatchEx_DeleteMemberByName
(
window_dispex
,
tmp
,
fdexNameCaseSensitive
);
ok
(
hres
==
E_NOTIMPL
,
"DeleteMemberByName failed: %08x
\n
"
,
hres
);
test_global_id
();
test_security
();
...
...
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