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
2e5f73e4
Commit
2e5f73e4
authored
Nov 09, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 09, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Wine Gecko 1.4 release.
parent
8a6a1570
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
318 additions
and
252 deletions
+318
-252
addons.c
dlls/appwiz.cpl/addons.c
+3
-3
editor.c
dlls/mshtml/editor.c
+1
-11
htmldoc.c
dlls/mshtml/htmldoc.c
+11
-26
htmldoc3.c
dlls/mshtml/htmldoc3.c
+3
-13
htmldoc5.c
dlls/mshtml/htmldoc5.c
+1
-10
htmlimg.c
dlls/mshtml/htmlimg.c
+2
-2
htmlwindow.c
dlls/mshtml/htmlwindow.c
+5
-12
nsevents.c
dlls/mshtml/nsevents.c
+1
-1
nsiface.idl
dlls/mshtml/nsiface.idl
+269
-170
nsio.c
dlls/mshtml/nsio.c
+22
-4
No files found.
dlls/appwiz.cpl/addons.c
View file @
2e5f73e4
...
@@ -51,14 +51,14 @@
...
@@ -51,14 +51,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
appwizcpl
);
WINE_DEFAULT_DEBUG_CHANNEL
(
appwizcpl
);
#define GECKO_VERSION "1.
3
"
#define GECKO_VERSION "1.
4
"
#ifdef __i386__
#ifdef __i386__
#define ARCH_STRING "x86"
#define ARCH_STRING "x86"
#define GECKO_SHA "
acc6a5bc15ebb3574e00f8ef4f23912239658b41
"
#define GECKO_SHA "
c30aa99621e98336eb4b7e2074118b8af8ea2ad5
"
#elif defined(__x86_64__)
#elif defined(__x86_64__)
#define ARCH_STRING "x86_64"
#define ARCH_STRING "x86_64"
#define GECKO_SHA "
5bcf29c48677dffa7a9112d481f7f5474cd255d4
"
#define GECKO_SHA "
bf0aaf56a8cf9abd75be02b56b05e5c4e9a4df93
"
#else
#else
#define ARCH_STRING ""
#define ARCH_STRING ""
#define GECKO_SHA "???"
#define GECKO_SHA "???"
...
...
dlls/mshtml/editor.c
View file @
2e5f73e4
...
@@ -182,7 +182,6 @@ static void set_ns_align(HTMLDocument *This, const char *align_str)
...
@@ -182,7 +182,6 @@ static void set_ns_align(HTMLDocument *This, const char *align_str)
static
DWORD
query_align_status
(
HTMLDocument
*
This
,
const
WCHAR
*
align
)
static
DWORD
query_align_status
(
HTMLDocument
*
This
,
const
WCHAR
*
align
)
{
{
DWORD
ret
=
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
;
DWORD
ret
=
OLECMDF_SUPPORTED
|
OLECMDF_ENABLED
;
nsIDOMNSHTMLDocument
*
nsdoc
;
nsAString
justify_str
;
nsAString
justify_str
;
PRBool
b
;
PRBool
b
;
nsresult
nsres
;
nsresult
nsres
;
...
@@ -190,21 +189,12 @@ static DWORD query_align_status(HTMLDocument *This, const WCHAR *align)
...
@@ -190,21 +189,12 @@ static DWORD query_align_status(HTMLDocument *This, const WCHAR *align)
if
(
This
->
doc_obj
->
usermode
!=
EDITMODE
||
This
->
window
->
readystate
<
READYSTATE_INTERACTIVE
)
if
(
This
->
doc_obj
->
usermode
!=
EDITMODE
||
This
->
window
->
readystate
<
READYSTATE_INTERACTIVE
)
return
OLECMDF_SUPPORTED
;
return
OLECMDF_SUPPORTED
;
nsres
=
nsIDOMHTMLDocument_QueryInterface
(
This
->
doc_node
->
nsdoc
,
&
IID_nsIDOMNSHTMLDocument
,
(
void
**
)
&
nsdoc
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Could not get nsIDOMNSHTMLDocument iface: %08x
\n
"
,
nsres
);
return
0
;
}
nsAString_Init
(
&
justify_str
,
align
);
nsAString_Init
(
&
justify_str
,
align
);
nsres
=
nsIDOM
NSHTMLDocument_QueryCommandState
(
nsdoc
,
&
justify_str
,
&
b
);
nsres
=
nsIDOM
HTMLDocument_QueryCommandState
(
This
->
doc_node
->
nsdoc
,
&
justify_str
,
&
b
);
nsAString_Finish
(
&
justify_str
);
nsAString_Finish
(
&
justify_str
);
if
(
NS_SUCCEEDED
(
nsres
)
&&
b
)
if
(
NS_SUCCEEDED
(
nsres
)
&&
b
)
ret
|=
OLECMDF_LATCHED
;
ret
|=
OLECMDF_LATCHED
;
nsIDOMNSHTMLDocument_Release
(
nsdoc
);
return
ret
;
return
ret
;
}
}
...
...
dlls/mshtml/htmldoc.c
View file @
2e5f73e4
...
@@ -813,9 +813,9 @@ static HRESULT document_write(HTMLDocument *This, SAFEARRAY *psarray, BOOL ln)
...
@@ -813,9 +813,9 @@ static HRESULT document_write(HTMLDocument *This, SAFEARRAY *psarray, BOOL ln)
if
(
V_VT
(
var
+
i
)
==
VT_BSTR
)
{
if
(
V_VT
(
var
+
i
)
==
VT_BSTR
)
{
nsAString_SetData
(
&
nsstr
,
V_BSTR
(
var
+
i
));
nsAString_SetData
(
&
nsstr
,
V_BSTR
(
var
+
i
));
if
(
!
ln
||
i
!=
argc
-
1
)
if
(
!
ln
||
i
!=
argc
-
1
)
nsres
=
nsIDOMHTMLDocument_Write
(
This
->
doc_node
->
nsdoc
,
&
nsstr
);
nsres
=
nsIDOMHTMLDocument_Write
(
This
->
doc_node
->
nsdoc
,
&
nsstr
,
NULL
/* FIXME! */
);
else
else
nsres
=
nsIDOMHTMLDocument_Writeln
(
This
->
doc_node
->
nsdoc
,
&
nsstr
);
nsres
=
nsIDOMHTMLDocument_Writeln
(
This
->
doc_node
->
nsdoc
,
&
nsstr
,
NULL
/* FIXME! */
);
if
(
NS_FAILED
(
nsres
))
if
(
NS_FAILED
(
nsres
))
ERR
(
"Write failed: %08x
\n
"
,
nsres
);
ERR
(
"Write failed: %08x
\n
"
,
nsres
);
}
else
{
}
else
{
...
@@ -851,6 +851,7 @@ static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT
...
@@ -851,6 +851,7 @@ static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT
VARIANT
features
,
VARIANT
replace
,
IDispatch
**
pomWindowResult
)
VARIANT
features
,
VARIANT
replace
,
IDispatch
**
pomWindowResult
)
{
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
nsISupports
*
tmp
;
nsresult
nsres
;
nsresult
nsres
;
static
const
WCHAR
text_htmlW
[]
=
{
't'
,
'e'
,
'x'
,
't'
,
'/'
,
'h'
,
't'
,
'm'
,
'l'
,
0
};
static
const
WCHAR
text_htmlW
[]
=
{
't'
,
'e'
,
'x'
,
't'
,
'/'
,
'h'
,
't'
,
'm'
,
'l'
,
0
};
...
@@ -867,12 +868,15 @@ static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT
...
@@ -867,12 +868,15 @@ static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT
||
V_VT
(
&
features
)
!=
VT_ERROR
||
V_VT
(
&
replace
)
!=
VT_ERROR
)
||
V_VT
(
&
features
)
!=
VT_ERROR
||
V_VT
(
&
replace
)
!=
VT_ERROR
)
FIXME
(
"unsupported args
\n
"
);
FIXME
(
"unsupported args
\n
"
);
nsres
=
nsIDOMHTMLDocument_Open
(
This
->
doc_node
->
nsdoc
);
nsres
=
nsIDOMHTMLDocument_Open
(
This
->
doc_node
->
nsdoc
,
NULL
,
NULL
,
NULL
,
NULL
,
0
,
&
tmp
);
if
(
NS_FAILED
(
nsres
))
{
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Open failed: %08x
\n
"
,
nsres
);
ERR
(
"Open failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
return
E_FAIL
;
}
}
if
(
tmp
)
nsISupports_Release
(
tmp
);
*
pomWindowResult
=
(
IDispatch
*
)
&
This
->
window
->
IHTMLWindow2_iface
;
*
pomWindowResult
=
(
IDispatch
*
)
&
This
->
window
->
IHTMLWindow2_iface
;
IHTMLWindow2_AddRef
(
&
This
->
window
->
IHTMLWindow2_iface
);
IHTMLWindow2_AddRef
(
&
This
->
window
->
IHTMLWindow2_iface
);
return
S_OK
;
return
S_OK
;
...
@@ -902,19 +906,11 @@ static HRESULT WINAPI HTMLDocument_close(IHTMLDocument2 *iface)
...
@@ -902,19 +906,11 @@ static HRESULT WINAPI HTMLDocument_close(IHTMLDocument2 *iface)
static
HRESULT
WINAPI
HTMLDocument_clear
(
IHTMLDocument2
*
iface
)
static
HRESULT
WINAPI
HTMLDocument_clear
(
IHTMLDocument2
*
iface
)
{
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
nsIDOMNSHTMLDocument
*
nsdoc
;
nsresult
nsres
;
nsresult
nsres
;
TRACE
(
"(%p)
\n
"
,
This
);
TRACE
(
"(%p)
\n
"
,
This
);
nsres
=
nsIDOMHTMLDocument_QueryInterface
(
This
->
doc_node
->
nsdoc
,
&
IID_nsIDOMNSHTMLDocument
,
(
void
**
)
&
nsdoc
);
nsres
=
nsIDOMHTMLDocument_Clear
(
This
->
doc_node
->
nsdoc
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Could not get nsIDOMNSHTMLDocument iface: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
nsres
=
nsIDOMNSHTMLDocument_Clear
(
nsdoc
);
nsIDOMNSHTMLDocument_Release
(
nsdoc
);
if
(
NS_FAILED
(
nsres
))
{
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Clear failed: %08x
\n
"
,
nsres
);
ERR
(
"Clear failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
return
E_FAIL
;
...
@@ -1297,7 +1293,6 @@ static HRESULT WINAPI HTMLDocument_elementFromPoint(IHTMLDocument2 *iface, LONG
...
@@ -1297,7 +1293,6 @@ static HRESULT WINAPI HTMLDocument_elementFromPoint(IHTMLDocument2 *iface, LONG
IHTMLElement
**
elementHit
)
IHTMLElement
**
elementHit
)
{
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
nsIDOMNSDocument
*
nsdoc
;
nsIDOMElement
*
nselem
;
nsIDOMElement
*
nselem
;
HTMLDOMNode
*
node
;
HTMLDOMNode
*
node
;
nsresult
nsres
;
nsresult
nsres
;
...
@@ -1305,14 +1300,7 @@ static HRESULT WINAPI HTMLDocument_elementFromPoint(IHTMLDocument2 *iface, LONG
...
@@ -1305,14 +1300,7 @@ static HRESULT WINAPI HTMLDocument_elementFromPoint(IHTMLDocument2 *iface, LONG
TRACE
(
"(%p)->(%d %d %p)
\n
"
,
This
,
x
,
y
,
elementHit
);
TRACE
(
"(%p)->(%d %d %p)
\n
"
,
This
,
x
,
y
,
elementHit
);
nsres
=
nsIDOMHTMLDocument_QueryInterface
(
This
->
doc_node
->
nsdoc
,
&
IID_nsIDOMNSDocument
,
(
void
**
)
&
nsdoc
);
nsres
=
nsIDOMHTMLDocument_ElementFromPoint
(
This
->
doc_node
->
nsdoc
,
x
,
y
,
&
nselem
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Could not get nsIDOMNSDocument iface: %08x
\n
"
,
nsres
);
return
E_FAIL
;
}
nsres
=
nsIDOMNSDocument_ElementFromPoint
(
nsdoc
,
x
,
y
,
&
nselem
);
nsIDOMNSDocument_Release
(
nsdoc
);
if
(
NS_FAILED
(
nsres
))
{
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"ElementFromPoint failed: %08x
\n
"
,
nsres
);
ERR
(
"ElementFromPoint failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
return
E_FAIL
;
...
@@ -1347,7 +1335,6 @@ static HRESULT WINAPI HTMLDocument_get_styleSheets(IHTMLDocument2 *iface,
...
@@ -1347,7 +1335,6 @@ static HRESULT WINAPI HTMLDocument_get_styleSheets(IHTMLDocument2 *iface,
{
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
HTMLDocument
*
This
=
impl_from_IHTMLDocument2
(
iface
);
nsIDOMStyleSheetList
*
nsstylelist
;
nsIDOMStyleSheetList
*
nsstylelist
;
nsIDOMDocumentStyle
*
nsdocstyle
;
nsresult
nsres
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
@@ -1359,16 +1346,14 @@ static HRESULT WINAPI HTMLDocument_get_styleSheets(IHTMLDocument2 *iface,
...
@@ -1359,16 +1346,14 @@ static HRESULT WINAPI HTMLDocument_get_styleSheets(IHTMLDocument2 *iface,
return
E_UNEXPECTED
;
return
E_UNEXPECTED
;
}
}
nsIDOMHTMLDocument_QueryInterface
(
This
->
doc_node
->
nsdoc
,
&
IID_nsIDOMDocumentStyle
,
(
void
**
)
&
nsdocstyle
);
nsres
=
nsIDOMHTMLDocument_GetStyleSheets
(
This
->
doc_node
->
nsdoc
,
&
nsstylelist
);
nsres
=
nsIDOMDocumentStyle_GetStyleSheets
(
nsdocstyle
,
&
nsstylelist
);
nsIDOMDocumentStyle_Release
(
nsdocstyle
);
if
(
NS_FAILED
(
nsres
))
{
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"GetStyleSheets failed: %08x
\n
"
,
nsres
);
ERR
(
"GetStyleSheets failed: %08x
\n
"
,
nsres
);
return
E_FAIL
;
return
E_FAIL
;
}
}
*
p
=
HTMLStyleSheetsCollection_Create
(
nsstylelist
);
*
p
=
HTMLStyleSheetsCollection_Create
(
nsstylelist
);
nsIDOM
DocumentStyle
_Release
(
nsstylelist
);
nsIDOM
StyleSheetList
_Release
(
nsstylelist
);
return
S_OK
;
return
S_OK
;
}
}
...
...
dlls/mshtml/htmldoc3.c
View file @
2e5f73e4
...
@@ -507,28 +507,18 @@ static HRESULT WINAPI HTMLDocument3_getElementById(IHTMLDocument3 *iface, BSTR v
...
@@ -507,28 +507,18 @@ static HRESULT WINAPI HTMLDocument3_getElementById(IHTMLDocument3 *iface, BSTR v
if
(
nsnode_by_name
&&
nsnode_by_id
)
{
if
(
nsnode_by_name
&&
nsnode_by_id
)
{
nsIDOM3Node
*
node3
;
PRUint16
pos
;
PRUint16
pos
;
nsres
=
nsIDOMNode_
QueryInterface
(
nsnode_by_name
,
&
IID_nsIDOM3Node
,
(
void
**
)
&
node3
);
nsres
=
nsIDOMNode_
CompareDocumentPosition
(
nsnode_by_name
,
nsnode_by_id
,
&
pos
);
if
(
NS_FAILED
(
nsres
))
{
if
(
NS_FAILED
(
nsres
))
{
FIXME
(
"failed to get nsIDOM3Node interface: 0x%08x
\n
"
,
nsres
);
FIXME
(
"CompareDocumentPosition failed: 0x%08x
\n
"
,
nsres
);
nsIDOMNode_Release
(
nsnode_by_name
);
nsIDOMNode_Release
(
nsnode_by_id
);
return
E_FAIL
;
}
nsres
=
nsIDOM3Node_CompareDocumentPosition
(
node3
,
nsnode_by_id
,
&
pos
);
nsIDOM3Node_Release
(
node3
);
if
(
NS_FAILED
(
nsres
))
{
FIXME
(
"nsIDOM3Node_CompareDocumentPosition failed: 0x%08x
\n
"
,
nsres
);
nsIDOMNode_Release
(
nsnode_by_name
);
nsIDOMNode_Release
(
nsnode_by_name
);
nsIDOMNode_Release
(
nsnode_by_id
);
nsIDOMNode_Release
(
nsnode_by_id
);
return
E_FAIL
;
return
E_FAIL
;
}
}
TRACE
(
"CompareDocumentPosition gave: 0x%x
\n
"
,
pos
);
TRACE
(
"CompareDocumentPosition gave: 0x%x
\n
"
,
pos
);
if
(
pos
&
PRECEDING
||
pos
&
CONTAINS
)
{
if
(
pos
&
(
DOCUMENT_POSITION_PRECEDING
|
DOCUMENT_POSITION_CONTAINS
)
)
{
nsnode
=
nsnode_by_id
;
nsnode
=
nsnode_by_id
;
nsIDOMNode_Release
(
nsnode_by_name
);
nsIDOMNode_Release
(
nsnode_by_name
);
}
else
{
}
else
{
...
...
dlls/mshtml/htmldoc5.c
View file @
2e5f73e4
...
@@ -246,10 +246,8 @@ static HRESULT WINAPI HTMLDocument5_get_onbeforedeactivate(IHTMLDocument5 *iface
...
@@ -246,10 +246,8 @@ static HRESULT WINAPI HTMLDocument5_get_onbeforedeactivate(IHTMLDocument5 *iface
static
HRESULT
WINAPI
HTMLDocument5_get_compatMode
(
IHTMLDocument5
*
iface
,
BSTR
*
p
)
static
HRESULT
WINAPI
HTMLDocument5_get_compatMode
(
IHTMLDocument5
*
iface
,
BSTR
*
p
)
{
{
HTMLDocument
*
This
=
impl_from_IHTMLDocument5
(
iface
);
HTMLDocument
*
This
=
impl_from_IHTMLDocument5
(
iface
);
nsIDOMNSHTMLDocument
*
nshtmldoc
;
nsAString
mode_str
;
nsAString
mode_str
;
const
PRUnichar
*
mode
;
const
PRUnichar
*
mode
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
@@ -258,15 +256,8 @@ static HRESULT WINAPI HTMLDocument5_get_compatMode(IHTMLDocument5 *iface, BSTR *
...
@@ -258,15 +256,8 @@ static HRESULT WINAPI HTMLDocument5_get_compatMode(IHTMLDocument5 *iface, BSTR *
return
E_UNEXPECTED
;
return
E_UNEXPECTED
;
}
}
nsres
=
nsIDOMHTMLDocument_QueryInterface
(
This
->
doc_node
->
nsdoc
,
&
IID_nsIDOMNSHTMLDocument
,
(
void
**
)
&
nshtmldoc
);
if
(
NS_FAILED
(
nsres
))
{
ERR
(
"Could not get nsIDOMNSHTMLDocument: %08x
\n
"
,
nsres
);
return
S_OK
;
}
nsAString_Init
(
&
mode_str
,
NULL
);
nsAString_Init
(
&
mode_str
,
NULL
);
nsIDOMNSHTMLDocument_GetCompatMode
(
nshtmldoc
,
&
mode_str
);
nsIDOMHTMLDocument_GetCompatMode
(
This
->
doc_node
->
nsdoc
,
&
mode_str
);
nsIDOMNSHTMLDocument_Release
(
nshtmldoc
);
nsAString_GetData
(
&
mode_str
,
&
mode
);
nsAString_GetData
(
&
mode_str
,
&
mode
);
*
p
=
SysAllocString
(
mode
);
*
p
=
SysAllocString
(
mode
);
...
...
dlls/mshtml/htmlimg.c
View file @
2e5f73e4
...
@@ -494,7 +494,7 @@ static HRESULT WINAPI HTMLImgElement_put_width(IHTMLImgElement *iface, LONG v)
...
@@ -494,7 +494,7 @@ static HRESULT WINAPI HTMLImgElement_put_width(IHTMLImgElement *iface, LONG v)
static
HRESULT
WINAPI
HTMLImgElement_get_width
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
static
HRESULT
WINAPI
HTMLImgElement_get_width
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
{
{
HTMLImgElement
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImgElement
*
This
=
impl_from_IHTMLImgElement
(
iface
);
PR
I
nt32
width
;
PR
Ui
nt32
width
;
nsresult
nsres
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
@@ -528,7 +528,7 @@ static HRESULT WINAPI HTMLImgElement_put_height(IHTMLImgElement *iface, LONG v)
...
@@ -528,7 +528,7 @@ static HRESULT WINAPI HTMLImgElement_put_height(IHTMLImgElement *iface, LONG v)
static
HRESULT
WINAPI
HTMLImgElement_get_height
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
static
HRESULT
WINAPI
HTMLImgElement_get_height
(
IHTMLImgElement
*
iface
,
LONG
*
p
)
{
{
HTMLImgElement
*
This
=
impl_from_IHTMLImgElement
(
iface
);
HTMLImgElement
*
This
=
impl_from_IHTMLImgElement
(
iface
);
PR
I
nt32
height
;
PR
Ui
nt32
height
;
nsresult
nsres
;
nsresult
nsres
;
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
p
);
...
...
dlls/mshtml/htmlwindow.c
View file @
2e5f73e4
...
@@ -63,23 +63,16 @@ static void window_set_docnode(HTMLWindow *window, HTMLDocumentNode *doc_node)
...
@@ -63,23 +63,16 @@ static void window_set_docnode(HTMLWindow *window, HTMLDocumentNode *doc_node)
}
}
if
(
doc_node
&&
window
->
doc_obj
&&
window
->
doc_obj
->
usermode
==
EDITMODE
)
{
if
(
doc_node
&&
window
->
doc_obj
&&
window
->
doc_obj
->
usermode
==
EDITMODE
)
{
nsIDOMNSHTMLDocument
*
nshtmldoc
;
nsAString
mode_str
;
nsAString
mode_str
;
nsresult
nsres
;
nsresult
nsres
;
static
const
PRUnichar
onW
[]
=
{
'o'
,
'n'
,
0
};
static
const
PRUnichar
onW
[]
=
{
'o'
,
'n'
,
0
};
nsres
=
nsIDOMHTMLDocument_QueryInterface
(
doc_node
->
nsdoc
,
&
IID_nsIDOMNSHTMLDocument
,
(
void
**
)
&
nshtmldoc
);
nsAString_Init
(
&
mode_str
,
onW
);
if
(
NS_SUCCEEDED
(
nsres
))
{
nsres
=
nsIDOMHTMLDocument_SetDesignMode
(
doc_node
->
nsdoc
,
&
mode_str
);
nsAString_Init
(
&
mode_str
,
onW
);
nsAString_Finish
(
&
mode_str
);
nsres
=
nsIDOMNSHTMLDocument_SetDesignMode
(
nshtmldoc
,
&
mode_str
);
if
(
NS_FAILED
(
nsres
))
nsAString_Finish
(
&
mode_str
);
ERR
(
"SetDesignMode failed: %08x
\n
"
,
nsres
);
nsIDOMNSHTMLDocument_Release
(
nshtmldoc
);
if
(
NS_FAILED
(
nsres
))
ERR
(
"SetDesignMode failed: %08x
\n
"
,
nsres
);
}
else
{
ERR
(
"Could not get nsIDOMNSHTMLDocument interface: %08x
\n
"
,
nsres
);
}
}
}
}
}
...
...
dlls/mshtml/nsevents.c
View file @
2e5f73e4
...
@@ -330,7 +330,7 @@ static void init_event(nsIDOMEventTarget *target, const PRUnichar *type,
...
@@ -330,7 +330,7 @@ static void init_event(nsIDOMEventTarget *target, const PRUnichar *type,
nsresult
nsres
;
nsresult
nsres
;
nsAString_InitDepend
(
&
type_str
,
type
);
nsAString_InitDepend
(
&
type_str
,
type
);
nsres
=
nsIDOMEventTarget_AddEventListener
(
target
,
&
type_str
,
listener
,
capture
);
nsres
=
nsIDOMEventTarget_AddEventListener
(
target
,
&
type_str
,
listener
,
capture
,
FALSE
,
1
);
nsAString_Finish
(
&
type_str
);
nsAString_Finish
(
&
type_str
);
if
(
NS_FAILED
(
nsres
))
if
(
NS_FAILED
(
nsres
))
ERR
(
"AddEventTarget failed: %08x
\n
"
,
nsres
);
ERR
(
"AddEventTarget failed: %08x
\n
"
,
nsres
);
...
...
dlls/mshtml/nsiface.idl
View file @
2e5f73e4
...
@@ -16,14 +16,14 @@
...
@@ -16,14 +16,14 @@
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
*/
/*
/*
*
NOTE
:
*
NOTE
:
*
This
file
is
not
a
typical
idl
file
.
Interfaces
in
this
file
are
XPCOM
*
This
file
is
not
a
typical
idl
file
.
Interfaces
in
this
file
are
XPCOM
*
interfaces
(
NOT
MSCOM
!
),
but
we
generate
the
header
file
with
WIDL
*
interfaces
(
NOT
MSCOM
!
),
but
we
generate
the
header
file
with
WIDL
*
compatible
with
XPCOM
,
usable
in
C
code
.
*
compatible
with
XPCOM
,
usable
in
C
code
.
*/
*/
cpp_quote
(
"#define GECKO_VERSION \"
1.
3
\
""
)
cpp_quote
(
"#define GECKO_VERSION \"
1.
4
\
""
)
cpp_quote
(
"#define GECKO_VERSION_STRING \"
Wine
Gecko
\
" GECKO_VERSION"
)
cpp_quote
(
"#define GECKO_VERSION_STRING \"
Wine
Gecko
\
" GECKO_VERSION"
)
import
"wtypes.idl"
;
import
"wtypes.idl"
;
...
@@ -90,6 +90,8 @@ interface nsIDOMDocumentView;
...
@@ -90,6 +90,8 @@ interface nsIDOMDocumentView;
interface
nsIDOMWindow
;
interface
nsIDOMWindow
;
interface
nsIDOMElement
;
interface
nsIDOMElement
;
interface
nsIDOMRange
;
interface
nsIDOMRange
;
interface
nsIDOMEventTarget
;
interface
nsISelection
;
interface
IMoniker
;
interface
IMoniker
;
...
@@ -159,6 +161,20 @@ typedef nsISupports nsIDOMNodeIterator;
...
@@ -159,6 +161,20 @@ typedef nsISupports nsIDOMNodeIterator;
typedef nsISupports nsIDOMTreeWalker;
typedef nsISupports nsIDOMTreeWalker;
typedef nsISupports nsIHttpUpgradeListener;
typedef nsISupports nsIHttpUpgradeListener;
typedef nsISupports nsIDOMDOMStringMap;
typedef nsISupports nsIDOMDOMStringMap;
typedef nsISupports nsIDOMDOMStringList;
typedef nsISupports nsIDOMOfflineResourceList;
typedef nsISupports nsIDOMHistory;
typedef nsISupports nsIDOMNavigator;
typedef nsISupports nsIDOMMediaQueryList;
typedef nsISupports nsIDOMScreen;
typedef nsISupports nsIDOMCrypto;
typedef nsISupports nsIDOMPkcs11;
typedef nsISupports nsIAnimationFrameListener;
typedef nsISupports nsIDOMMozURLProperty;
typedef nsISupports nsIDOMStorageList;
typedef nsISupports nsILocalFile;
typedef nsISupports nsIDOMHTMLMenuElement;
typedef nsISupports nsIDOMCaretPosition;
typedef void *JSContext;
typedef void *JSContext;
typedef void *JSObject;
typedef void *JSObject;
...
@@ -189,7 +205,7 @@ interface nsIFactory : nsISupports
...
@@ -189,7 +205,7 @@ interface nsIFactory : nsISupports
[
[
object,
object,
uuid(
a88e5a60-205a-4bb1-94e1-2628daf51eae
),
uuid(
1d940426-5fe5-42c3-84ae-a300f2d9ebd5
),
local
local
]
]
interface nsIComponentManager : nsISupports
interface nsIComponentManager : nsISupports
...
@@ -200,6 +216,8 @@ interface nsIComponentManager : nsISupports
...
@@ -200,6 +216,8 @@ interface nsIComponentManager : nsISupports
void **result);
void **result);
nsresult CreateInstanceByContractID(const char *aContractID, nsISupports *aDelegate,
nsresult CreateInstanceByContractID(const char *aContractID, nsISupports *aDelegate,
nsIIDRef aIID, void **result);
nsIIDRef aIID, void **result);
nsresult AddBootstrappedManifestLocation(nsILocalFile *aLocation);
nsresult RemoveBootstrappedManifestLocation(nsILocalFile *aLocation);
}
}
[
[
...
@@ -286,7 +304,7 @@ interface nsIInputStream : nsISupports
...
@@ -286,7 +304,7 @@ interface nsIInputStream : nsISupports
[
[
object,
object,
uuid(
d6d04c36-0fa4-4db3-be05-4a18397103e2
),
uuid(
395fe045-7d18-4adb-a3fd-af98c8a1af11
),
local
local
]
]
interface nsIURI : nsISupports
interface nsIURI : nsISupports
...
@@ -310,22 +328,24 @@ interface nsIURI : nsISupports
...
@@ -310,22 +328,24 @@ interface nsIURI : nsISupports
nsresult SetPort(PRInt32 aPort);
nsresult SetPort(PRInt32 aPort);
nsresult GetPath(nsACString *aPath);
nsresult GetPath(nsACString *aPath);
nsresult SetPath(const nsACString *aPath);
nsresult SetPath(const nsACString *aPath);
nsresult GetRef(nsACString *aRef);
nsresult SetRef(const nsACString *aRef);
nsresult Equals(nsIURI *other, PRBool *_retval);
nsresult Equals(nsIURI *other, PRBool *_retval);
nsresult EqualsExceptRef(nsIURI *other, PRBool *_retval);
nsresult SchemeIs(const char *scheme, PRBool *_retval);
nsresult SchemeIs(const char *scheme, PRBool *_retval);
nsresult Clone(nsIURI **_retval);
nsresult Clone(nsIURI **_retval);
nsresult CloneIgnoringRef(nsIURI **_retval);
nsresult Resolve(const nsACString *relativePath, nsACString *_retval);
nsresult Resolve(const nsACString *relativePath, nsACString *_retval);
nsresult GetAsciiSpec(nsACString *aAsciiSpec);
nsresult GetAsciiSpec(nsACString *aAsciiSpec);
nsresult GetAsciiHost(nsACString *aAsciiHost);
nsresult GetAsciiHost(nsACString *aAsciiHost);
nsresult GetOriginCharset(nsACString *aOriginCharset);
nsresult GetOriginCharset(nsACString *aOriginCharset);
nsresult GetRef(nsACString *aRef);
nsresult SetRef(const nsACString *aRef);
nsresult EqualsExceptRef(nsIURI *other, PRBool *_retval);
nsresult CloneIgnoringRef(nsIURI **_retval);
nsresult GetSpecIgnoringRef(nsACString *aSpecIgnoringRef);
nsresult GetHasRef(PRBool *aHasRef);
}
}
[
[
object,
object,
uuid(
55e824ca-f1bb-4452-9e14-fcfa1ff091ce
),
uuid(
067d697a-c725-4293-9656-e658a75e6bcf
),
local
local
]
]
interface nsIURL : nsIURI
interface nsIURL : nsIURI
...
@@ -435,7 +455,7 @@ interface nsIChannel : nsIRequest
...
@@ -435,7 +455,7 @@ interface nsIChannel : nsIRequest
[
[
object,
object,
uuid(
0cf40717-d7c1-4a94-8c1e-d6c9734101bb
),
uuid(
35412859-b9d9-423c-8866-2d4559fdd2be
),
local
local
]
]
interface nsIHttpHeaderVisitor : nsISupports
interface nsIHttpHeaderVisitor : nsISupports
...
@@ -633,36 +653,6 @@ interface nsIDOMNodeList : nsISupports
...
@@ -633,36 +653,6 @@ interface nsIDOMNodeList : nsISupports
[
[
object,
object,
uuid(29fb2a18-1dd2-11b2-8dd9-a6fd5d5ad12f),
local
]
interface nsIDOM3Node : nsISupports
{
enum NSDOCPOSITION {
DISCONNECTED = 1,
PRECEDING = 2,
FOLLOWING = 4,
CONTAINS = 8,
CONTAINED_BY = 16,
IMPLEMENTATION_SPECIFIC = 32
};
nsresult GetBaseURI(nsAString *aBaseURI);
nsresult CompareDocumentPosition(nsIDOMNode *other, PRUint16 *_retval);
nsresult GetTextContent(nsAString *aTextContent);
nsresult SetTextContent(const nsAString *aTextContent);
nsresult IsSameNode(nsIDOMNode *other, PRBool *_retval);
nsresult LookupPrefix(const nsAString *namespaceURI, PRBool *_retval);
nsresult IsDefaultNamespace(const nsAString *namespaceURI, PRBool *_retval);
nsresult LookupNamespaceURI(const nsAString *prefix, nsAString _retval);
nsresult IsEqualNode(nsIDOMNode *arg, PRBool *_retval);
nsresult GetFeature(const nsAString *feature, const nsAString *version, nsISupports **_retval);
nsresult SetUserData(const nsAString *key, nsIVariant *data, nsIDOMUserDataHandler *handler, nsIVariant **_retval);
nsresult GetUserData(const nsAString *key, nsIVariant **_retval);
}
[
object,
uuid(a6cf907b-15b3-11d2-932e-00805f8add32),
uuid(a6cf907b-15b3-11d2-932e-00805f8add32),
local
local
]
]
...
@@ -680,7 +670,7 @@ interface nsIDOMNamedNodeMap : nsISupports
...
@@ -680,7 +670,7 @@ interface nsIDOMNamedNodeMap : nsISupports
[
[
object,
object,
uuid(
817dc774-2ad2-4111-9042-1787df86c015
),
uuid(
29a95243-c73e-454c-a996-272f6727b03c
),
local
local
]
]
interface nsIDOMNode : nsISupports
interface nsIDOMNode : nsISupports
...
@@ -700,6 +690,15 @@ interface nsIDOMNode : nsISupports
...
@@ -700,6 +690,15 @@ interface nsIDOMNode : nsISupports
NOTATION_NODE = 12
NOTATION_NODE = 12
};
};
enum {
DOCUMENT_POSITION_DISCONNECTED = 1,
DOCUMENT_POSITION_PRECEDING = 2,
DOCUMENT_POSITION_FOLLOWING = 4,
DOCUMENT_POSITION_CONTAINS = 8,
DOCUMENT_POSITION_CONTAINED_BY = 16,
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 32
};
nsresult GetNodeName(nsAString *aNodeName);
nsresult GetNodeName(nsAString *aNodeName);
nsresult GetNodeValue(nsAString *aNodeValue);
nsresult GetNodeValue(nsAString *aNodeValue);
nsresult SetNodeValue(const nsAString *aNodeValue);
nsresult SetNodeValue(const nsAString *aNodeValue);
...
@@ -724,11 +723,22 @@ interface nsIDOMNode : nsISupports
...
@@ -724,11 +723,22 @@ interface nsIDOMNode : nsISupports
nsresult GetPrefix(nsAString *aPrefix);
nsresult GetPrefix(nsAString *aPrefix);
nsresult GetLocalName(nsAString *aLocalName);
nsresult GetLocalName(nsAString *aLocalName);
nsresult HasAttributes(PRBool *_retval);
nsresult HasAttributes(PRBool *_retval);
nsresult GetDOMBaseURI(nsAString *aBaseURI);
nsresult CompareDocumentPosition(nsIDOMNode *other, PRUint16 *_retval);
nsresult GetTextContent(nsAString *aTextContent);
nsresult SetTextContent(const nsAString *aTextContent);
nsresult IsSameNode(nsIDOMNode *other, PRBool *_retval);
nsresult LookupPrefix(const nsAString *namespaceURI, nsAString *_retval);
nsresult IsDefaultNamespace(const nsAString *namespaceURI, PRBool *_retval);
nsresult LookupNamespaceURI(const nsAString *prefix, nsAString *_retval);
nsresult IsEqualNode(nsIDOMNode *arg, PRBool *_retval);
nsresult SetUserData(const nsAString *key, nsIVariant *data, nsIDOMUserDataHandler *handler, nsIVariant **_retval);
nsresult GetUserData(const nsAString *key, nsIVariant **_retval);
}
}
[
[
object,
object,
uuid(6
69a0f55-1e5d-4471-8de9-a6c6774354dd
),
uuid(6
bdedbc5-681e-4570-a3dc-3685ed8d6e1e
),
local
local
]
]
interface nsIDOMAttr : nsIDOMNode
interface nsIDOMAttr : nsIDOMNode
...
@@ -738,6 +748,7 @@ interface nsIDOMAttr : nsIDOMNode
...
@@ -738,6 +748,7 @@ interface nsIDOMAttr : nsIDOMNode
nsresult GetValue(nsAString *aValue);
nsresult GetValue(nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult GetOwnerElement(nsIDOMElement **aOwnerElement);
nsresult GetOwnerElement(nsIDOMElement **aOwnerElement);
nsresult GetIsId(PRBool *aIsId);
}
}
[
[
...
@@ -831,7 +842,7 @@ cpp_quote("#undef GetClassName")
...
@@ -831,7 +842,7 @@ cpp_quote("#undef GetClassName")
[
[
object,
object,
uuid(
164c7ebd-2245-42d2-a96f-2bf2d01c1697
),
uuid(
c6e10ab6-ecf4-48e4-aeaa-37724307dfd5
),
local
local
]
]
interface nsIDOMHTMLElement : nsIDOMElement
interface nsIDOMHTMLElement : nsIDOMElement
...
@@ -848,6 +859,7 @@ interface nsIDOMHTMLElement : nsIDOMElement
...
@@ -848,6 +859,7 @@ interface nsIDOMHTMLElement : nsIDOMElement
nsresult SetClassName(const nsAString *aClassName);
nsresult SetClassName(const nsAString *aClassName);
nsresult GetAccessKey(nsAString *aAccessKey);
nsresult GetAccessKey(nsAString *aAccessKey);
nsresult SetAccessKey(const nsAString *aAccessKey);
nsresult SetAccessKey(const nsAString *aAccessKey);
nsresult GetAccessKeyLabel(nsAString *aAccessKeyLabel);
nsresult Blur();
nsresult Blur();
nsresult Focus();
nsresult Focus();
nsresult Click();
nsresult Click();
...
@@ -855,7 +867,7 @@ interface nsIDOMHTMLElement : nsIDOMElement
...
@@ -855,7 +867,7 @@ interface nsIDOMHTMLElement : nsIDOMElement
[
[
object,
object,
uuid(
cf76761d-2d93-4e88-aaf1-b637878bad65
),
uuid(
0c3b4b63-30b2-4c93-906d-f983ee9af584
),
local
local
]
]
interface nsIDOMNSHTMLElement : nsISupports
interface nsIDOMNSHTMLElement : nsISupports
...
@@ -876,7 +888,9 @@ interface nsIDOMNSHTMLElement : nsISupports
...
@@ -876,7 +888,9 @@ interface nsIDOMNSHTMLElement : nsISupports
nsresult GetIsContentEditable(PRBool *aIsContentEditable);
nsresult GetIsContentEditable(PRBool *aIsContentEditable);
nsresult GetDraggable(PRBool *aDraggable);
nsresult GetDraggable(PRBool *aDraggable);
nsresult SetDraggable(PRBool aDraggable);
nsresult SetDraggable(PRBool aDraggable);
nsresult InsertAdjacentHTML(const nsAString *position, const nsAString *text);
nsresult ScrollIntoView(PRBool top, PRUint8 _argc);
nsresult ScrollIntoView(PRBool top, PRUint8 _argc);
nsresult GetContextMenu(nsIDOMHTMLMenuElement **aContextMenu);
nsresult GetSpellcheck(PRBool *aSpellcheck);
nsresult GetSpellcheck(PRBool *aSpellcheck);
nsresult SetSpellcheck(PRBool aSpellcheck);
nsresult SetSpellcheck(PRBool aSpellcheck);
nsresult GetDataset(nsIDOMDOMStringMap **aDataset);
nsresult GetDataset(nsIDOMDOMStringMap **aDataset);
...
@@ -913,12 +927,15 @@ interface nsIDOMCharacterData : nsIDOMNode
...
@@ -913,12 +927,15 @@ interface nsIDOMCharacterData : nsIDOMNode
[
[
object,
object,
uuid(
48642156-d686-46b7-8e96-35edd5b2afa8
),
uuid(
04a1ec2b-491f-4a80-8db4-694c37e31a6f
),
local
local
]
]
interface nsIDOMText : nsIDOMCharacterData
interface nsIDOMText : nsIDOMCharacterData
{
{
nsresult SplitText(PRUint32 offset, nsIDOMText **_retval);
nsresult SplitText(PRUint32 offset, nsIDOMText **_retval);
nsresult GetIsElementContentWhitespace(PRBool *aIsElementContentWhitespace);
nsresult GetWholeText(nsAString *aWholeText);
nsresult ReplaceWholeText(const nsAString *content, nsIDOMText **_retval);
}
}
[
[
...
@@ -941,7 +958,7 @@ interface nsIDOMDocumentFragment : nsIDOMNode
...
@@ -941,7 +958,7 @@ interface nsIDOMDocumentFragment : nsIDOMNode
[
[
object,
object,
uuid(
61b2159c-614e-4aff-a626-f34af9bb1759
),
uuid(
10034b87-384e-4e19-902c-c4edafb899be
),
local
local
]
]
interface nsIDOMDocument : nsIDOMNode
interface nsIDOMDocument : nsIDOMNode
...
@@ -954,18 +971,13 @@ interface nsIDOMDocument : nsIDOMNode
...
@@ -954,18 +971,13 @@ interface nsIDOMDocument : nsIDOMNode
nsresult CreateTextNode(const nsAString *data, nsIDOMText **_retval);
nsresult CreateTextNode(const nsAString *data, nsIDOMText **_retval);
nsresult CreateComment(const nsAString *data, nsIDOMComment **_retval);
nsresult CreateComment(const nsAString *data, nsIDOMComment **_retval);
nsresult CreateCDATASection(const nsAString *data, nsIDOMCDATASection **_retval);
nsresult CreateCDATASection(const nsAString *data, nsIDOMCDATASection **_retval);
nsresult CreateProcessingInstruction(const nsAString *target, const nsAString *data,
nsresult CreateProcessingInstruction(const nsAString *target, const nsAString *data, nsIDOMProcessingInstruction **_retval);
nsIDOMProcessingInstruction **_retval);
nsresult CreateAttribute(const nsAString *name, nsIDOMAttr **_retval);
nsresult CreateAttribute(const nsAString *name, nsIDOMAttr **_retval);
nsresult CreateEntityReference(const nsAString *name, nsIDOMEntityReference **_retval);
nsresult GetElementsByTagName(const nsAString *tagname, nsIDOMNodeList **_retval);
nsresult GetElementsByTagName(const nsAString *tagname, nsIDOMNodeList **_retval);
nsresult ImportNode(nsIDOMNode *importedNode, PRBool deep, nsIDOMNode **_retval);
nsresult ImportNode(nsIDOMNode *importedNode, PRBool deep, nsIDOMNode **_retval);
nsresult CreateElementNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
nsresult CreateElementNS(const nsAString *namespaceURI, const nsAString *qualifiedName, nsIDOMElement **_retval);
nsIDOMElement **_retval);
nsresult CreateAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName, nsIDOMAttr **_retval);
nsresult CreateAttributeNS(const nsAString *namespaceURI, const nsAString *qualifiedName,
nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName, nsIDOMNodeList **_retval);
nsIDOMAttr **_retval);
nsresult GetElementsByTagNameNS(const nsAString *namespaceURI, const nsAString *localName,
nsIDOMNodeList **_retval);
nsresult GetElementById(const nsAString *elementId, nsIDOMElement **_retval);
nsresult GetElementById(const nsAString *elementId, nsIDOMElement **_retval);
nsresult GetInputEncoding(nsAString *aInputEncoding);
nsresult GetInputEncoding(nsAString *aInputEncoding);
nsresult GetXmlEncoding(nsAString *aXmlEncoding);
nsresult GetXmlEncoding(nsAString *aXmlEncoding);
...
@@ -976,8 +988,6 @@ interface nsIDOMDocument : nsIDOMNode
...
@@ -976,8 +988,6 @@ interface nsIDOMDocument : nsIDOMNode
nsresult GetDocumentURI(nsAString *aDocumentURI);
nsresult GetDocumentURI(nsAString *aDocumentURI);
nsresult SetDocumentURI(const nsAString *aDocumentURI);
nsresult SetDocumentURI(const nsAString *aDocumentURI);
nsresult AdoptNode(nsIDOMNode *source, nsIDOMNode **_retval);
nsresult AdoptNode(nsIDOMNode *source, nsIDOMNode **_retval);
nsresult NormalizeDocument();
nsresult GetDefaultView(nsIDOMWindow **aDefaultView);
nsresult CreateRange(nsIDOMRange **_retval);
nsresult CreateRange(nsIDOMRange **_retval);
nsresult CreateNodeIterator(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter,
nsresult CreateNodeIterator(nsIDOMNode *root, PRUint32 whatToShow, nsIDOMNodeFilter *filter,
PRBool entityReferenceExpansion, nsIDOMNodeIterator **_retval);
PRBool entityReferenceExpansion, nsIDOMNodeIterator **_retval);
...
@@ -985,90 +995,61 @@ interface nsIDOMDocument : nsIDOMNode
...
@@ -985,90 +995,61 @@ interface nsIDOMDocument : nsIDOMNode
PRBool entityReferenceExpansion, nsIDOMTreeWalker **_retval);
PRBool entityReferenceExpansion, nsIDOMTreeWalker **_retval);
cpp_quote("#undef CreateEvent")
cpp_quote("#undef CreateEvent")
nsresult CreateEvent(const nsAString *eventType, nsIDOMEvent **_retval);
nsresult CreateEvent(const nsAString *eventType, nsIDOMEvent **_retval);
}
nsresult GetDefaultView(nsIDOMWindow **aDefaultView);
[
object,
uuid(92f2c6f8-3668-4a47-8251-2a900afe11fa),
local
]
interface nsIDOMNSDocument : nsISupports
{
nsresult GetCharacterSet(nsAString *aCharacterSet);
nsresult GetCharacterSet(nsAString *aCharacterSet);
nsresult GetDir(nsAString *aDir);
nsresult GetDir(nsAString *aDir);
nsresult SetDir(const nsAString *aDir);
nsresult SetDir(const nsAString *aDir);
nsresult GetLocation(nsIDOMLocation **aLocation);
nsresult GetLocation(nsIDOMLocation **aLocation);
nsresult GetTitle(nsAString *aTitle);
nsresult GetTitle(nsAString *aTitle);
nsresult SetTitle(const nsAString *aTitle);
nsresult SetTitle(const nsAString *aTitle);
nsresult GetContentType(nsAString *aContentType);
nsresult GetReadyState(nsAString *aReadyState);
nsresult GetReadyState(nsAString *aReadyState);
nsresult GetLastModified(nsAString *aLastModified);
nsresult GetLastModified(nsAString *aLastModified);
nsresult GetReferrer(nsAString *aReferrer);
nsresult GetReferrer(nsAString *aReferrer);
nsresult HasFocus(PRBool *_retval);
nsresult HasFocus(PRBool *_retval);
nsresult GetActiveElement(nsIDOMElement **aActiveElement);
nsresult GetActiveElement(nsIDOMElement **aActiveElement);
nsresult GetCurrentScript(nsIDOMElement **aActiveElement);
nsresult GetElementsByClassName(const nsAString *classes, nsIDOMNodeList **_retval);
nsresult GetElementsByClassName(const nsAString *classes, nsIDOMNodeList **_retval);
nsresult GetStyleSheets(nsIDOMStyleSheetList **aStyleSheets);
nsresult GetPreferredStyleSheetSet(nsAString *aPreferredStyleSheetSet);
nsresult GetSelectedStyleSheetSet(nsAString *aSelectedStyleSheetSet);
nsresult SetSelectedStyleSheetSet(const nsAString *aSelectedStyleSheetSet);
nsresult GetLastStyleSheetSet(nsAString *aLastStyleSheetSet);
nsresult GetStyleSheetSets(nsIDOMDOMStringList **aStyleSheetSets);
nsresult EnableStyleSheetsForSet(const nsAString *name);
nsresult ElementFromPoint(float x, float y, nsIDOMElement **_retval);
nsresult ElementFromPoint(float x, float y, nsIDOMElement **_retval);
nsresult GetContentType(nsAString *aContentType);
nsresult GetMozSyntheticDocument(PRBool *aMozSyntheticDocument);
nsresult GetCurrentScript(nsIDOMElement **aCurrentScript);
nsresult ReleaseCapture();
nsresult ReleaseCapture();
nsresult MozSetImageElement(const nsAString *aImageElementId, nsIDOMElement *aImageElement);
nsresult MozSetImageElement(const nsAString *aImageElementId, nsIDOMElement *aImageElement);
}
}
[
[
object,
object,
uuid(
eb3750ae-d156-4b97-b200-f35276c6510f
),
uuid(
3ab3e856-361d-435a-8a4d-b462799945cd
),
local
local
]
]
interface nsIDOMHTMLDocument : nsIDOMDocument
interface nsIDOMHTMLDocument : nsIDOMDocument
{
{
nsresult GetTitle(nsAString *aTitle);
nsresult SetTitle(const nsAString *aTitle);
nsresult GetReferrer(nsAString *aReferrer);
nsresult GetDomain(nsAString *aDomain);
nsresult GetURL(nsAString *aURL);
nsresult GetURL(nsAString *aURL);
nsresult GetDomain(nsAString *aDomain);
nsresult SetDomain(const nsAString *aDomain);
nsresult GetCookie(nsAString *aCookie);
nsresult SetCookie(const nsAString *aCookie);
nsresult GetCompatMode(nsAString *aCompatMode);
nsresult GetHead(nsIDOMHTMLHeadElement **aHead);
nsresult GetBody(nsIDOMHTMLElement **aBody);
nsresult GetBody(nsIDOMHTMLElement **aBody);
nsresult SetBody(nsIDOMHTMLElement *aBody);
nsresult SetBody(nsIDOMHTMLElement *aBody);
nsresult GetImages(nsIDOMHTMLCollection **aImages);
nsresult GetImages(nsIDOMHTMLCollection **aImages);
nsresult GetApplets(nsIDOMHTMLCollection **aApplets);
nsresult GetEmbeds(nsIDOMHTMLCollection **aEmbeds);
nsresult GetPlugins(nsIDOMHTMLCollection **aPlugins);
nsresult GetLinks(nsIDOMHTMLCollection **aLinks);
nsresult GetLinks(nsIDOMHTMLCollection **aLinks);
nsresult GetForms(nsIDOMHTMLCollection **aForms);
nsresult GetForms(nsIDOMHTMLCollection **aForms);
nsresult GetAnchors(nsIDOMHTMLCollection **aAnchors);
nsresult GetCookie(nsAString *aCookie);
nsresult SetCookie(const nsAString *aCookie);
nsresult Open();
nsresult Close();
nsresult Write(const nsAString *text);
nsresult Writeln(const nsAString *text);
nsresult GetElementsByName(const nsAString *elementName, nsIDOMNodeList **_retval);
nsresult GetElementsByName(const nsAString *elementName, nsIDOMNodeList **_retval);
}
nsresult Open(const nsAString *aContentTypeOrUrl, const nsAString *aReplaceOrName, const nsAString *aFeatures,
JSContext *cx, PRUint8 _argc, nsISupports **_retval);
[
nsresult Close();
object,
nsresult Write(const nsAString *text, JSContext *cx);
uuid(386e9eee-1f06-40a6-a1a7-ed986646b793),
nsresult Writeln(const nsAString *text, JSContext *cx);
local
]
interface nsIDOMNSHTMLDocument : nsISupports
{
nsresult GetAlinkColor(nsAString *aAlinkColor);
nsresult SetAlinkColor(const nsAString *aAlinkColor);
nsresult GetLinkColor(nsAString *aLinkColor);
nsresult SetLinkColor(const nsAString *aLinkColor);
nsresult GetVlinkColor(nsAString *aVlinkColor);
nsresult SetVlinkColor(const nsAString *aVlinkColor);
nsresult GetBgColor(nsAString *aBgColor);
nsresult SetBgColor(const nsAString *aBgColor);
nsresult GetFgColor(nsAString *aFgColor);
nsresult SetFgColor(const nsAString *aFgColor);
nsresult GetDomain(nsAString *aDomain);
nsresult SetDomain(const nsAString *aDomain);
nsresult GetEmbeds(nsIDOMHTMLCollection **aEmbeds);
nsresult GetSelection(nsAString *_retval);
nsresult Open(nsACString *aContentType, PRBool aReplace, nsIDOMDocument **_retval);
nsresult Clear();
nsresult CaptureEvents(PRInt32 eventFlags);
nsresult ReleaseEvents(PRInt32 eventFlags);
nsresult RouteEvent(nsIDOMEvent *evt);
nsresult GetCompatMode(nsAString *aCompatMode);
nsresult GetPlugins(nsIDOMHTMLCollection **aPlugins);
nsresult GetDesignMode(nsAString *aDesignMode);
nsresult GetDesignMode(nsAString *aDesignMode);
nsresult SetDesignMode(const nsAString *aDesignMode);
nsresult SetDesignMode(const nsAString *aDesignMode);
nsresult ExecCommand(const nsAString *commandID, PRBool doShowUI, const nsAString *value, PRBool *_retval);
nsresult ExecCommand(const nsAString *commandID, PRBool doShowUI, const nsAString *value, PRBool *_retval);
...
@@ -1079,17 +1060,23 @@ interface nsIDOMNSHTMLDocument : nsISupports
...
@@ -1079,17 +1060,23 @@ interface nsIDOMNSHTMLDocument : nsISupports
nsresult QueryCommandSupported(const nsAString *commandID, PRBool *_retval);
nsresult QueryCommandSupported(const nsAString *commandID, PRBool *_retval);
nsresult QueryCommandText(const nsAString *commandID, nsAString *_retval);
nsresult QueryCommandText(const nsAString *commandID, nsAString *_retval);
nsresult QueryCommandValue(const nsAString *commandID, nsAString *_retval);
nsresult QueryCommandValue(const nsAString *commandID, nsAString *_retval);
nsresult GetHead(nsIDOMHTMLHeadElement *_retval);
nsresult GetFgColor(nsAString *aFgColor);
}
nsresult SetFgColor(const nsAString *aFgColor);
nsresult GetBgColor(nsAString *aBgColor);
[
nsresult SetBgColor(const nsAString *aBgColor);
object,
nsresult GetLinkColor(nsAString *aLinkColor);
uuid(3d9f4973-dd2e-48f5-b5f7-2634e09eadd9),
nsresult SetLinkColor(const nsAString *aLinkColor);
local
nsresult GetVlinkColor(nsAString *aVlinkColor);
]
nsresult SetVlinkColor(const nsAString *aVlinkColor);
interface nsIDOMDocumentStyle : nsISupports
nsresult GetAlinkColor(nsAString *aAlinkColor);
{
nsresult SetAlinkColor(const nsAString *aAlinkColor);
nsresult GetStyleSheets(nsIDOMStyleSheetList **aStyleSheets);
nsresult GetAnchors(nsIDOMHTMLCollection **aAnchors);
nsresult GetApplets(nsIDOMHTMLCollection **aApplets);
nsresult Clear();
nsresult GetSelection(nsISelection **_retval);
nsresult CaptureEvents(PRInt32 eventFlags);
nsresult ReleaseEvents(PRInt32 eventFlags);
nsresult RouteEvent(nsIDOMEvent *evt);
}
}
[
[
...
@@ -1149,7 +1136,7 @@ interface nsIDOMNSRange : nsISupports
...
@@ -1149,7 +1136,7 @@ interface nsIDOMNSRange : nsISupports
[
[
object,
object,
uuid(
b2c7ed59-8634-4352-9e37-5484c8b6e4e1
),
uuid(
5ac0cd5d-3c08-4c4c-8e70-230c433f5d5c
),
local
local
]
]
interface nsISelection : nsISupports
interface nsISelection : nsISupports
...
@@ -1173,6 +1160,7 @@ interface nsISelection : nsISupports
...
@@ -1173,6 +1160,7 @@ interface nsISelection : nsISupports
nsresult DeleteFromDocument();
nsresult DeleteFromDocument();
nsresult SelectionLanguageChange(PRBool langRTL);
nsresult SelectionLanguageChange(PRBool langRTL);
nsresult ToString(PRUnichar **_retval);
nsresult ToString(PRUnichar **_retval);
nsresult Modify(const nsAString *alter, const nsAString *direction, const nsAString *granularity);
}
}
[
[
...
@@ -1189,29 +1177,110 @@ interface nsIDOMWindowCollection : nsISupports
...
@@ -1189,29 +1177,110 @@ interface nsIDOMWindowCollection : nsISupports
[
[
object,
object,
uuid(
ff7d278f-93db-4078-b89a-058c8e1270b4
),
uuid(
8fc58f56-f769-4368-a098-edd08550cf1a
),
local
local
]
]
interface nsIDOMWindow : nsISupports
interface nsIDOMWindow : nsISupports
{
{
nsresult GetWindow(nsIDOMWindow **aWindow);
nsresult GetSelf(nsIDOMWindow **aSelf);
nsresult GetDocument(nsIDOMDocument **aDocument);
nsresult GetDocument(nsIDOMDocument **aDocument);
nsresult GetParent(nsIDOMWindow **aParent);
nsresult GetTop(nsIDOMWindow **aTop);
nsresult GetScrollbars(nsIDOMBarProp **aScrollbars);
nsresult GetFrames(nsIDOMWindowCollection **aFrames);
nsresult GetName(nsAString *aName);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetTextZoom(float *aTextZoom);
nsresult GetLocation(nsIDOMLocation **aLocation);
nsresult SetTextZoom(float aTextZoom);
nsresult GetHistory(nsIDOMHistory **aHistory);
nsresult GetLocationbar(nsIDOMBarProp **aLocationbar);
nsresult GetMenubar(nsIDOMBarProp **aMenubar);
nsresult GetPersonalbar(nsIDOMBarProp **aPersonalbar);
nsresult GetScrollbars(nsIDOMBarProp **aScrollbars);
nsresult GetStatusbar(nsIDOMBarProp **aStatusbar);
nsresult GetToolbar(nsIDOMBarProp **aToolbar);
nsresult GetStatus(nsAString *aStatus);
nsresult SetStatus(const nsAString *aStatus);
nsresult Close();
nsresult Stop();
nsresult Focus();
nsresult Blur();
nsresult GetLength(PRUint32 *aLength);
nsresult GetTop(nsIDOMWindow **aTop);
nsresult GetOpener(nsIDOMWindow **aOpener);
nsresult SetOpener(nsIDOMWindow *aOpener);
nsresult GetParent(nsIDOMWindow **aParent);
nsresult GetFrameElement(nsIDOMElement **aFrameElement);
nsresult GetNavigator(nsIDOMNavigator **aNavigator);
nsresult GetApplicationCache(nsIDOMOfflineResourceList **aApplicationCache);
nsresult Alert(const nsAString *text);
nsresult Confirm(const nsAString *text, PRBool *_retval);
nsresult Prompt(const nsAString *aMessage, const nsAString *aInitial, nsAString *_retval);
nsresult Print();
nsresult ShowModalDialog(const nsAString *aURI, nsIVariant *aArgs, const nsAString *aOptions, nsIVariant **_retval);
nsresult PostMessageMoz(const long /*jsval*/ *message, const nsAString *targetOrigin, JSContext *cx);
nsresult Atob(const nsAString *aAsciiString, nsAString *_retval);
nsresult Btoa(const nsAString *aBase64Data, nsAString *_retval);
nsresult GetSessionStorage(nsIDOMStorage **aSessionStorage);
nsresult GetLocalStorage(nsIDOMStorage **aLocalStorage);
nsresult GetSelection(nsISelection **_retval);
nsresult MatchMedia(const nsAString *media_query_list, nsIDOMMediaQueryList **_retval);
nsresult GetScreen(nsIDOMScreen **aScreen);
nsresult GetInnerWidth(PRInt32 *aInnerWidth);
nsresult SetInnerWidth(PRInt32 aInnerWidth);
nsresult GetInnerHeight(PRInt32 *aInnerHeight);
nsresult SetInnerHeight(PRInt32 aInnerHeight);
nsresult GetScrollX(PRInt32 *aScrollX);
nsresult GetScrollX(PRInt32 *aScrollX);
nsresult GetPageXOffset(PRInt32 *aPageXOffset);
nsresult GetScrollY(PRInt32 *aScrollY);
nsresult GetScrollY(PRInt32 *aScrollY);
nsresult GetPageYOffset(PRInt32 *aPageYOffset);
nsresult Scroll(PRInt32 xScroll, PRInt32 yScroll);
nsresult ScrollTo(PRInt32 xScroll, PRInt32 yScroll);
nsresult ScrollTo(PRInt32 xScroll, PRInt32 yScroll);
nsresult ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif);
nsresult ScrollBy(PRInt32 xScrollDif, PRInt32 yScrollDif);
nsresult GetSelection(nsISelection **_retval);
nsresult GetScreenX(PRInt32 *aScreenX);
nsresult SetScreenX(PRInt32 aScreenX);
nsresult GetScreenY(PRInt32 *aScreenY);
nsresult SetScreenY(PRInt32 aScreenY);
nsresult GetOuterWidth(PRInt32 *aOuterWidth);
nsresult SetOuterWidth(PRInt32 aOuterWidth);
nsresult GetOuterHeight(PRInt32 *aOuterHeight);
nsresult SetOuterHeight(PRInt32 aOuterHeight);
nsresult GetComputedStyle(nsIDOMElement *elt, const nsAString *pseudoElt, nsIDOMCSSStyleDeclaration **_retval);
nsresult GetWindowRoot(nsIDOMEventTarget **aWindowRoot);
nsresult GetFrames(nsIDOMWindowCollection **aFrames);
nsresult GetTextZoom(float *aTextZoom);
nsresult SetTextZoom(float aTextZoom);
nsresult ScrollByLines(PRInt32 numLines);
nsresult ScrollByLines(PRInt32 numLines);
nsresult ScrollByPages(PRInt32 numPages);
nsresult ScrollByPages(PRInt32 numPages);
nsresult SizeToContent();
nsresult SizeToContent();
nsresult GetComputedStyle(nsIDOMElement *elt, const nsAString *pseudoElt, nsIDOMCSSStyleDeclaration **_retval);
nsresult GetContent(nsIDOMWindow **aContent);
nsresult GetPrompter(nsIPrompt **aPrompter);
nsresult GetClosed(PRBool *aClosed);
nsresult GetCrypto(nsIDOMCrypto **aCrypto);
nsresult GetPkcs11(nsIDOMPkcs11 **aPkcs11);
nsresult GetControllers(nsIControllers **aControllers);
nsresult GetDefaultStatus(nsAString *aDefaultStatus);
nsresult SetDefaultStatus(const nsAString *aDefaultStatus);
nsresult GetMozInnerScreenX(float *aMozInnerScreenX);
nsresult GetMozInnerScreenY(float *aMozInnerScreenY);
nsresult GetScrollMaxX(PRInt32 *aScrollMaxX);
nsresult GetScrollMaxY(PRInt32 *aScrollMaxY);
nsresult GetFullScreen(PRBool *aFullScreen);
nsresult SetFullScreen(PRBool aFullScreen);
nsresult Back();
nsresult Forward();
nsresult Home();
nsresult MoveTo(PRInt32 xPos, PRInt32 yPos);
nsresult MoveBy(PRInt32 xDif, PRInt32 yDif);
nsresult ResizeTo(PRInt32 width, PRInt32 height);
nsresult ResizeBy(PRInt32 widthDif, PRInt32 heightDif);
nsresult Open(const nsAString *url, const nsAString *name, const nsAString *options, nsIDOMWindow **_retval);
nsresult OpenDialog(const nsAString *url, const nsAString *name, const nsAString *options, nsISupports *aExtraArgument,
nsIDOMWindow **_retval);
nsresult UpdateCommands(const nsAString *action);
nsresult Find(const nsAString *str, PRBool caseSensitive, PRBool backwards, PRBool wrapAround, PRBool wholeWord,
PRBool searchInFrames, PRBool showDialog, PRBool *_retval);
nsresult GetMozPaintCount(PRUint64 *aMozPaintCount);
nsresult MozRequestAnimationFrame(nsIAnimationFrameListener *aListener);
nsresult GetMozAnimationStartTime(PRInt64 *aMozAnimationStartTime);
nsresult GetURL(nsIDOMMozURLProperty **aURL);
nsresult GetGlobalStorage(nsIDOMStorageList **aGlobalStorage);
}
}
[
[
...
@@ -1237,13 +1306,11 @@ interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
...
@@ -1237,13 +1306,11 @@ interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
[
[
object,
object,
uuid(
e8624d8a-0e9c-49d4-848c-75afcfd6f048
),
uuid(
b7892cbf-a23b-460a-817a-798d490b12df
),
local
local
]
]
interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
{
{
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetAcceptCharset(nsAString *aAcceptCharset);
nsresult GetAcceptCharset(nsAString *aAcceptCharset);
nsresult SetAcceptCharset(const nsAString *aAcceptCharset);
nsresult SetAcceptCharset(const nsAString *aAcceptCharset);
nsresult GetAction(nsAString *aAction);
nsresult GetAction(nsAString *aAction);
...
@@ -1252,8 +1319,12 @@ interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
...
@@ -1252,8 +1319,12 @@ interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
nsresult SetAutocomplete(const nsAString *aAutocomplete);
nsresult SetAutocomplete(const nsAString *aAutocomplete);
nsresult GetEnctype(nsAString *aEnctype);
nsresult GetEnctype(nsAString *aEnctype);
nsresult SetEnctype(const nsAString *aEnctype);
nsresult SetEnctype(const nsAString *aEnctype);
nsresult GetEncoding(nsAString *aEncoding);
nsresult SetEncoding(const nsAString *aEncoding);
nsresult GetMethod(nsAString *aMethod);
nsresult GetMethod(nsAString *aMethod);
nsresult SetMethod(const nsAString *aMethod);
nsresult SetMethod(const nsAString *aMethod);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetNoValidate(PRBool *aNoValidate);
nsresult GetNoValidate(PRBool *aNoValidate);
nsresult SetNoValidate(PRBool aNoValidate);
nsresult SetNoValidate(PRBool aNoValidate);
nsresult GetTarget(nsAString *aTarget);
nsresult GetTarget(nsAString *aTarget);
...
@@ -1262,11 +1333,12 @@ interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
...
@@ -1262,11 +1333,12 @@ interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
nsresult GetLength(PRInt32 *aLength);
nsresult GetLength(PRInt32 *aLength);
nsresult Submit();
nsresult Submit();
nsresult Reset();
nsresult Reset();
nsresult CheckValidity(PRBool *_retval);
}
}
[
[
object,
object,
uuid(
a59ba6b8-6f8b-4003-a8a4-184a51a05050
),
uuid(
66819eba-89b5-4db4-8d27-6368c70761e8
),
local
local
]
]
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
...
@@ -1336,7 +1408,9 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
...
@@ -1336,7 +1408,9 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
nsresult SetSelectionStart(PRInt32 aSelectionStart);
nsresult SetSelectionStart(PRInt32 aSelectionStart);
nsresult GetSelectionEnd(PRInt32 *aSelectionEnd);
nsresult GetSelectionEnd(PRInt32 *aSelectionEnd);
nsresult SetSelectionEnd(PRInt32 aSelectionEnd);
nsresult SetSelectionEnd(PRInt32 aSelectionEnd);
nsresult SetSelectionRange(PRInt32 selectionStart, PRInt32 selectionEnd);
nsresult SetSelectionRange(PRInt32 selectionStart, PRInt32 selectionEnd, const nsAString *direction);
nsresult GetSelectionDirection(nsAString *aSelectionDirection);
nsresult SetSelectionDirection(const nsAString *aSelectionDirection);
nsresult GetTabIndex(PRInt32 *aTabIndex);
nsresult GetTabIndex(PRInt32 *aTabIndex);
nsresult SetTabIndex(PRInt32 aTabIndex);
nsresult SetTabIndex(PRInt32 aTabIndex);
nsresult GetUseMap(nsAString *aUseMap);
nsresult GetUseMap(nsAString *aUseMap);
...
@@ -1386,7 +1460,7 @@ interface nsIDOMHTMLOptionsCollection : nsISupports
...
@@ -1386,7 +1460,7 @@ interface nsIDOMHTMLOptionsCollection : nsISupports
[
[
object,
object,
uuid(
58cd01b8-c3f2-4e58-b39d-8a0ba941717e
),
uuid(
069bc0d8-d16d-406a-8555-2f84384c9b3b
),
local
local
]
]
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
...
@@ -1408,7 +1482,7 @@ interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
...
@@ -1408,7 +1482,7 @@ interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
nsresult SetLength(PRUint32 aLength);
nsresult SetLength(PRUint32 aLength);
nsresult Item(PRUint32 index, nsIDOMNode **_retval);
nsresult Item(PRUint32 index, nsIDOMNode **_retval);
nsresult NamedItem(const nsAString *name, nsIDOMNode **_retval);
nsresult NamedItem(const nsAString *name, nsIDOMNode **_retval);
nsresult Add(nsIDOMHTMLElement *element, nsI
DOMHTMLEleme
nt *before);
nsresult Add(nsIDOMHTMLElement *element, nsI
Varia
nt *before);
nsresult Remove(PRInt32 index);
nsresult Remove(PRInt32 index);
nsresult GetSelectedIndex(PRInt32 *aSelectedIndex);
nsresult GetSelectedIndex(PRInt32 *aSelectedIndex);
nsresult SetSelectedIndex(PRInt32 aSelectedIndex);
nsresult SetSelectedIndex(PRInt32 aSelectedIndex);
...
@@ -1427,30 +1501,54 @@ interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
...
@@ -1427,30 +1501,54 @@ interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
[
[
object,
object,
uuid(
905edd3e-c0b3-4d54-8a2c-0eaab6ccb3cf
),
uuid(
43e99aee-e41f-4935-a87d-f2dbafdbfddb
),
local
local
]
]
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
{
{
nsresult GetDefaultValue(nsAString *aDefaultValue);
nsresult GetAutofocus(PRBool *aAutofocus);
nsresult SetDefaultValue(const nsAString *aDefaultValue);
nsresult SetAutofocus(PRBool aAutofocus);
nsresult GetForm(nsIDOMHTMLFormElement **aForm);
nsresult GetCols(PRUint32 *aCols);
nsresult GetCols(PRUint32 *aCols);
nsresult SetCols(PRUint32 aCols);
nsresult SetCols(PRUint32 aCols);
nsresult GetDisabled(PRBool *aDisabled);
nsresult GetDisabled(PRBool *aDisabled);
nsresult SetDisabled(PRBool aDisabled);
nsresult SetDisabled(PRBool aDisabled);
nsresult GetForm(nsIDOMHTMLFormElement **aForm);
nsresult GetMaxLength(PRInt32 *aMaxLength);
nsresult SetMaxLength(PRInt32 aMaxLength);
nsresult GetName(nsAString *aName);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult GetPlaceholder(nsAString *aPlaceholder);
nsresult SetPlaceholder(const nsAString *aPlaceholder);
nsresult GetReadOnly(PRBool *aReadOnly);
nsresult GetReadOnly(PRBool *aReadOnly);
nsresult SetReadOnly(PRBool aReadOnly);
nsresult SetReadOnly(PRBool aReadOnly);
nsresult GetRequired(PRBool *aRequired);
nsresult SetRequired(PRBool aRequired);
nsresult GetRows(PRUint32 *aRows);
nsresult GetRows(PRUint32 *aRows);
nsresult SetRows(PRUint32 aRows);
nsresult SetRows(PRUint32 aRows);
nsresult Get
TabIndex(PRInt32 *aTabIndex
);
nsresult Get
Wrap(nsAString *aWrap
);
nsresult Set
TabIndex(PRInt32 aTabIndex
);
nsresult Set
Wrap(const nsAString *aWrap
);
nsresult GetType(nsAString *aType);
nsresult GetType(nsAString *aType);
nsresult GetDefaultValue(nsAString *aDefaultValue);
nsresult SetDefaultValue(const nsAString *aDefaultValue);
nsresult GetValue(nsAString *aValue);
nsresult GetValue(nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult SetValue(const nsAString *aValue);
nsresult GetTextLength(PRInt32 *aTextLength);
nsresult GetWillValidate(PRBool *aWillValidate);
nsresult GetValidity(nsIDOMValidityState **aValidity);
nsresult GetValidationMessage(nsAString *aValidationMessage);
nsresult CheckValidity(PRBool *_retval);
nsresult SetCustomValidity(const nsAString *error);
nsresult Select();
nsresult Select();
nsresult GetSelectionStart(PRInt32 *aSelectionStart);
nsresult SetSelectionStart(PRInt32 aSelectionStart);
nsresult GetSelectionEnd(PRInt32 *aSelectionEnd);
nsresult SetSelectionEnd(PRInt32 aSelectionEnd);
nsresult SetSelectionRange(PRInt32 selectionStart, PRInt32 selectionEnd, const nsAString *direction);
nsresult GetSelectionDirection(nsAString *aSelectionDirection);
nsresult SetSelectionDirection(const nsAString *aSelectionDirection);
nsresult GetTabIndex(PRInt32 *aTabIndex);
nsresult SetTabIndex(PRInt32 aTabIndex);
nsresult GetControllers(nsIControllers **aControllers);
}
}
[
[
...
@@ -1480,7 +1578,7 @@ interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
...
@@ -1480,7 +1578,7 @@ interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
[
[
object,
object,
uuid(c
4ef8a40-dd56-4b95-a007-630a0ac04341
),
uuid(c
e760602-0528-493d-966d-65d4ee52347d
),
local
local
]
]
interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
...
@@ -1489,16 +1587,18 @@ interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
...
@@ -1489,16 +1587,18 @@ interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
nsresult SetAlt(const nsAString *aAlt);
nsresult SetAlt(const nsAString *aAlt);
nsresult GetSrc(nsAString *aSrc);
nsresult GetSrc(nsAString *aSrc);
nsresult SetSrc(const nsAString *aSrc);
nsresult SetSrc(const nsAString *aSrc);
nsresult GetCrossOrigin(nsAString *aCrossOrigin);
nsresult SetCrossOrigin(const nsAString *aCrossOrigin);
nsresult GetUseMap(nsAString *aUseMap);
nsresult GetUseMap(nsAString *aUseMap);
nsresult SetUseMap(const nsAString *aUseMap);
nsresult SetUseMap(const nsAString *aUseMap);
nsresult GetIsMap(PRBool *aIsMap);
nsresult GetIsMap(PRBool *aIsMap);
nsresult SetIsMap(PRBool aIsMap);
nsresult SetIsMap(PRBool aIsMap);
nsresult GetWidth(PR
I
nt32 *aWidth);
nsresult GetWidth(PR
Ui
nt32 *aWidth);
nsresult SetWidth(PR
I
nt32 aWidth);
nsresult SetWidth(PR
Ui
nt32 aWidth);
nsresult GetHeight(PR
I
nt32 *aHeight);
nsresult GetHeight(PR
Ui
nt32 *aHeight);
nsresult SetHeight(PR
I
nt32 aHeight);
nsresult SetHeight(PR
Ui
nt32 aHeight);
nsresult GetNaturalWidth(PR
I
nt32 *aNaturalWidth);
nsresult GetNaturalWidth(PR
Ui
nt32 *aNaturalWidth);
nsresult GetNaturalHeight(PR
I
nt32 *aNaturalHeight);
nsresult GetNaturalHeight(PR
Ui
nt32 *aNaturalHeight);
nsresult GetComplete(PRBool *aComplete);
nsresult GetComplete(PRBool *aComplete);
nsresult GetName(nsAString *aName);
nsresult GetName(nsAString *aName);
nsresult SetName(const nsAString *aName);
nsresult SetName(const nsAString *aName);
...
@@ -1514,8 +1614,6 @@ interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
...
@@ -1514,8 +1614,6 @@ interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
nsresult SetVspace(PRInt32 aVspace);
nsresult SetVspace(PRInt32 aVspace);
nsresult GetLowsrc(nsAString *aLowsrc);
nsresult GetLowsrc(nsAString *aLowsrc);
nsresult SetLowsrc(const nsAString *aLowsrc);
nsresult SetLowsrc(const nsAString *aLowsrc);
nsresult GetX(PRInt32 *aX);
nsresult GetY(PRInt32 *aY);
}
}
[
[
...
@@ -2237,7 +2335,7 @@ interface nsIIOService : nsISupports
...
@@ -2237,7 +2335,7 @@ interface nsIIOService : nsISupports
nsresult GetOffline(PRBool *aOffline);
nsresult GetOffline(PRBool *aOffline);
nsresult SetOffline(PRBool aOffline);
nsresult SetOffline(PRBool aOffline);
nsresult AllowPort(PRInt32 aPort, const char *aScheme, PRBool *_retval);
nsresult AllowPort(PRInt32 aPort, const char *aScheme, PRBool *_retval);
nsresult ExtractScheme(const nsACString *urlString, nsACString *
_retval);
nsresult ExtractScheme(const nsACString *urlString, nsACString *_retval);
}
}
[
[
...
@@ -2308,14 +2406,16 @@ interface nsIDOMEventListener : nsISupports
...
@@ -2308,14 +2406,16 @@ interface nsIDOMEventListener : nsISupports
[
[
object,
object,
uuid(1
c773b30-d1cf-11d2-bd95-00805f8ae3f4
),
uuid(1
797d5a4-b12a-428d-9eef-a0e13839728c
),
local
local
]
]
interface nsIDOMEventTarget : nsISupports
interface nsIDOMEventTarget : nsISupports
{
{
nsresult AddEventListener(const nsAString *type, nsIDOMEventListener *listener, PRBool useCapture);
nsresult AddEventListener(const nsAString *type, nsIDOMEventListener *listener, PRBool useCapture
, PRBool wantsUntrusted, PRUint8 _argc
);
nsresult RemoveEventListener(const nsAString *type, nsIDOMEventListener *listener, PRBool useCapture);
nsresult RemoveEventListener(const nsAString *type, nsIDOMEventListener *listener, PRBool useCapture);
nsresult DispatchEvent(nsIDOMEvent *evt, PRBool *_retval);
nsresult DispatchEvent(nsIDOMEvent *evt, PRBool *_retval);
/* Followed by methods we should try to avoid using */
}
}
[
[
...
@@ -2508,7 +2608,7 @@ interface nsIProfile : nsISupports
...
@@ -2508,7 +2608,7 @@ interface nsIProfile : nsISupports
nsresult GetProfileList(PRUint32 *length, PRUnichar ***profileNames);
nsresult GetProfileList(PRUint32 *length, PRUnichar ***profileNames);
nsresult ProfileExists(const PRUnichar *profileName, PRBool *_retval);
nsresult ProfileExists(const PRUnichar *profileName, PRBool *_retval);
nsresult GetCurrentProfile(PRUnichar **aCurrentProfile);
nsresult GetCurrentProfile(PRUnichar **aCurrentProfile);
nsresult SetCurrentProfile(const PRUnichar *
aCurrentProfile);
nsresult SetCurrentProfile(const PRUnichar *aCurrentProfile);
nsresult ShutDownCurrentProfile(PRUint32 shutDownType);
nsresult ShutDownCurrentProfile(PRUint32 shutDownType);
nsresult CreateNewProfile(const PRUnichar *profileName,
nsresult CreateNewProfile(const PRUnichar *profileName,
const PRUnichar *nativeProfileDir, const PRUnichar *langcode,
const PRUnichar *nativeProfileDir, const PRUnichar *langcode,
...
@@ -2654,7 +2754,7 @@ interface nsIController : nsISupports
...
@@ -2654,7 +2754,7 @@ interface nsIController : nsISupports
[
[
object,
object,
uuid(
32b94ba0-1ebc-4dfc-ba8c-5f242bcbafce
),
uuid(
4aad2c06-d6c3-4f44-94f9-d5ace50467ec
),
local
local
]
]
interface nsIContent : nsISupports
interface nsIContent : nsISupports
...
@@ -2664,7 +2764,7 @@ interface nsIContent : nsISupports
...
@@ -2664,7 +2764,7 @@ interface nsIContent : nsISupports
[
[
object
,
object
,
uuid
(
26
ef6218
-
cd5e
-
4953
-
bb57
-
b85029a1ae40
),
uuid
(
455
e4d79
-
756b
-
4
f73
-
95
ea
-
3
ff60c6a8ca6
),
local
local
]
]
interface
nsIDocument
:
nsISupports
interface
nsIDocument
:
nsISupports
...
@@ -2679,12 +2779,12 @@ interface nsIDocument : nsISupports
...
@@ -2679,12 +2779,12 @@ interface nsIDocument : nsISupports
]
]
interface nsIContentSerializer : nsISupports
interface nsIContentSerializer : nsISupports
{
{
nsresult Init(PRUint32 flags, PRUint32 aWrapColumn, const char
*
aCharSet, PRBool aIsCopying,
nsresult Init(PRUint32 flags, PRUint32 aWrapColumn, const char
*
aCharSet, PRBool aIsCopying,
PRBool aIsWholeDocument);
PRBool aIsWholeDocument);
nsresult AppendText(nsIContent *aText, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr);
nsresult AppendText(nsIContent *aText, PRInt32 aStartOffset, PRInt32 aEndOffset, nsAString *aStr);
nsresult AppendCDATASection(nsIContent *aCDATASection, PRInt32 aStartOffset,
nsresult AppendCDATASection(nsIContent *aCDATASection, PRInt32 aStartOffset,
PRInt32 aEndOffset, nsAString *aStr);
PRInt32 aEndOffset, nsAString *aStr);
nsresult AppendProcessingInstruction(nsIContent
*
aPI, PRInt32 aStartOffset,
nsresult AppendProcessingInstruction(nsIContent
*
aPI, PRInt32 aStartOffset,
PRInt32 aEndOffset, nsAString *aStr);
PRInt32 aEndOffset, nsAString *aStr);
nsresult AppendComment(nsIContent *aComment, PRInt32 aStartOffset, PRInt32 aEndOffset,
nsresult AppendComment(nsIContent *aComment, PRInt32 aStartOffset, PRInt32 aEndOffset,
nsAString *aStr);
nsAString *aStr);
...
@@ -2855,7 +2955,7 @@ interface nsIHTMLEditor : nsISupports
...
@@ -2855,7 +2955,7 @@ interface nsIHTMLEditor : nsISupports
[
[
object,
object,
uuid(
f77271a1-0b22-4581-af6d-529125f1901d
),
uuid(
0666adf8-8738-4ca7-a917-0348f47d2f40
),
local
local
]
]
interface nsIDocShell : nsISupports
interface nsIDocShell : nsISupports
...
@@ -2891,6 +2991,8 @@ interface nsIDocShell : nsISupports
...
@@ -2891,6 +2991,8 @@ interface nsIDocShell : nsISupports
nsresult SetAllowImages(PRBool aAllowImages);
nsresult SetAllowImages(PRBool aAllowImages);
nsresult GetAllowDNSPrefetch(PRBool *aAllowDNSPrefetch);
nsresult GetAllowDNSPrefetch(PRBool *aAllowDNSPrefetch);
nsresult SetAllowDNSPrefetch(PRBool aAllowDNSPrefetch);
nsresult SetAllowDNSPrefetch(PRBool aAllowDNSPrefetch);
nsresult GetAllowWindowControl(PRBool *aAllowWindowControl);
nsresult SetAllowWindowControl(PRBool aAllowWindowControl);
nsresult GetDocShellEnumerator(PRInt32 aItemType, PRInt32 aDirection, nsISimpleEnumerator **_retval);
nsresult GetDocShellEnumerator(PRInt32 aItemType, PRInt32 aDirection, nsISimpleEnumerator **_retval);
nsresult GetAppType(PRUint32 *aAppType);
nsresult GetAppType(PRUint32 *aAppType);
nsresult SetAppType(PRUint32 aAppType);
nsresult SetAppType(PRUint32 aAppType);
...
@@ -2955,11 +3057,11 @@ interface nsIMutationObserver : nsISupports
...
@@ -2955,11 +3057,11 @@ interface nsIMutationObserver : nsISupports
void /*CharacterDataChangeInfo*/ *aInfo);
void /*CharacterDataChangeInfo*/ *aInfo);
void CharacterDataChanged(nsIDocument *aDocument, nsIContent *aContent,
void CharacterDataChanged(nsIDocument *aDocument, nsIContent *aContent,
void /*CharacterDataChangeInfo*/ *aInfo);
void /*CharacterDataChangeInfo*/ *aInfo);
void AttributeWillChange(nsIDocument *aDocument, nsIContent *
aContent, PRInt32 aNameSpaceID,
void AttributeWillChange(nsIDocument *aDocument, nsIContent *aContent, PRInt32 aNameSpaceID,
nsIAtom *aAttribute, PRInt32 aModType);
nsIAtom *aAttribute, PRInt32 aModType);
void AttributeChanged(nsIDocument *aDocument, nsIContent *aContent, PRInt32 aNameSpaceID,
void AttributeChanged(nsIDocument *aDocument, nsIContent *aContent, PRInt32 aNameSpaceID,
nsIAtom *aAttribute, PRInt32 aModType);
nsIAtom *aAttribute, PRInt32 aModType);
void ContentAppended(nsIDocument *aDocument, nsIContent *aContainer, nsIContent
*
aFirstNewContent,
void ContentAppended(nsIDocument *aDocument, nsIContent *aContainer, nsIContent
*
aFirstNewContent,
PRInt32 aNewIndexInContainer);
PRInt32 aNewIndexInContainer);
void ContentInserted(nsIDocument *aDocument, nsIContent *aContainer, nsIContent *aChild,
void ContentInserted(nsIDocument *aDocument, nsIContent *aContainer, nsIContent *aChild,
PRInt32 aIndexInContainer);
PRInt32 aIndexInContainer);
...
@@ -2999,10 +3101,7 @@ interface nsIParser : nsISupports
...
@@ -2999,10 +3101,7 @@ interface nsIParser : nsISupports
nsresult Parse2(const nsAString *aSourceBuffer, void *aKey, const nsACString *aMimeType, PRBool aLastCall, nsDTDMode aMode);
nsresult Parse2(const nsAString *aSourceBuffer, void *aKey, const nsACString *aMimeType, PRBool aLastCall, nsDTDMode aMode);
void *GetRootContextKey();
void *GetRootContextKey();
nsresult Terminate();
nsresult Terminate();
nsresult ParseFragment(const nsAString *aSourceBuffer, void *aKey, void /*nsTArray<nsString>*/ *aTagStack,
nsresult ParseFragment(const nsAString *aSourceBuffer, void /*nsTArray<nsString>*/ *aTagStack);
PRBool aXMLMode, const nsACString *aContentType, nsDTDMode aMode);
nsresult ParseFragment2(const nsAString *aSourceBuffer, nsIContent *aTargetNode, nsIAtom *aContextLocalName,
PRInt32 aContextNamespace, PRBool aQuirks);
nsresult BuildModel();
nsresult BuildModel();
nsresult CancelParsingEvents();
nsresult CancelParsingEvents();
void Reset();
void Reset();
...
@@ -3032,7 +3131,7 @@ interface nsIDocumentObserver : nsIMutationObserver
...
@@ -3032,7 +3131,7 @@ interface nsIDocumentObserver : nsIMutationObserver
void BeginLoad(nsIDocument *aDocument);
void BeginLoad(nsIDocument *aDocument);
void EndLoad(nsIDocument *aDocument);
void EndLoad(nsIDocument *aDocument);
void ContentStatesChanged(nsIDocument *aDocument, nsIContent *aContent, nsEventStates aStateMask);
void ContentStatesChanged(nsIDocument *aDocument, nsIContent *aContent, nsEventStates aStateMask);
void DocumentStatesChanged(nsIDocument
*
aDocument, nsEventStates aStateMask);
void DocumentStatesChanged(nsIDocument
*
aDocument, nsEventStates aStateMask);
void StyleSheetAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet);
void StyleSheetAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet);
void StyleSheetRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet);
void StyleSheetRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet);
void StyleSheetApplicableStateChanged(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet,
void StyleSheetApplicableStateChanged(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet,
...
...
dlls/mshtml/nsio.c
View file @
2e5f73e4
...
@@ -2307,6 +2307,22 @@ static nsresult NSAPI nsURI_GetOriginCharset(nsIURL *iface, nsACString *aOriginC
...
@@ -2307,6 +2307,22 @@ static nsresult NSAPI nsURI_GetOriginCharset(nsIURL *iface, nsACString *aOriginC
return
NS_ERROR_NOT_IMPLEMENTED
;
return
NS_ERROR_NOT_IMPLEMENTED
;
}
}
static
nsresult
NSAPI
nsURI_GetSpecIgnoringRef
(
nsIURL
*
iface
,
nsACString
*
aSpecIgnoringRef
)
{
nsWineURI
*
This
=
impl_from_nsIURL
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
aSpecIgnoringRef
);
return
nsIURL_GetSpec
(
&
This
->
nsIURL_iface
,
aSpecIgnoringRef
);
}
static
nsresult
NSAPI
nsURI_GetHasRef
(
nsIURL
*
iface
,
PRBool
*
aHasRef
)
{
nsWineURI
*
This
=
impl_from_nsIURL
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
aHasRef
);
return
NS_ERROR_NOT_IMPLEMENTED
;
}
static
nsresult
NSAPI
nsURL_GetFilePath
(
nsIURL
*
iface
,
nsACString
*
aFilePath
)
static
nsresult
NSAPI
nsURL_GetFilePath
(
nsIURL
*
iface
,
nsACString
*
aFilePath
)
{
{
nsWineURI
*
This
=
impl_from_nsIURL
(
iface
);
nsWineURI
*
This
=
impl_from_nsIURL
(
iface
);
...
@@ -2553,17 +2569,19 @@ static const nsIURLVtbl nsURLVtbl = {
...
@@ -2553,17 +2569,19 @@ static const nsIURLVtbl nsURLVtbl = {
nsURI_SetPort
,
nsURI_SetPort
,
nsURI_GetPath
,
nsURI_GetPath
,
nsURI_SetPath
,
nsURI_SetPath
,
nsURL_GetRef
,
nsURL_SetRef
,
nsURI_Equals
,
nsURI_Equals
,
nsURI_EqualsExceptRef
,
nsURI_SchemeIs
,
nsURI_SchemeIs
,
nsURI_Clone
,
nsURI_Clone
,
nsURI_CloneIgnoreRef
,
nsURI_Resolve
,
nsURI_Resolve
,
nsURI_GetAsciiSpec
,
nsURI_GetAsciiSpec
,
nsURI_GetAsciiHost
,
nsURI_GetAsciiHost
,
nsURI_GetOriginCharset
,
nsURI_GetOriginCharset
,
nsURL_GetRef
,
nsURL_SetRef
,
nsURI_EqualsExceptRef
,
nsURI_CloneIgnoreRef
,
nsURI_GetSpecIgnoringRef
,
nsURI_GetHasRef
,
nsURL_GetFilePath
,
nsURL_GetFilePath
,
nsURL_SetFilePath
,
nsURL_SetFilePath
,
nsURL_GetParam
,
nsURL_GetParam
,
...
...
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