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
0ae458cc
Commit
0ae458cc
authored
Oct 09, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Wine Gecko 1.8 release.
parent
d1846508
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
136 additions
and
51 deletions
+136
-51
addons.c
dlls/appwiz.cpl/addons.c
+3
-3
mshtml_private.h
dlls/mshtml/mshtml_private.h
+1
-1
nsiface.idl
dlls/mshtml/nsiface.idl
+128
-47
script.c
dlls/mshtml/script.c
+4
-0
No files found.
dlls/appwiz.cpl/addons.c
View file @
0ae458cc
...
@@ -53,14 +53,14 @@
...
@@ -53,14 +53,14 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
appwizcpl
);
WINE_DEFAULT_DEBUG_CHANNEL
(
appwizcpl
);
#define GECKO_VERSION "1.
7
"
#define GECKO_VERSION "1.
8
"
#ifdef __i386__
#ifdef __i386__
#define ARCH_STRING "x86"
#define ARCH_STRING "x86"
#define GECKO_SHA "
efebc4ed7a86708e2dc8581033a3c5d6effe0b0b
"
#define GECKO_SHA "
a8622ff749cc2a2cb311f902b7e99664ecc2f8d6
"
#elif defined(__x86_64__)
#elif defined(__x86_64__)
#define ARCH_STRING "x86_64"
#define ARCH_STRING "x86_64"
#define GECKO_SHA "
2253e7ce3a699ddd110c6c9ce4c7ca7e6f7c02f5
"
#define GECKO_SHA "
ea8bb450c6b41f71cc0ef23c490dfebdaccf789d
"
#else
#else
#define ARCH_STRING ""
#define ARCH_STRING ""
#define GECKO_SHA "???"
#define GECKO_SHA "???"
...
...
dlls/mshtml/mshtml_private.h
View file @
0ae458cc
...
@@ -234,7 +234,7 @@ typedef struct {
...
@@ -234,7 +234,7 @@ typedef struct {
}
nsCycleCollectingAutoRefCnt
;
}
nsCycleCollectingAutoRefCnt
;
typedef
struct
{
typedef
struct
{
void
*
x
[
3
];
void
*
x
[
9
];
}
nsXPCOMCycleCollectionParticipant
;
}
nsXPCOMCycleCollectionParticipant
;
typedef
struct
nsCycleCollectionTraversalCallback
nsCycleCollectionTraversalCallback
;
typedef
struct
nsCycleCollectionTraversalCallback
nsCycleCollectionTraversalCallback
;
...
...
dlls/mshtml/nsiface.idl
View file @
0ae458cc
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
*
compatible
with
XPCOM
,
usable
in
C
code
.
*
compatible
with
XPCOM
,
usable
in
C
code
.
*/
*/
cpp_quote
(
"#define GECKO_VERSION \"
1.
7
\
""
)
cpp_quote
(
"#define GECKO_VERSION \"
1.
8
\
""
)
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"
;
...
@@ -148,7 +148,6 @@ typedef nsISupports nsISecureBrowserUI;
...
@@ -148,7 +148,6 @@ typedef nsISupports nsISecureBrowserUI;
typedef nsISupports nsIDOMStorage;
typedef nsISupports nsIDOMStorage;
typedef nsISupports nsIDOMDOMTokenList;
typedef nsISupports nsIDOMDOMTokenList;
typedef nsISupports nsITransferable;
typedef nsISupports nsITransferable;
typedef nsISupports nsIDOMHTMLHeadElement;
typedef nsISupports nsIDOMFileList;
typedef nsISupports nsIDOMFileList;
typedef nsISupports nsIDOMFile;
typedef nsISupports nsIDOMFile;
typedef nsISupports nsIControllers;
typedef nsISupports nsIControllers;
...
@@ -183,6 +182,9 @@ typedef nsISupports nsICycleCollectorListener;
...
@@ -183,6 +182,9 @@ typedef nsISupports nsICycleCollectorListener;
typedef nsISupports nsIDOMHTMLCanvasElement;
typedef nsISupports nsIDOMHTMLCanvasElement;
typedef nsISupports nsIQueryContentEventResult;
typedef nsISupports nsIQueryContentEventResult;
typedef nsISupports nsIDOMBlob;
typedef nsISupports nsIDOMBlob;
typedef nsISupports nsIPrivacyTransitionObserver;
typedef nsISupports nsIDOMHTMLPropertiesCollection;
typedef nsISupports mozIDOMApplication;
typedef void *JSContext;
typedef void *JSContext;
typedef void *JSObject;
typedef void *JSObject;
...
@@ -214,23 +216,6 @@ interface nsIFactory : nsISupports
...
@@ -214,23 +216,6 @@ interface nsIFactory : nsISupports
[
[
object,
object,
uuid(1d940426-5fe5-42c3-84ae-a300f2d9ebd5),
local
]
interface nsIComponentManager : nsISupports
{
nsresult GetClassObject(nsCIDRef aClass, nsIIDRef aIID, void **result);
nsresult GetClassObjectByContractID(const char *aContractID, nsIIDRef aIID, void **result);
nsresult CreateInstance(nsCIDRef aClass, nsISupports *aDelegate, nsIIDRef aIID,
void **result);
nsresult CreateInstanceByContractID(const char *aContractID, nsISupports *aDelegate,
nsIIDRef aIID, void **result);
nsresult AddBootstrappedManifestLocation(nsILocalFile *aLocation);
nsresult RemoveBootstrappedManifestLocation(nsILocalFile *aLocation);
}
[
object,
uuid(59e7e77a-38e4-11d4-8cf5-0060b0fc14a3),
uuid(59e7e77a-38e4-11d4-8cf5-0060b0fc14a3),
local
local
]
]
...
@@ -967,6 +952,8 @@ interface nsIDOMElement : nsIDOMNode
...
@@ -967,6 +952,8 @@ interface nsIDOMElement : nsIDOMNode
nsresult
GetClientLeft
(
PRInt32
*
aClientLeft
)
;
nsresult
GetClientLeft
(
PRInt32
*
aClientLeft
)
;
nsresult
GetClientWidth
(
PRInt32
*
aClientWidth
)
;
nsresult
GetClientWidth
(
PRInt32
*
aClientWidth
)
;
nsresult
GetClientHeight
(
PRInt32
*
aClientHeight
)
;
nsresult
GetClientHeight
(
PRInt32
*
aClientHeight
)
;
nsresult
GetScrollLeftMax
(
PRInt32
*
aScrollLeftMax
)
;
nsresult
GetScrollTopMax
(
PRInt32
*
aScrollTopMax
)
;
nsresult
MozMatchesSelector
(
const
nsAString
*
selector
,
bool
*
_retval
)
;
nsresult
MozMatchesSelector
(
const
nsAString
*
selector
,
bool
*
_retval
)
;
nsresult
SetCapture
(
bool
retargetToElement
)
;
nsresult
SetCapture
(
bool
retargetToElement
)
;
nsresult
ReleaseCapture
()
;
nsresult
ReleaseCapture
()
;
...
@@ -988,7 +975,7 @@ cpp_quote("#undef GetClassName")
...
@@ -988,7 +975,7 @@ cpp_quote("#undef GetClassName")
[
[
object
,
object
,
uuid
(
5
c8b21bc
-
ef6e
-
4599
-
a26f
-
facc05b4adbe
),
uuid
(
9
a677a5b
-
e6f7
-
4
e2e
-
9
ef9
-
22
c2ac9967b3
),
local
local
]
]
interface
nsIDOMHTMLElement
:
nsIDOMElement
interface
nsIDOMHTMLElement
:
nsIDOMElement
...
@@ -1004,6 +991,19 @@ interface nsIDOMHTMLElement : nsIDOMElement
...
@@ -1004,6 +991,19 @@ interface nsIDOMHTMLElement : nsIDOMElement
nsresult
GetClassName
(
nsAString
*
aClassName
)
;
nsresult
GetClassName
(
nsAString
*
aClassName
)
;
nsresult
SetClassName
(
const
nsAString
*
aClassName
)
;
nsresult
SetClassName
(
const
nsAString
*
aClassName
)
;
nsresult
GetDataset
(
nsIDOMDOMStringMap
**
aDataset
)
;
nsresult
GetDataset
(
nsIDOMDOMStringMap
**
aDataset
)
;
nsresult
GetItemScope
(
bool
*
aItemScope
)
;
nsresult
SetItemScope
(
bool
aItemScope
)
;
nsresult
GetItemType
(
nsIVariant
**
aItemType
)
;
nsresult
SetItemType
(
nsIVariant
*
aItemType
)
;
nsresult
GetItemId
(
nsAString
*
aItemId
)
;
nsresult
SetItemId
(
const
nsAString
*
aItemId
)
;
nsresult
GetProperties
(
nsIDOMHTMLPropertiesCollection
**
aProperties
)
;
nsresult
GetItemValue
(
nsIVariant
**
aItemValue
)
;
nsresult
SetItemValue
(
nsIVariant
*
aItemValue
)
;
nsresult
GetItemProp
(
nsIVariant
**
aItemProp
)
;
nsresult
SetItemProp
(
nsIVariant
*
aItemProp
)
;
nsresult
GetItemRef
(
nsIVariant
**
aItemRef
)
;
nsresult
SetItemRef
(
nsIVariant
*
aItemRef
)
;
nsresult
GetHidden
(
bool
*
aHidden
)
;
nsresult
GetHidden
(
bool
*
aHidden
)
;
nsresult
SetHidden
(
bool
aHidden
)
;
nsresult
SetHidden
(
bool
aHidden
)
;
nsresult
Click
()
;
nsresult
Click
()
;
...
@@ -1037,6 +1037,16 @@ interface nsIDOMHTMLElement : nsIDOMElement
...
@@ -1037,6 +1037,16 @@ interface nsIDOMHTMLElement : nsIDOMElement
[
[
object
,
object
,
uuid
(
8b38545
f
-
7
fa5
-
47
d5
-
a902
-
c8ea8e78fb0d
),
local
]
interface
nsIDOMHTMLHeadElement
:
nsIDOMHTMLElement
{
}
[
object
,
uuid
(
b7ccd7b3
-
86
aa
-
4322
-
a50c
-
b972643bb662
),
uuid
(
b7ccd7b3
-
86
aa
-
4322
-
a50c
-
b972643bb662
),
local
local
]
]
...
@@ -1171,7 +1181,7 @@ interface nsIDOMDocument : nsIDOMNode
...
@@ -1171,7 +1181,7 @@ interface nsIDOMDocument : nsIDOMNode
[
[
object,
object,
uuid(
1b93973f-28cc-4f33-8e7b-b89c63aa9200
),
uuid(
ecae54c6-2ab9-4167-b0ef-61960aadbb68
),
local
local
]
]
interface nsIDOMHTMLDocument : nsIDOMDocument
interface nsIDOMHTMLDocument : nsIDOMDocument
...
@@ -1192,6 +1202,7 @@ interface nsIDOMHTMLDocument : nsIDOMDocument
...
@@ -1192,6 +1202,7 @@ interface nsIDOMHTMLDocument : nsIDOMDocument
nsresult GetForms(nsIDOMHTMLCollection **aForms);
nsresult GetForms(nsIDOMHTMLCollection **aForms);
nsresult GetScripts(nsIDOMHTMLCollection **aScripts);
nsresult GetScripts(nsIDOMHTMLCollection **aScripts);
nsresult GetElementsByName(const nsAString *elementName, nsIDOMNodeList **_retval);
nsresult GetElementsByName(const nsAString *elementName, nsIDOMNodeList **_retval);
nsresult GetItems(const nsAString *types, nsIDOMNodeList **_retval);
nsresult Open(const nsAString *aContentTypeOrUrl, const nsAString *aReplaceOrName, const nsAString *aFeatures,
nsresult Open(const nsAString *aContentTypeOrUrl, const nsAString *aReplaceOrName, const nsAString *aFeatures,
JSContext *cx, PRUint8 _argc, nsISupports **_retval);
JSContext *cx, PRUint8 _argc, nsISupports **_retval);
nsresult Close();
nsresult Close();
...
@@ -1271,7 +1282,7 @@ interface nsIDOMRange : nsISupports
...
@@ -1271,7 +1282,7 @@ interface nsIDOMRange : nsISupports
[
[
object,
object,
uuid(
5ac0cd5d-3c08-4c4c-8e70-230c433f5d5c
),
uuid(
12cf5a4d-fffb-4f2f-9cec-c65195661d76
),
local
local
]
]
interface nsISelection : nsISupports
interface nsISelection : nsISupports
...
@@ -1281,11 +1292,13 @@ interface nsISelection : nsISupports
...
@@ -1281,11 +1292,13 @@ interface nsISelection : nsISupports
nsresult GetFocusNode(nsIDOMNode **aFocusNode);
nsresult GetFocusNode(nsIDOMNode **aFocusNode);
nsresult GetFocusOffset(PRInt32 *aFocusOffset);
nsresult GetFocusOffset(PRInt32 *aFocusOffset);
nsresult GetIsCollapsed(bool *aIsCollapsed);
nsresult GetIsCollapsed(bool *aIsCollapsed);
bool /* don'
t
use
*/
Collapsed
()
;
nsresult
GetRangeCount
(
PRInt32
*
aRangeCount
)
;
nsresult
GetRangeCount
(
PRInt32
*
aRangeCount
)
;
nsresult
GetRangeAt
(
PRInt32
index
,
nsIDOMRange
**
_retval
)
;
nsresult
GetRangeAt
(
PRInt32
index
,
nsIDOMRange
**
_retval
)
;
nsresult
Collapse
(
nsIDOMNode
*
parentNode
,
PRInt32
offset
)
;
nsresult
Collapse
(
nsIDOMNode
*
parentNode
,
PRInt32
offset
)
;
nsresult
CollapseNative
(
nsINode
*
parentNode
,
PRInt32
offset
)
;
nsresult
CollapseNative
(
nsINode
*
parentNode
,
PRInt32
offset
)
;
nsresult
Extend
(
nsIDOMNode
*
parentNode
,
PRInt32
offset
)
;
nsresult
Extend
(
nsIDOMNode
*
parentNode
,
PRInt32
offset
)
;
nsresult
ExtendNative
(
nsINode
*
parentNode
,
PRInt32
offset
)
;
nsresult
CollapseToStart
()
;
nsresult
CollapseToStart
()
;
nsresult
CollapseToEnd
()
;
nsresult
CollapseToEnd
()
;
nsresult
ContainsNode
(
nsIDOMNode
*
node
,
bool
entirelyContained
,
bool
*
_retval
)
;
nsresult
ContainsNode
(
nsIDOMNode
*
node
,
bool
entirelyContained
,
bool
*
_retval
)
;
...
@@ -1295,7 +1308,7 @@ interface nsISelection : nsISupports
...
@@ -1295,7 +1308,7 @@ interface nsISelection : nsISupports
nsresult
RemoveAllRanges
()
;
nsresult
RemoveAllRanges
()
;
nsresult
DeleteFromDocument
()
;
nsresult
DeleteFromDocument
()
;
nsresult
SelectionLanguageChange
(
bool
langRTL
)
;
nsresult
SelectionLanguageChange
(
bool
langRTL
)
;
nsresult ToString(
PRUnichar *
*_retval);
nsresult
ToString
(
nsAString
*
_retval
)
;
nsresult
Modify
(
const
nsAString
*
alter
,
const
nsAString
*
direction
,
const
nsAString
*
granularity
)
;
nsresult
Modify
(
const
nsAString
*
alter
,
const
nsAString
*
direction
,
const
nsAString
*
granularity
)
;
}
}
...
@@ -1313,7 +1326,7 @@ interface nsIDOMWindowCollection : nsISupports
...
@@ -1313,7 +1326,7 @@ interface nsIDOMWindowCollection : nsISupports
[
[
object
,
object
,
uuid(
f6e3b10d-d5f4-4fcd-aa4c-5f98626d428a
),
uuid
(
a1af6cd9
-
c6e7
-
4037
-
99
f8
-
dbca1b03e345
),
local
local
]
]
interface
nsIDOMWindow
:
nsISupports
interface
nsIDOMWindow
:
nsISupports
...
@@ -1338,11 +1351,14 @@ interface nsIDOMWindow : nsISupports
...
@@ -1338,11 +1351,14 @@ interface nsIDOMWindow : nsISupports
nsresult
Focus
()
;
nsresult
Focus
()
;
nsresult
Blur
()
;
nsresult
Blur
()
;
nsresult
GetLength
(
PRUint32
*
aLength
)
;
nsresult
GetLength
(
PRUint32
*
aLength
)
;
nsresult GetTop(nsIDOMWindow **aTop);
nsresult
GetScriptableTop
(
nsIDOMWindow
**
aTop
)
;
nsresult
GetRealTop
(
nsIDOMWindow
**
aTop
)
;
nsresult
GetScriptableParent
(
nsIDOMWindow
**
aParent
)
;
nsresult
GetRealParent
(
nsIDOMWindow
**
aParent
)
;
nsresult
GetOpener
(
nsIDOMWindow
**
aOpener
)
;
nsresult
GetOpener
(
nsIDOMWindow
**
aOpener
)
;
nsresult
SetOpener
(
nsIDOMWindow
*
aOpener
)
;
nsresult
SetOpener
(
nsIDOMWindow
*
aOpener
)
;
nsresult Get
Parent(nsIDOMWindow **aPar
ent);
nsresult
Get
ScriptableFrameElement
(
nsIDOMElement
**
aFrameElem
ent
)
;
nsresult GetFrameElement(nsIDOMElement **aFrameElement);
nsresult
Get
Real
FrameElement
(
nsIDOMElement
**
aFrameElement
)
;
nsresult
GetNavigator
(
nsIDOMNavigator
**
aNavigator
)
;
nsresult
GetNavigator
(
nsIDOMNavigator
**
aNavigator
)
;
nsresult
GetApplicationCache
(
nsIDOMOfflineResourceList
**
aApplicationCache
)
;
nsresult
GetApplicationCache
(
nsIDOMOfflineResourceList
**
aApplicationCache
)
;
nsresult
Alert
(
const
nsAString
*
text
)
;
nsresult
Alert
(
const
nsAString
*
text
)
;
...
@@ -1446,6 +1462,12 @@ interface nsIDOMWindow : nsISupports
...
@@ -1446,6 +1462,12 @@ interface nsIDOMWindow : nsISupports
nsresult
SetOndevicemotion
(
JSContext
*
cx
,
const
jsval
*
aOndevicemotion
)
;
nsresult
SetOndevicemotion
(
JSContext
*
cx
,
const
jsval
*
aOndevicemotion
)
;
nsresult
GetOndeviceorientation
(
JSContext
*
cx
,
jsval
*
aOndeviceorientation
)
;
nsresult
GetOndeviceorientation
(
JSContext
*
cx
,
jsval
*
aOndeviceorientation
)
;
nsresult
SetOndeviceorientation
(
JSContext
*
cx
,
const
jsval
*
aOndeviceorientation
)
;
nsresult
SetOndeviceorientation
(
JSContext
*
cx
,
const
jsval
*
aOndeviceorientation
)
;
nsresult
GetOndeviceproximity
(
JSContext
*
cx
,
jsval
*
aOndeviceproximity
)
;
nsresult
SetOndeviceproximity
(
JSContext
*
cx
,
const
jsval
*
aOndeviceproximity
)
;
nsresult
GetOnuserproximity
(
JSContext
*
cx
,
jsval
*
aOndeviceproximity
)
;
nsresult
SetOnuserproximity
(
JSContext
*
cx
,
const
jsval
*
aOndeviceproximity
)
;
nsresult
GetOndevicelight
(
JSContext
*
cx
,
jsval
*
aOndevicelight
)
;
nsresult
SetOndevicelight
(
JSContext
*
cx
,
const
jsval
*
aOndevicelight
)
;
nsresult
GetOnmouseenter
(
JSContext
*
cx
,
jsval
*
aOnmouseenter
)
;
nsresult
GetOnmouseenter
(
JSContext
*
cx
,
jsval
*
aOnmouseenter
)
;
nsresult
SetOnmouseenter
(
JSContext
*
cx
,
const
jsval
*
aOnmouseenter
)
;
nsresult
SetOnmouseenter
(
JSContext
*
cx
,
const
jsval
*
aOnmouseenter
)
;
nsresult
GetOnmouseleave
(
JSContext
*
cx
,
jsval
*
aOnmouseleave
)
=
0
;
nsresult
GetOnmouseleave
(
JSContext
*
cx
,
jsval
*
aOnmouseleave
)
=
0
;
...
@@ -1531,7 +1553,7 @@ interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
...
@@ -1531,7 +1553,7 @@ interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
[
[
object
,
object
,
uuid(
05fedf7e-3050-4143-ab97-b994f3cc9329
),
uuid
(
c12471c8
-
155
f
-
4368
-
9
e8b
-
13
a231e85f3b
),
local
local
]
]
interface
nsIDOMHTMLInputElement
:
nsIDOMHTMLElement
interface
nsIDOMHTMLInputElement
:
nsIDOMHTMLElement
...
@@ -1562,11 +1584,17 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
...
@@ -1562,11 +1584,17 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
nsresult
GetFormTarget
(
nsAString
*
aFormTarget
)
;
nsresult
GetFormTarget
(
nsAString
*
aFormTarget
)
;
nsresult
SetFormTarget
(
const
nsAString
*
aFormTarget
)
;
nsresult
SetFormTarget
(
const
nsAString
*
aFormTarget
)
;
nsresult
GetFiles
(
nsIDOMFileList
**
aFiles
)
;
nsresult
GetFiles
(
nsIDOMFileList
**
aFiles
)
;
nsresult
GetHeight
(
PRUint32
*
aHeight
)
;
nsresult
SetHeight
(
PRUint32
aHeight
)
;
nsresult
GetIndeterminate
(
bool
*
aIndeterminate
)
;
nsresult
GetIndeterminate
(
bool
*
aIndeterminate
)
;
nsresult
SetIndeterminate
(
bool
aIndeterminate
)
;
nsresult
SetIndeterminate
(
bool
aIndeterminate
)
;
nsresult
GetList
(
nsIDOMHTMLElement
**
aList
)
;
nsresult
GetList
(
nsIDOMHTMLElement
**
aList
)
;
nsresult
GetMax
(
nsAString
*
aMax
)
;
nsresult
SetMax
(
const
nsAString
*
aMax
)
;
nsresult
GetMaxLength
(
PRInt32
*
aMaxLength
)
;
nsresult
GetMaxLength
(
PRInt32
*
aMaxLength
)
;
nsresult
SetMaxLength
(
PRInt32
aMaxLength
)
;
nsresult
SetMaxLength
(
PRInt32
aMaxLength
)
;
nsresult
GetMin
(
nsAString
*
aMin
)
;
nsresult
SetMin
(
const
nsAString
*
aMin
)
;
nsresult
GetMultiple
(
bool
*
aMultiple
)
;
nsresult
GetMultiple
(
bool
*
aMultiple
)
;
nsresult
SetMultiple
(
bool
aMultiple
)
;
nsresult
SetMultiple
(
bool
aMultiple
)
;
nsresult
GetName
(
nsAString
*
aName
)
;
nsresult
GetName
(
nsAString
*
aName
)
;
...
@@ -1579,10 +1607,14 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
...
@@ -1579,10 +1607,14 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
nsresult
SetReadOnly
(
bool
aReadOnly
)
;
nsresult
SetReadOnly
(
bool
aReadOnly
)
;
nsresult
GetRequired
(
bool
*
aRequired
)
;
nsresult
GetRequired
(
bool
*
aRequired
)
;
nsresult
SetRequired
(
bool
aRequired
)
;
nsresult
SetRequired
(
bool
aRequired
)
;
nsresult
GetStep
(
nsAString
*
aStep
)
;
nsresult
SetStep
(
const
nsAString
*
aStep
)
;
nsresult
GetAlign
(
nsAString
*
aAlign
)
;
nsresult
GetAlign
(
nsAString
*
aAlign
)
;
nsresult
SetAlign
(
const
nsAString
*
aAlign
)
;
nsresult
SetAlign
(
const
nsAString
*
aAlign
)
;
nsresult
GetSize
(
PRUint32
*
aSize
)
;
nsresult
GetSize
(
PRUint32
*
aSize
)
;
nsresult
SetSize
(
PRUint32
aSize
)
;
nsresult
SetSize
(
PRUint32
aSize
)
;
nsresult
GetWidth
(
PRUint32
*
aWidth
)
;
nsresult
SetWidth
(
PRUint32
aWidth
)
;
nsresult
GetSrc
(
nsAString
*
aSrc
)
;
nsresult
GetSrc
(
nsAString
*
aSrc
)
;
nsresult
SetSrc
(
const
nsAString
*
aSrc
)
;
nsresult
SetSrc
(
const
nsAString
*
aSrc
)
;
nsresult
GetType
(
nsAString
*
aType
)
;
nsresult
GetType
(
nsAString
*
aType
)
;
...
@@ -1591,6 +1623,10 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
...
@@ -1591,6 +1623,10 @@ interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
nsresult
SetDefaultValue
(
const
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
GetValueAsNumber
(
double
*
aValueAsNumber
)
;
nsresult
SetValueAsNumber
(
double
aValueAsNumber
)
;
nsresult
StepDown
(
PRInt32
n
,
PRUint8
_argc
)
;
nsresult
StepUp
(
PRInt32
n
,
PRUint8
_argc
)
;
nsresult
GetWillValidate
(
bool
*
aWillValidate
)
;
nsresult
GetWillValidate
(
bool
*
aWillValidate
)
;
nsresult
GetValidity
(
nsIDOMValidityState
**
aValidity
)
;
nsresult
GetValidity
(
nsIDOMValidityState
**
aValidity
)
;
nsresult
GetValidationMessage
(
nsAString
*
aValidationMessage
)
;
nsresult
GetValidationMessage
(
nsAString
*
aValidationMessage
)
;
...
@@ -1660,7 +1696,7 @@ interface nsIDOMHTMLOptionsCollection : nsISupports
...
@@ -1660,7 +1696,7 @@ interface nsIDOMHTMLOptionsCollection : nsISupports
[
[
object
,
object
,
uuid(
2a50d295-8db8-4223-ae0d-070c6eb6c7
6e),
uuid
(
e85194cf
-
56
e6
-
44
a6
-
92
d9
-
0096
c9d253
6e
),
local
local
]
]
interface
nsIDOMHTMLSelectElement
:
nsIDOMHTMLElement
interface
nsIDOMHTMLSelectElement
:
nsIDOMHTMLElement
...
@@ -1674,8 +1710,8 @@ interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
...
@@ -1674,8 +1710,8 @@ interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
nsresult
SetMultiple
(
bool
aMultiple
)
;
nsresult
SetMultiple
(
bool
aMultiple
)
;
nsresult
GetName
(
nsAString
*
aName
)
;
nsresult
GetName
(
nsAString
*
aName
)
;
nsresult
SetName
(
const
nsAString
*
aName
)
;
nsresult
SetName
(
const
nsAString
*
aName
)
;
nsresult GetSize(PR
I
nt32 *aSize);
nsresult
GetSize
(
PR
Ui
nt32
*
aSize
)
;
nsresult SetSize(PR
I
nt32 aSize);
nsresult
SetSize
(
PR
Ui
nt32
aSize
)
;
nsresult
GetType
(
nsAString
*
aType
)
;
nsresult
GetType
(
nsAString
*
aType
)
;
nsresult
GetOptions
(
nsIDOMHTMLOptionsCollection
**
aOptions
)
;
nsresult
GetOptions
(
nsIDOMHTMLOptionsCollection
**
aOptions
)
;
nsresult
GetLength
(
PRUint32
*
aLength
)
;
nsresult
GetLength
(
PRUint32
*
aLength
)
;
...
@@ -1776,7 +1812,7 @@ interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
...
@@ -1776,7 +1812,7 @@ interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
[
[
object
,
object
,
uuid(
c4ef8a40-dd56-4b95-a007-630a0ac04341
),
uuid
(
76
cf0381
-
19
fd
-
442
d
-
bb18
-
c794fd8b5c25
),
local
local
]
]
interface
nsIDOMHTMLImageElement
:
nsIDOMHTMLElement
interface
nsIDOMHTMLImageElement
:
nsIDOMHTMLElement
...
@@ -2069,6 +2105,7 @@ interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
...
@@ -2069,6 +2105,7 @@ interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
nsresult
SetMedia
(
const
nsAString
*
aMedia
)
;
nsresult
SetMedia
(
const
nsAString
*
aMedia
)
;
nsresult
GetType
(
nsAString
*
aType
)
;
nsresult
GetType
(
nsAString
*
aType
)
;
nsresult
SetType
(
const
nsAString
*
aType
)
;
nsresult
SetType
(
const
nsAString
*
aType
)
;
nsresult
GetDOMStyleSheet
(
nsIDOMStyleSheet
**
aDOMStyleSheet
)
;
}
}
[
[
...
@@ -2132,6 +2169,7 @@ interface nsIWebBrowser : nsISupports
...
@@ -2132,6 +2169,7 @@ interface nsIWebBrowser : nsISupports
cpp_quote
(
"#define SETUP_ALLOW_JAVASCRIPT 2"
)
cpp_quote
(
"#define SETUP_ALLOW_JAVASCRIPT 2"
)
cpp_quote
(
"#define SETUP_IS_CHROME_WRAPPER 7"
)
cpp_quote
(
"#define SETUP_IS_CHROME_WRAPPER 7"
)
cpp_quote
(
"#define SETUP_DISABLE_NOSCRIPT 16"
)
[
[
object
,
object
,
...
@@ -2489,6 +2527,23 @@ interface nsIFile : nsISupports
...
@@ -2489,6 +2527,23 @@ interface nsIFile : nsISupports
[
[
object
,
object
,
uuid
(
1
d940426
-
5
fe5
-
42
c3
-
84
ae
-
a300f2d9ebd5
),
local
]
interface
nsIComponentManager
:
nsISupports
{
nsresult
GetClassObject
(
nsCIDRef
aClass
,
nsIIDRef
aIID
,
void
**
result
)
;
nsresult
GetClassObjectByContractID
(
const
char
*
aContractID
,
nsIIDRef
aIID
,
void
**
result
)
;
nsresult
CreateInstance
(
nsCIDRef
aClass
,
nsISupports
*
aDelegate
,
nsIIDRef
aIID
,
void
**
result
)
;
nsresult
CreateInstanceByContractID
(
const
char
*
aContractID
,
nsISupports
*
aDelegate
,
nsIIDRef
aIID
,
void
**
result
)
;
nsresult
AddBootstrappedManifestLocation
(
nsIFile
*
aLocation
)
;
nsresult
RemoveBootstrappedManifestLocation
(
nsIFile
*
aLocation
)
;
}
[
object
,
uuid
(
7
df46a54
-
d8b0
-448e-903
c
-
4341
a1b2499c
),
uuid
(
7
df46a54
-
d8b0
-448e-903
c
-
4341
a1b2499c
),
local
local
]
]
...
@@ -2667,7 +2722,7 @@ interface nsIDOMEventTarget : nsISupports
...
@@ -2667,7 +2722,7 @@ interface nsIDOMEventTarget : nsISupports
[
[
object
,
object
,
uuid(
e85cff74-951f-45c1-be0c-89442ea2f500
),
uuid
(
a7dc0284
-
5832
-
4034
-
a8a5
-
d860ce0f21d3
),
local
local
]
]
interface
nsIDOMEvent
:
nsISupports
interface
nsIDOMEvent
:
nsISupports
...
@@ -2684,11 +2739,18 @@ interface nsIDOMEvent : nsISupports
...
@@ -2684,11 +2739,18 @@ interface nsIDOMEvent : nsISupports
nsresult
InitEvent
(
const
nsAString
*
eventTypeArg
,
bool
canBubbleArg
,
bool
cancelableArg
)
;
nsresult
InitEvent
(
const
nsAString
*
eventTypeArg
,
bool
canBubbleArg
,
bool
cancelableArg
)
;
nsresult
GetDefaultPrevented
(
bool
*
aDefaultPrevented
)
;
nsresult
GetDefaultPrevented
(
bool
*
aDefaultPrevented
)
;
nsresult
StopImmediatePropagation
()
;
nsresult
StopImmediatePropagation
()
;
nsresult
DuplicatePrivateData
()
;
nsresult
SetTarget
(
nsIDOMEventTarget
*
aTarget
)
;
bool
IsDispatchStopped
()
;
/*
nsEvent
*/
void
*
GetInternalNSEvent
()
;
nsresult
SetTrusted
(
bool
aTrusted
)
;
void
Serialize
(
/*
IPC
::
Message
*/
void
*
aMsg
,
bool
aSerializeInterfaceType
)
;
bool
Deserialize
(
const
/*
IPC
::
Message
*/
void
*
aMsg
,
void
**
aIter
)
;
}
}
[
[
object
,
object
,
uuid(
2b3ac53c-2a88-421f-af09-f10665c88acf
),
uuid
(
858578
f1
-
9653
-
4
d5c
-
821
a
-
07479b
f2d9b2
),
local
local
]
]
interface
nsIDOMWindowUtils
:
nsISupports
interface
nsIDOMWindowUtils
:
nsISupports
...
@@ -2714,7 +2776,7 @@ interface nsIDOMWindowUtils : nsISupports
...
@@ -2714,7 +2776,7 @@ interface nsIDOMWindowUtils : nsISupports
nsresult
SendMouseScrollEvent
(
const
nsAString
*
aType
,
float
aX
,
float
aY
,
PRInt32
aButton
,
PRInt32
aScrollFlags
,
nsresult
SendMouseScrollEvent
(
const
nsAString
*
aType
,
float
aX
,
float
aY
,
PRInt32
aButton
,
PRInt32
aScrollFlags
,
PRInt32
aDelta
,
PRInt32
aModifiers
)
;
PRInt32
aDelta
,
PRInt32
aModifiers
)
;
nsresult
SendKeyEvent
(
const
nsAString
*
aType
,
PRInt32
aKeyCode
,
PRInt32
aCharCode
,
PRInt32
aModifiers
,
nsresult
SendKeyEvent
(
const
nsAString
*
aType
,
PRInt32
aKeyCode
,
PRInt32
aCharCode
,
PRInt32
aModifiers
,
bool aPreventDefault
, bool *_retval);
PRUint32
aAdditionalFlags
,
bool
*
_retval
)
;
nsresult
SendNativeKeyEvent
(
PRInt32
aNativeKeyboardLayout
,
PRInt32
aNativeKeyCode
,
PRInt32
aModifierFlags
,
nsresult
SendNativeKeyEvent
(
PRInt32
aNativeKeyboardLayout
,
PRInt32
aNativeKeyCode
,
PRInt32
aModifierFlags
,
const
nsAString
*
aCharacters
,
const
nsAString
*
aUnmodifiedCharacters
)
;
const
nsAString
*
aCharacters
,
const
nsAString
*
aUnmodifiedCharacters
)
;
nsresult
SendNativeMouseEvent
(
PRInt32
aScreenX
,
PRInt32
aScreenY
,
PRInt32
aNativeMessage
,
PRInt32
aModifierFlags
,
nsresult
SendNativeMouseEvent
(
PRInt32
aScreenX
,
PRInt32
aScreenY
,
PRInt32
aNativeMessage
,
PRInt32
aModifierFlags
,
...
@@ -2727,7 +2789,7 @@ interface nsIDOMWindowUtils : nsISupports
...
@@ -2727,7 +2789,7 @@ interface nsIDOMWindowUtils : nsISupports
nsresult
GarbageCollect
(
nsICycleCollectorListener
*
aListener
,
PRInt32
aExtraForgetSkippableCalls
)
;
nsresult
GarbageCollect
(
nsICycleCollectorListener
*
aListener
,
PRInt32
aExtraForgetSkippableCalls
)
;
nsresult
CycleCollect
(
nsICycleCollectorListener
*
aListener
,
PRInt32
aExtraForgetSkippableCalls
)
;
nsresult
CycleCollect
(
nsICycleCollectorListener
*
aListener
,
PRInt32
aExtraForgetSkippableCalls
)
;
nsresult
SendSimpleGestureEvent
(
const
nsAString
*
aType
,
float
aX
,
float
aY
,
PRUint32
aDirection
,
double
aDelta
,
nsresult
SendSimpleGestureEvent
(
const
nsAString
*
aType
,
float
aX
,
float
aY
,
PRUint32
aDirection
,
double
aDelta
,
PRInt32 aModifiers);
PRInt32
aModifiers
,
PRUint32
aClickCount
)
;
nsresult
ElementFromPoint
(
float
aX
,
float
aY
,
bool
aIgnoreRootScrollFrame
,
bool
aFlushLayout
,
nsIDOMElement
**
_retval
)
;
nsresult
ElementFromPoint
(
float
aX
,
float
aY
,
bool
aIgnoreRootScrollFrame
,
bool
aFlushLayout
,
nsIDOMElement
**
_retval
)
;
nsresult
NodesFromRect
(
float
aX
,
float
aY
,
float
aTopSize
,
float
aRightSize
,
float
aBottomSize
,
float
aLeftSize
,
nsresult
NodesFromRect
(
float
aX
,
float
aY
,
float
aTopSize
,
float
aRightSize
,
float
aBottomSize
,
float
aLeftSize
,
bool
aIgnoreRootScrollFrame
,
bool
aFlushLayout
,
nsIDOMNodeList
**
_retval
)
;
bool
aIgnoreRootScrollFrame
,
bool
aFlushLayout
,
nsIDOMNodeList
**
_retval
)
;
...
@@ -2782,7 +2844,11 @@ interface nsIDOMWindowUtils : nsISupports
...
@@ -2782,7 +2844,11 @@ interface nsIDOMWindowUtils : nsISupports
nsresult
LeafLayersPartitionWindow
(
bool
*
_retval
)
;
nsresult
LeafLayersPartitionWindow
(
bool
*
_retval
)
;
nsresult
GetMayHaveTouchEventListeners
(
bool
*
aMayHaveTouchEventListeners
)
;
nsresult
GetMayHaveTouchEventListeners
(
bool
*
aMayHaveTouchEventListeners
)
;
nsresult
CheckAndClearPaintedState
(
nsIDOMElement
*
aElement
,
bool
*
_retval
)
;
nsresult
CheckAndClearPaintedState
(
nsIDOMElement
*
aElement
,
bool
*
_retval
)
;
nsresult GetFileId(nsIDOMBlob *aBlob, PRInt64 *_retval);
nsresult
GetFile
(
const
nsAString
*
aName
,
const
/*
JS
::
Value
*/
void
*
aBlobParts
,
const
/*
JS
::
Value
*/
void
*
aParameters
,
JSContext
*
cx
,
PRUint8
_argc
,
nsIDOMFile
**
_retval
)
;
nsresult
GetBlob
(
const
/*
JS
::
Value
*/
void
*
aBlobParts
,
const
/*
JS
::
Value
*/
void
*
aParameters
,
JSContext
*
cx
,
PRUint8
_argc
,
nsIDOMBlob
*
_retval
)
;
nsresult
GetFileId
(
const
/*
JS
::
Value
*/
void
*
aFile
,
JSContext
*
cx
,
PRInt64
*
_retval
)
;
nsresult
GetFileReferences
(
const
nsAString
*
aDatabaseName
,
PRInt64
aId
,
PRInt32
*
aRefCnt
,
PRInt32
*
aDBRefCnt
,
nsresult
GetFileReferences
(
const
nsAString
*
aDatabaseName
,
PRInt64
aId
,
PRInt32
*
aRefCnt
,
PRInt32
*
aDBRefCnt
,
PRInt32
*
aSliceRefCnt
,
bool
*
_retval
)
;
PRInt32
*
aSliceRefCnt
,
bool
*
_retval
)
;
nsresult
IsIncrementalGCEnabled
(
JSContext
*
cx
,
bool
*
_retval
)
;
nsresult
IsIncrementalGCEnabled
(
JSContext
*
cx
,
bool
*
_retval
)
;
...
@@ -2795,6 +2861,9 @@ interface nsIDOMWindowUtils : nsISupports
...
@@ -2795,6 +2861,9 @@ interface nsIDOMWindowUtils : nsISupports
nsresult
GetPaintingSuppressed
(
bool
*
aPaintingSuppressed
)
;
nsresult
GetPaintingSuppressed
(
bool
*
aPaintingSuppressed
)
;
nsresult
GetPlugins
(
JSContext
*
cx
,
/*
JS
::
Value
*/
void
*
aPlugins
)
;
nsresult
GetPlugins
(
JSContext
*
cx
,
/*
JS
::
Value
*/
void
*
aPlugins
)
;
nsresult
SetScrollPositionClampingScrollPortSize
(
float
aWidth
,
float
aHeight
)
;
nsresult
SetScrollPositionClampingScrollPortSize
(
float
aWidth
,
float
aHeight
)
;
nsresult
SetIsApp
(
bool
value
)
;
nsresult
SetApp
(
const
nsAString
*
manifestURL
)
;
nsresult
GetApp
(
mozIDOMApplication
**
_retval
)
;
}
}
cpp_quote
(
"#define CONTEXT_NONE 0x00"
)
cpp_quote
(
"#define CONTEXT_NONE 0x00"
)
...
@@ -2817,7 +2886,7 @@ interface nsIContextMenuListener : nsISupports
...
@@ -2817,7 +2886,7 @@ interface nsIContextMenuListener : nsISupports
[
[
object
,
object
,
uuid(
af3f130e-0c22-4613-a150-780a46c22e3a
),
uuid
(
6
e6f00c2
-
29
d9
-
452
c
-
b804
-
5
abb2dc429f3
),
local
local
]
]
interface
nsIDOMUIEvent
:
nsIDOMEvent
interface
nsIDOMUIEvent
:
nsIDOMEvent
...
@@ -2840,7 +2909,7 @@ interface nsIDOMUIEvent : nsIDOMEvent
...
@@ -2840,7 +2909,7 @@ interface nsIDOMUIEvent : nsIDOMEvent
[
[
object
,
object
,
uuid(
53e29996-f851-4032-b896-8aafbd0Bdf25
),
uuid
(
6
f4bc64b
-
1
aac
-
4251
-
82
d3
-
fd2dc76654a0
),
local
local
]
]
interface
nsIDOMMouseEvent
:
nsIDOMUIEvent
interface
nsIDOMMouseEvent
:
nsIDOMUIEvent
...
@@ -2856,6 +2925,7 @@ interface nsIDOMMouseEvent : nsIDOMUIEvent
...
@@ -2856,6 +2925,7 @@ interface nsIDOMMouseEvent : nsIDOMUIEvent
nsresult
GetAltKey
(
bool
*
aAltKey
)
;
nsresult
GetAltKey
(
bool
*
aAltKey
)
;
nsresult
GetMetaKey
(
bool
*
aMetaKey
)
;
nsresult
GetMetaKey
(
bool
*
aMetaKey
)
;
nsresult
GetButton
(
PRUint16
*
aButton
)
;
nsresult
GetButton
(
PRUint16
*
aButton
)
;
nsresult
GetButtons
(
PRUint16
*
aButtons
)
;
nsresult
GetRelatedTarget
(
nsIDOMEventTarget
**
aRelatedTarget
)
;
nsresult
GetRelatedTarget
(
nsIDOMEventTarget
**
aRelatedTarget
)
;
nsresult
InitMouseEvent
(
const
nsAString
*
typeArg
,
bool
canBubbleArg
,
bool
cancelableArg
,
nsresult
InitMouseEvent
(
const
nsAString
*
typeArg
,
bool
canBubbleArg
,
bool
cancelableArg
,
nsIDOMWindow
*
viewArg
,
PRInt32
detailArg
,
PRInt32
screenXArg
,
PRInt32
screenYArg
,
nsIDOMWindow
*
viewArg
,
PRInt32
detailArg
,
PRInt32
screenXArg
,
PRInt32
screenYArg
,
...
@@ -2869,11 +2939,12 @@ interface nsIDOMMouseEvent : nsIDOMUIEvent
...
@@ -2869,11 +2939,12 @@ interface nsIDOMMouseEvent : nsIDOMUIEvent
PRInt32
clientXArg
,
PRInt32
clientYArg
,
bool
ctrlKeyArg
,
bool
altKeyArg
,
bool
shiftKeyArg
,
PRInt32
clientXArg
,
PRInt32
clientYArg
,
bool
ctrlKeyArg
,
bool
altKeyArg
,
bool
shiftKeyArg
,
bool
metaKeyArg
,
PRUint16
buttonArg
,
nsIDOMEventTarget
*
relatedTargetArg
,
float
pressure
,
bool
metaKeyArg
,
PRUint16
buttonArg
,
nsIDOMEventTarget
*
relatedTargetArg
,
float
pressure
,
PRUint16
inputSourceArg
)
;
PRUint16
inputSourceArg
)
;
nsresult
GetModifierState
(
const
nsAString
*
keyArg
,
bool
*
_retval
)
;
}
}
[
[
object
,
object
,
uuid(
def974c3-b491-481b-bc67-29174af4b26a
),
uuid
(
c43c4852
-
5b
b6
-
409
f
-
82
cd
-
4
f5e842b7208
),
local
local
]
]
interface
nsIDOMKeyEvent
:
nsIDOMUIEvent
interface
nsIDOMKeyEvent
:
nsIDOMUIEvent
...
@@ -2888,11 +2959,13 @@ interface nsIDOMKeyEvent : nsIDOMUIEvent
...
@@ -2888,11 +2959,13 @@ interface nsIDOMKeyEvent : nsIDOMUIEvent
bool
cancelableArg
,
nsIDOMWindow
*
viewArg
,
bool
ctrlKeyArg
,
bool
cancelableArg
,
nsIDOMWindow
*
viewArg
,
bool
ctrlKeyArg
,
bool
altKeyArg
,
bool
shiftKeyArg
,
bool
metaKeyArg
,
PRUint32
keyCodeArg
,
bool
altKeyArg
,
bool
shiftKeyArg
,
bool
metaKeyArg
,
PRUint32
keyCodeArg
,
PRUint32
charCodeArg
)
;
PRUint32
charCodeArg
)
;
nsresult
GetModifierState
(
const
nsAString
*
keyArg
,
bool
*
_retval
)
;
nsresult
GetLocation
(
PRUint32
*
aLocation
)
;
}
}
[
[
object
,
object
,
uuid(
3e5432cd-9568-4bd1-8cbe-d50aba110743
),
uuid
(
0b976267
-
4
aaa
-
4
f36
-
a2d4
-
27b5
ca8d73bb
),
local
local
]
]
interface
nsIEmbeddingSiteWindow
:
nsISupports
interface
nsIEmbeddingSiteWindow
:
nsISupports
...
@@ -2905,6 +2978,7 @@ interface nsIEmbeddingSiteWindow : nsISupports
...
@@ -2905,6 +2978,7 @@ interface nsIEmbeddingSiteWindow : nsISupports
nsresult
GetTitle
(
PRUnichar
**
aTitle
)
;
nsresult
GetTitle
(
PRUnichar
**
aTitle
)
;
nsresult
SetTitle
(
const
PRUnichar
*
aTitle
)
;
nsresult
SetTitle
(
const
PRUnichar
*
aTitle
)
;
nsresult
GetSiteWindow
(
void
**
aSiteWindow
)
;
nsresult
GetSiteWindow
(
void
**
aSiteWindow
)
;
nsresult
Blur
()
;
}
}
[
[
...
@@ -3087,7 +3161,7 @@ interface nsIController : nsISupports
...
@@ -3087,7 +3161,7 @@ interface nsIController : nsISupports
[
[
object
,
object
,
uuid(
a887c108-c25e-42ab-87ef-ad4bee502828
),
uuid
(
98
fb308d
-
c6dd
-
4
c6d
-
b77c
-
91180
cf06f23
),
local
local
]
]
interface
nsIContent
:
nsISupports
interface
nsIContent
:
nsISupports
...
@@ -3097,7 +3171,7 @@ interface nsIContent : nsISupports
...
@@ -3097,7 +3171,7 @@ interface nsIContent : nsISupports
[
[
object,
object,
uuid
(
8
e51e6d9
-914d-46
ba
-
b311
-
2
f273de60d19
),
uuid(8
c6a1e62-d5ad-4297-b941-6449222ec4f0
),
local
local
]
]
interface nsIDocument : nsISupports
interface nsIDocument : nsISupports
...
@@ -3131,7 +3205,7 @@ interface nsIContentSerializer : nsISupports
...
@@ -3131,7 +3205,7 @@ interface nsIContentSerializer : nsISupports
[
[
object
,
object
,
uuid(
2e14b183-29d4-4282-9475-589277a70654
),
uuid
(
7
ad59e28
-
f3d5
-
4
e14
-
8
ea3
-
794
ad4a86de3
),
local
local
]
]
interface
nsIEditor
:
nsISupports
interface
nsIEditor
:
nsISupports
...
@@ -3153,7 +3227,7 @@ interface nsIEditor : nsISupports
...
@@ -3153,7 +3227,7 @@ interface nsIEditor : nsISupports
nsresult
GetDocument
(
[
out
]
nsIDOMDocument
**
_retval
)
;
nsresult
GetDocument
(
[
out
]
nsIDOMDocument
**
_retval
)
;
nsresult
GetRootElement
(
[
out
]
nsIDOMElement
**
_retval
)
;
nsresult
GetRootElement
(
[
out
]
nsIDOMElement
**
_retval
)
;
nsresult
GetSelectionController
(
[
out
]
nsISelectionController
**
_retval
)
;
nsresult
GetSelectionController
(
[
out
]
nsISelectionController
**
_retval
)
;
nsresult DeleteSelection(
[in] PRInt16 action
);
nsresult
DeleteSelection
(
PRInt16
action
,
PRInt16
aStripWrappers
)
;
nsresult
GetDocumentIsEmpty
(
[
out
]
bool
*
_retval
)
;
nsresult
GetDocumentIsEmpty
(
[
out
]
bool
*
_retval
)
;
nsresult
GetDocumentModified
(
[
out
]
bool
*
_retval
)
;
nsresult
GetDocumentModified
(
[
out
]
bool
*
_retval
)
;
nsresult
GetDocumentCharacterSet
(
[
out
]
nsACString
*
_retval
)
;
nsresult
GetDocumentCharacterSet
(
[
out
]
nsACString
*
_retval
)
;
...
@@ -3201,6 +3275,7 @@ interface nsIEditor : nsISupports
...
@@ -3201,6 +3275,7 @@ interface nsIEditor : nsISupports
nsresult
SplitNode
(
[
in
]
nsIDOMNode
*
existingRightNode
,
[
in
]
PRInt32
offset
,
[
out
]
nsIDOMNode
**
newLeftNode
)
;
nsresult
SplitNode
(
[
in
]
nsIDOMNode
*
existingRightNode
,
[
in
]
PRInt32
offset
,
[
out
]
nsIDOMNode
**
newLeftNode
)
;
nsresult
JoinNodes
(
[
in
]
nsIDOMNode
*
leftNode
,
[
in
]
nsIDOMNode
*
rightNode
,
[
in
]
nsIDOMNode
*
parent
)
;
nsresult
JoinNodes
(
[
in
]
nsIDOMNode
*
leftNode
,
[
in
]
nsIDOMNode
*
rightNode
,
[
in
]
nsIDOMNode
*
parent
)
;
nsresult
DeleteNode
(
[
in
]
nsIDOMNode
*
child
)
;
nsresult
DeleteNode
(
[
in
]
nsIDOMNode
*
child
)
;
bool
OutputsMozDirty
()
;
nsresult
MarkNodeDirty
(
[
in
]
nsIDOMNode
*
node
)
;
nsresult
MarkNodeDirty
(
[
in
]
nsIDOMNode
*
node
)
;
nsresult
SwitchTextDirection
()
;
nsresult
SwitchTextDirection
()
;
nsresult
OutputToString
(
[
in
]
nsAString
formatType
,
[
in
]
PRUint32
flags
,
[
out
]
nsAString
*
_retval
)
;
nsresult
OutputToString
(
[
in
]
nsAString
formatType
,
[
in
]
PRUint32
flags
,
[
out
]
nsAString
*
_retval
)
;
...
@@ -3280,12 +3355,12 @@ interface nsIHTMLEditor : nsISupports
...
@@ -3280,12 +3355,12 @@ interface nsIHTMLEditor : nsISupports
nsresult
GetReturnInParagraphCreatesNewParagraph
(
[
out
]
bool
*
_retval
)
;
nsresult
GetReturnInParagraphCreatesNewParagraph
(
[
out
]
bool
*
_retval
)
;
nsresult
SetReturnInParagraphCreatesNewParagraph
(
[
in
]
bool
prb
)
;
nsresult
SetReturnInParagraphCreatesNewParagraph
(
[
in
]
bool
prb
)
;
nsresult
BreakIsVisible
(
nsIDOMNode
*
aNode
,
bool
*
_retval
)
;
nsresult
BreakIsVisible
(
nsIDOMNode
*
aNode
,
bool
*
_retval
)
;
nsIContent
*GetActiveEditingHost();
void
/*
Element
*/
*
GetActiveEditingHost
()
;
}
}
[
[
object
,
object
,
uuid(
c7325422-817e-4321-957a-c0bdd764941d
),
uuid
(
89
ea9f32
-
18
ec
-
413b
-
9
e2c
-
ce9a4c851b1c
),
local
local
]
]
interface
nsIDocShell
:
nsISupports
interface
nsIDocShell
:
nsISupports
...
@@ -3311,6 +3386,8 @@ interface nsIDocShell : nsISupports
...
@@ -3311,6 +3386,8 @@ interface nsIDocShell : nsISupports
nsresult
SetAllowPlugins
(
bool
aAllowPlugins
)
;
nsresult
SetAllowPlugins
(
bool
aAllowPlugins
)
;
nsresult
GetAllowJavascript
(
bool
*
aAllowJavascript
)
;
nsresult
GetAllowJavascript
(
bool
*
aAllowJavascript
)
;
nsresult
SetAllowJavascript
(
bool
aAllowJavascript
)
;
nsresult
SetAllowJavascript
(
bool
aAllowJavascript
)
;
nsresult
GetDisableNoScript
(
bool
*
aDisableNoScript
)
;
nsresult
SetDisableNoScript
(
bool
aDisableNoScript
)
;
nsresult
GetAllowMetaRedirects
(
bool
*
aAllowMetaRedirects
)
;
nsresult
GetAllowMetaRedirects
(
bool
*
aAllowMetaRedirects
)
;
nsresult
SetAllowMetaRedirects
(
bool
aAllowMetaRedirects
)
;
nsresult
SetAllowMetaRedirects
(
bool
aAllowMetaRedirects
)
;
nsresult
GetAllowSubframes
(
bool
*
aAllowSubframes
)
;
nsresult
GetAllowSubframes
(
bool
*
aAllowSubframes
)
;
...
@@ -3357,6 +3434,8 @@ interface nsIDocShell : nsISupports
...
@@ -3357,6 +3434,8 @@ interface nsIDocShell : nsISupports
nsresult
GetSessionStorageForPrincipal
(
nsIPrincipal
*
principal
,
const
nsAString
*
documentURI
,
nsresult
GetSessionStorageForPrincipal
(
nsIPrincipal
*
principal
,
const
nsAString
*
documentURI
,
bool
create
,
nsIDOMStorage
**
_retval
)
;
bool
create
,
nsIDOMStorage
**
_retval
)
;
nsresult
AddSessionStorage
(
nsIPrincipal
*
principal
,
nsIDOMStorage
*
storage
)
;
nsresult
AddSessionStorage
(
nsIPrincipal
*
principal
,
nsIDOMStorage
*
storage
)
;
nsresult
CloneSessionStoragesTo
(
nsIDocShell
*
docShell
)
;
nsresult
ClearSessionStorages
()
;
nsresult
GetCurrentDocumentChannel
(
nsIChannel
**
aCurrentDocumentChannel
)
;
nsresult
GetCurrentDocumentChannel
(
nsIChannel
**
aCurrentDocumentChannel
)
;
nsresult
SetChildOffset
(
PRUint32
offset
)
;
nsresult
SetChildOffset
(
PRUint32
offset
)
;
nsresult
GetIsInUnload
(
bool
*
aIsInUnload
)
;
nsresult
GetIsInUnload
(
bool
*
aIsInUnload
)
;
...
@@ -3380,6 +3459,7 @@ interface nsIDocShell : nsISupports
...
@@ -3380,6 +3459,7 @@ interface nsIDocShell : nsISupports
nsresult
SetParentCharset
(
nsIAtom
*
aParentCharset
)
;
nsresult
SetParentCharset
(
nsIAtom
*
aParentCharset
)
;
nsresult
GetParentCharsetSource
(
PRInt32
*
aParentCharsetSource
)
;
nsresult
GetParentCharsetSource
(
PRInt32
*
aParentCharsetSource
)
;
nsresult
SetParentCharsetSource
(
PRInt32
aParentCharsetSource
)
;
nsresult
SetParentCharsetSource
(
PRInt32
aParentCharsetSource
)
;
nsresult
AddWeakPrivacyTransitionObserver
(
nsIPrivacyTransitionObserver
*
obs
)
;
nsresult
GetIsBrowserFrame
(
bool
*
aIsBrowserFrame
)
;
nsresult
GetIsBrowserFrame
(
bool
*
aIsBrowserFrame
)
;
nsresult
SetIsBrowserFrame
(
bool
aIsBrowserFrame
)
;
nsresult
SetIsBrowserFrame
(
bool
aIsBrowserFrame
)
;
}
}
...
@@ -3501,6 +3581,7 @@ interface nsIContentUtils : nsISupports
...
@@ -3501,6 +3581,7 @@ interface nsIContentUtils : nsISupports
nsresult
AddMutationObserver
(
nsINode
*
aNode
,
nsIMutationObserver
*
aObserver
)
;
nsresult
AddMutationObserver
(
nsINode
*
aNode
,
nsIMutationObserver
*
aObserver
)
;
nsresult
RemoveMutationObserver
(
nsINode
*
aNode
,
nsIMutationObserver
*
aObserver
)
;
nsresult
RemoveMutationObserver
(
nsINode
*
aNode
,
nsIMutationObserver
*
aObserver
)
;
nsresult
AddScriptRunner
(
nsIRunnable
*
aRunnable
)
;
nsresult
AddScriptRunner
(
nsIRunnable
*
aRunnable
)
;
JSContext
*
GetContextFromDocument
(
nsIDocument
*
aDocument
)
;
}
}
[
[
...
...
dlls/mshtml/script.c
View file @
0ae458cc
...
@@ -1295,6 +1295,10 @@ void set_script_mode(HTMLOuterWindow *window, SCRIPTMODE mode)
...
@@ -1295,6 +1295,10 @@ void set_script_mode(HTMLOuterWindow *window, SCRIPTMODE mode)
if
(
NS_SUCCEEDED
(
nsres
))
{
if
(
NS_SUCCEEDED
(
nsres
))
{
nsres
=
nsIWebBrowserSetup_SetProperty
(
setup
,
SETUP_ALLOW_JAVASCRIPT
,
nsres
=
nsIWebBrowserSetup_SetProperty
(
setup
,
SETUP_ALLOW_JAVASCRIPT
,
window
->
scriptmode
==
SCRIPTMODE_GECKO
);
window
->
scriptmode
==
SCRIPTMODE_GECKO
);
if
(
NS_SUCCEEDED
(
nsres
))
nsres
=
nsIWebBrowserSetup_SetProperty
(
setup
,
SETUP_DISABLE_NOSCRIPT
,
TRUE
);
nsIWebBrowserSetup_Release
(
setup
);
nsIWebBrowserSetup_Release
(
setup
);
}
}
...
...
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