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
7bf41fac
Commit
7bf41fac
authored
Jan 28, 2010
by
Jacek Caban
Committed by
Alexandre Julliard
Jan 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added script element IDispatchEx support.
parent
100b7f58
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
dispex.c
dlls/mshtml/dispex.c
+2
-0
htmlscript.c
dlls/mshtml/htmlscript.c
+14
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+2
-0
dom.c
dlls/mshtml/tests/dom.c
+1
-1
No files found.
dlls/mshtml/dispex.c
View file @
7bf41fac
...
...
@@ -100,6 +100,7 @@ static REFIID tid_ids[] = {
&
DIID_DispHTMLNavigator
,
&
DIID_DispHTMLOptionElement
,
&
DIID_DispHTMLScreen
,
&
DIID_DispHTMLScriptElement
,
&
DIID_DispHTMLSelectElement
,
&
DIID_DispHTMLStyle
,
&
DIID_DispHTMLTable
,
...
...
@@ -142,6 +143,7 @@ static REFIID tid_ids[] = {
&
IID_IHTMLLocation
,
&
IID_IHTMLOptionElement
,
&
IID_IHTMLScreen
,
&
IID_IHTMLScriptElement
,
&
IID_IHTMLSelectElement
,
&
IID_IHTMLStyle
,
&
IID_IHTMLStyle2
,
...
...
dlls/mshtml/htmlscript.c
View file @
7bf41fac
...
...
@@ -319,6 +319,19 @@ static const NodeImplVtbl HTMLScriptElementImplVtbl = {
HTMLScriptElement_get_readystate
};
static
const
tid_t
HTMLScriptElement_iface_tids
[]
=
{
HTMLELEMENT_TIDS
,
IHTMLScriptElement_tid
,
0
};
static
dispex_static_data_t
HTMLScriptElement_dispex
=
{
NULL
,
DispHTMLScriptElement_tid
,
NULL
,
HTMLScriptElement_iface_tids
};
HTMLElement
*
HTMLScriptElement_Create
(
HTMLDocumentNode
*
doc
,
nsIDOMHTMLElement
*
nselem
)
{
HTMLScriptElement
*
ret
=
heap_alloc_zero
(
sizeof
(
HTMLScriptElement
));
...
...
@@ -327,7 +340,7 @@ HTMLElement *HTMLScriptElement_Create(HTMLDocumentNode *doc, nsIDOMHTMLElement *
ret
->
lpHTMLScriptElementVtbl
=
&
HTMLScriptElementVtbl
;
ret
->
element
.
node
.
vtbl
=
&
HTMLScriptElementImplVtbl
;
HTMLElement_Init
(
&
ret
->
element
,
doc
,
nselem
,
NULL
);
HTMLElement_Init
(
&
ret
->
element
,
doc
,
nselem
,
&
HTMLScriptElement_dispex
);
nsres
=
nsIDOMHTMLElement_QueryInterface
(
nselem
,
&
IID_nsIDOMHTMLScriptElement
,
(
void
**
)
&
ret
->
nsscript
);
if
(
NS_FAILED
(
nsres
))
...
...
dlls/mshtml/mshtml_private.h
View file @
7bf41fac
...
...
@@ -76,6 +76,7 @@ typedef enum {
DispHTMLNavigator_tid
,
DispHTMLOptionElement_tid
,
DispHTMLScreen_tid
,
DispHTMLScriptElement_tid
,
DispHTMLSelectElement_tid
,
DispHTMLStyle_tid
,
DispHTMLTable_tid
,
...
...
@@ -118,6 +119,7 @@ typedef enum {
IHTMLLocation_tid
,
IHTMLOptionElement_tid
,
IHTMLScreen_tid
,
IHTMLScriptElement_tid
,
IHTMLSelectElement_tid
,
IHTMLStyle_tid
,
IHTMLStyle2_tid
,
...
...
dlls/mshtml/tests/dom.c
View file @
7bf41fac
...
...
@@ -412,7 +412,7 @@ static const elem_type_info_t elem_type_infos[] = {
{
"BR"
,
elem_iids
,
NULL
},
{
"TABLE"
,
table_iids
,
&
DIID_DispHTMLTable
},
{
"TBODY"
,
elem_iids
,
NULL
},
{
"SCRIPT"
,
script_iids
,
NULL
},
{
"SCRIPT"
,
script_iids
,
&
DIID_DispHTMLScriptElement
},
{
"TEST"
,
elem_iids
,
&
DIID_DispHTMLUnknownElement
},
{
"TEST"
,
generic_iids
,
&
DIID_DispHTMLGenericElement
},
{
"!"
,
comment_iids
,
&
DIID_DispHTMLCommentElement
},
...
...
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