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
4257a14f
Commit
4257a14f
authored
Mar 28, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Add IHTMLDOMNode3::get_namespaceURI implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7858cc01
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
htmlnode.c
dlls/mshtml/htmlnode.c
+8
-2
elements.js
dlls/mshtml/tests/elements.js
+4
-0
No files found.
dlls/mshtml/htmlnode.c
View file @
4257a14f
...
...
@@ -1227,8 +1227,14 @@ static HRESULT WINAPI HTMLDOMNode3_get_localName(IHTMLDOMNode3 *iface, VARIANT *
static
HRESULT
WINAPI
HTMLDOMNode3_get_namespaceURI
(
IHTMLDOMNode3
*
iface
,
VARIANT
*
p
)
{
HTMLDOMNode
*
This
=
impl_from_IHTMLDOMNode3
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsAString
nsstr
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
nsAString_InitDepend
(
&
nsstr
,
NULL
);
nsres
=
nsIDOMNode_GetNamespaceURI
(
This
->
nsnode
,
&
nsstr
);
return
return_nsstr_variant
(
nsres
,
&
nsstr
,
p
);
}
static
HRESULT
WINAPI
HTMLDOMNode3_put_textContent
(
IHTMLDOMNode3
*
iface
,
VARIANT
v
)
...
...
dlls/mshtml/tests/elements.js
View file @
4257a14f
...
...
@@ -174,15 +174,19 @@ function test_createElementNS() {
elem
=
document
.
createElementNS
(
null
,
"test"
);
ok
(
elem
.
tagName
===
"test"
,
"elem.tagName = "
+
elem
.
tagName
);
ok
(
elem
.
namespaceURI
===
null
,
"elem.namespaceURI = "
+
elem
.
namespaceURI
);
elem
=
document
.
createElementNS
(
svg_ns
,
"test"
);
ok
(
elem
.
tagName
===
"test"
,
"elem.tagName = "
+
elem
.
tagName
);
ok
(
elem
.
namespaceURI
===
svg_ns
,
"elem.namespaceURI = "
+
elem
.
namespaceURI
);
elem
=
document
.
createElementNS
(
svg_ns
,
"svg"
);
ok
(
elem
.
tagName
===
"svg"
,
"elem.tagName = "
+
elem
.
tagName
);
ok
(
elem
.
namespaceURI
===
svg_ns
,
"elem.namespaceURI = "
+
elem
.
namespaceURI
);
elem
=
document
.
createElementNS
(
"test"
,
"svg"
);
ok
(
elem
.
tagName
===
"svg"
,
"elem.tagName = "
+
elem
.
tagName
);
ok
(
elem
.
namespaceURI
===
"test"
,
"elem.namespaceURI = "
+
elem
.
namespaceURI
);
next_test
();
}
...
...
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