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
144b30d9
Commit
144b30d9
authored
Jul 29, 2022
by
Gabriel Ivăncescu
Committed by
Alexandre Julliard
Jul 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Implement DocumentType node's name prop.
Signed-off-by:
Gabriel Ivăncescu
<
gabrielopcode@gmail.com
>
parent
d07c8115
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
htmldoc.c
dlls/mshtml/htmldoc.c
+6
-2
documentmode.js
dlls/mshtml/tests/documentmode.js
+2
-0
No files found.
dlls/mshtml/htmldoc.c
View file @
144b30d9
...
...
@@ -212,10 +212,14 @@ static HRESULT WINAPI DocumentType_Invoke(IDOMDocumentType *iface, DISPID dispId
static
HRESULT
WINAPI
DocumentType_get_name
(
IDOMDocumentType
*
iface
,
BSTR
*
p
)
{
DocumentType
*
This
=
impl_from_IDOMDocumentType
(
iface
);
nsAString
nsstr
;
nsresult
nsres
;
FIXM
E
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRAC
E
(
"(%p)->(%p)
\n
"
,
This
,
p
);
return
E_NOTIMPL
;
nsAString_Init
(
&
nsstr
,
NULL
);
nsres
=
nsIDOMDocumentType_GetName
((
nsIDOMDocumentType
*
)
This
->
node
.
nsnode
,
&
nsstr
);
return
return_nsstr
(
nsres
,
&
nsstr
,
p
);
}
static
HRESULT
WINAPI
DocumentType_get_entities
(
IDOMDocumentType
*
iface
,
IDispatch
**
p
)
...
...
dlls/mshtml/tests/documentmode.js
View file @
144b30d9
...
...
@@ -670,6 +670,8 @@ sync_test("doctype", function() {
ok
(
doctype
===
null
,
"doctype = "
+
document
.
doctype
);
return
;
}
ok
(
doctype
.
name
===
"html"
,
"doctype.name = "
+
doctype
.
name
);
});
async_test
(
"iframe_doc_mode"
,
function
()
{
...
...
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