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
a3ba3ac4
Commit
a3ba3ac4
authored
Sep 13, 2017
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Forward IHTMLElement6::get_tagName to IHTMLElement implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d2607433
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
htmlelem.c
dlls/mshtml/htmlelem.c
+4
-2
dom.c
dlls/mshtml/tests/dom.c
+13
-2
No files found.
dlls/mshtml/htmlelem.c
View file @
a3ba3ac4
...
...
@@ -4092,8 +4092,10 @@ static HRESULT WINAPI HTMLElement6_getElementsByTagNameNS(IHTMLElement6 *iface,
static
HRESULT
WINAPI
HTMLElement6_get_tagName
(
IHTMLElement6
*
iface
,
BSTR
*
p
)
{
HTMLElement
*
This
=
impl_from_IHTMLElement6
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
IHTMLElement_get_tagName
(
&
This
->
IHTMLElement_iface
,
p
);
}
static
HRESULT
WINAPI
HTMLElement6_get_nodeName
(
IHTMLElement6
*
iface
,
BSTR
*
p
)
...
...
dlls/mshtml/tests/dom.c
View file @
a3ba3ac4
...
...
@@ -1168,15 +1168,26 @@ static IHTMLDOMNode *_clone_node(unsigned line, IUnknown *unk, VARIANT_BOOL deep
static
void
_test_elem_tag
(
unsigned
line
,
IUnknown
*
unk
,
const
char
*
extag
)
{
IHTMLElement
*
elem
=
_get_elem_iface
(
line
,
unk
);
IHTMLElement6
*
elem6
;
BSTR
tag
;
HRESULT
hres
;
hres
=
IHTMLElement_get_tagName
(
elem
,
&
tag
);
IHTMLElement_Release
(
elem
);
ok_
(
__FILE__
,
line
)
(
hres
==
S_OK
,
"get_tagName failed: %08x
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)
(
!
strcmp_wa
(
tag
,
extag
),
"got tag: %s, expected %s
\n
"
,
wine_dbgstr_w
(
tag
),
extag
);
SysFreeString
(
tag
);
hres
=
IHTMLElement_QueryInterface
(
elem
,
&
IID_IHTMLElement6
,
(
void
**
)
&
elem6
);
if
(
SUCCEEDED
(
hres
))
{
hres
=
IHTMLElement6_get_tagName
(
elem6
,
&
tag
);
ok_
(
__FILE__
,
line
)(
hres
==
S_OK
,
"(elem6) get_tagName failed: %08x
\n
"
,
hres
);
ok_
(
__FILE__
,
line
)(
!
strcmp_wa
(
tag
,
extag
),
"(elem6) got tag: %s, expected %s
\n
"
,
wine_dbgstr_w
(
tag
),
extag
);
SysFreeString
(
tag
);
IHTMLElement6_Release
(
elem6
);
}
IHTMLElement_Release
(
elem
);
}
#define test_elem_type(ifc,t) _test_elem_type(__LINE__,ifc,t)
...
...
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