2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2012-03-30 21:42:20 -07:00
|
|
|
# DOM Bindings Configuration.
|
|
|
|
#
|
|
|
|
# The WebIDL interfaces are defined in dom/webidl. For each such interface, there
|
|
|
|
# is a corresponding entry in the configuration table below. The configuration
|
|
|
|
# table maps each interface name to a |descriptor| or list of |descriptor|s.
|
|
|
|
#
|
|
|
|
# Valid fields for all descriptors:
|
|
|
|
# * nativeType - The native type (concrete class or XPCOM interface) that
|
2012-08-28 10:10:09 -07:00
|
|
|
# instances of this interface will unwrap to. If not
|
|
|
|
# specified, defaults to "mozilla::dom::InterfaceName" for
|
|
|
|
# non-worker non-external-or-callback interfaces, to
|
|
|
|
# "mozilla::dom::workers::InterfaceName" for worker
|
|
|
|
# non-external interfaces, to 'nsIDOM' followed by the
|
|
|
|
# interface name for non-worker external-or-callback
|
|
|
|
# interfaces, and to "JSObject" for worker external-or-callback
|
|
|
|
# interfaces.
|
2012-03-30 21:42:20 -07:00
|
|
|
# * headerFile - The file in which the nativeType is declared (defaults
|
|
|
|
# to an educated guess).
|
|
|
|
# * castable - Indicates whether the value in the wrapper can be cast to
|
|
|
|
# nativeType, or whether it needs to be QI-ed (defaults to True
|
2012-07-19 11:48:58 -07:00
|
|
|
# for everything but callback interfaces and external interfaces,
|
|
|
|
# for which it defaults to false and is not allowed to be set
|
|
|
|
# at all).
|
2012-03-30 21:42:20 -07:00
|
|
|
# * concrete - Indicates whether there exist objects with this interface as
|
2012-10-10 12:57:57 -07:00
|
|
|
# their primary interface. Always False for callback interfaces.
|
|
|
|
# defaults to True otherwise.
|
2012-09-18 16:07:33 -07:00
|
|
|
# * prefable - Indicates whether this bindings should be disabled if the
|
|
|
|
# global pref for Web IDL bindings is set to false. This is a
|
|
|
|
# risk mitigation strategy and it will cause all of the Web IDL
|
|
|
|
# bindings marked as prefable to fall back to the xpconnect
|
|
|
|
# bindings in case something goes wrong. This defaults to False.
|
|
|
|
# Setting this on objects which only have Web IDL bindings does
|
|
|
|
# not make any sense.
|
2012-07-19 11:48:58 -07:00
|
|
|
# Cannot be set on external interfaces.
|
2012-03-30 21:42:20 -07:00
|
|
|
# * workers - Indicates whether the descriptor is intended to be used for
|
|
|
|
# worker threads (defaults to false).
|
|
|
|
# * customTrace - The native class will use a custom trace hook (defaults to
|
|
|
|
# true for workers, false otherwise).
|
|
|
|
# * customFinalize - The native class will use a custom finalize hook
|
|
|
|
# (defaults to true for workers, false otherwise).
|
|
|
|
# * notflattened - The native type does not have nsIClassInfo, so when
|
|
|
|
# wrapping it the right IID needs to be passed in.
|
2012-05-23 09:44:48 -07:00
|
|
|
# * register - True if this binding should be registered. Defaults to true.
|
2012-05-18 14:25:47 -07:00
|
|
|
# * binaryNames - Dict for mapping method and attribute names to different
|
|
|
|
# names when calling the native methods (defaults to an empty
|
|
|
|
# dict). The keys are the property names as they appear in the
|
|
|
|
# .webidl file and the values are the names as they should be
|
|
|
|
# in the WebIDL.
|
2012-06-15 13:25:50 -07:00
|
|
|
# * wrapperCache: True if this object is a wrapper cache. Objects that are
|
|
|
|
# not can only be returned from a limited set of methods,
|
|
|
|
# cannot be prefable, and must ensure that they disallow
|
2012-10-10 12:57:57 -07:00
|
|
|
# XPConnect wrapping. Always false for callback interfaces.
|
|
|
|
# Always true for worker descriptors for non-callback
|
|
|
|
# interfaces. Defaults to true for non-worker non-callback
|
|
|
|
# descriptors.
|
2012-09-19 06:02:37 -07:00
|
|
|
# * nativeOwnership: Describes how the native object is held. 4 possible
|
|
|
|
# types: worker object ("worker"), non-refcounted object
|
|
|
|
# ("owned"), refcounted non-nsISupports object
|
|
|
|
# ("refcounted") or nsISupports ("nsisupports").
|
|
|
|
# Non-refcounted objects need to inherit from
|
|
|
|
# mozilla::dom::NonRefcountedDOMObject and preferably use
|
|
|
|
# MOZ_COUNT_CTOR/MOZ_COUNT_DTOR in their
|
|
|
|
# constructor/destructor so they participate in leak
|
|
|
|
# logging.
|
|
|
|
# This mostly determines how the finalizer releases the
|
|
|
|
# binding's hold on the native object. For a worker object
|
|
|
|
# it'll call Release, for a non-refcounted object it'll
|
|
|
|
# call delete through XPConnect's deferred finalization
|
|
|
|
# mechanism, for a refcounted object it'll call Release
|
|
|
|
# through XPConnect's deferred finalization mechanism.
|
|
|
|
# Always "worker" for worker descriptors. Defaults to
|
|
|
|
# "nsisupports".
|
2012-03-30 21:42:20 -07:00
|
|
|
#
|
|
|
|
# The following fields are either a string, an array (defaults to an empty
|
|
|
|
# array) or a dictionary with three possible keys (all, getterOnly and
|
|
|
|
# setterOnly) each having such an array as the value
|
|
|
|
#
|
|
|
|
# * implicitJSContext - attributes and methods specified in the .webidl file
|
|
|
|
# that require a JSContext as the first argument
|
|
|
|
# * resultNotAddRefed - attributes and methods specified in the .webidl file
|
|
|
|
# that do not AddRef the return value
|
2012-11-05 08:58:04 -08:00
|
|
|
#
|
|
|
|
# A descriptor can also have 'skipGen': True specified if it should be skipped
|
|
|
|
# when deciding what header includes to generate and should never have an
|
|
|
|
# implementation generated for it. This is only needed in special cases like
|
|
|
|
# worker descriptors for objects that will never actually appear in workers.
|
2012-03-30 21:42:20 -07:00
|
|
|
|
|
|
|
DOMInterfaces = {
|
|
|
|
|
2013-01-22 17:12:21 -08:00
|
|
|
'AudioContext': {
|
2012-09-21 15:42:14 -07:00
|
|
|
'implicitJSContext': [ 'createBuffer' ],
|
2012-11-05 16:26:03 -08:00
|
|
|
'nativeOwnership': 'refcounted',
|
|
|
|
'resultNotAddRefed': [ 'destination', 'listener' ],
|
|
|
|
},
|
|
|
|
|
2013-01-23 16:50:18 -08:00
|
|
|
'AudioBufferSourceNode': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:26:03 -08:00
|
|
|
'AudioListener' : {
|
2012-10-09 11:50:26 -07:00
|
|
|
'nativeOwnership': 'refcounted'
|
2012-09-18 16:07:33 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'AudioNode' : {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-10-16 18:19:06 -07:00
|
|
|
'AudioParam' : {
|
|
|
|
'nativeOwnership': 'refcounted'
|
|
|
|
},
|
|
|
|
|
2012-09-18 16:07:33 -07:00
|
|
|
'AudioSourceNode': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-11-07 17:59:14 -08:00
|
|
|
'BiquadFilterNode': {
|
|
|
|
'resultNotAddRefed': [ 'frequency', 'q', 'gain' ],
|
2013-01-23 16:50:18 -08:00
|
|
|
'wrapperCache': False
|
2012-11-07 17:59:14 -08:00
|
|
|
},
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'Blob': [
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
2012-05-10 12:24:59 -07:00
|
|
|
'headerFile': 'nsIDOMFile.h',
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'CanvasRenderingContext2D': {
|
2012-06-13 08:14:15 -07:00
|
|
|
'implicitJSContext': [
|
2012-11-15 11:54:34 -08:00
|
|
|
'createImageData', 'getImageData', 'strokeStyle',
|
2012-06-13 08:14:15 -07:00
|
|
|
'fillStyle', 'mozDash'
|
|
|
|
],
|
|
|
|
'resultNotAddRefed': [ 'canvas' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'mozImageSmoothingEnabled': 'imageSmoothingEnabled',
|
|
|
|
'mozFillRule': 'fillRule'
|
|
|
|
}
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-06-13 08:14:15 -07:00
|
|
|
|
2012-12-28 09:11:06 -08:00
|
|
|
'CaretPosition' : {
|
|
|
|
'nativeType': 'nsDOMCaretPosition',
|
|
|
|
},
|
|
|
|
|
2013-01-08 12:45:06 -08:00
|
|
|
'CDATASection': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMCDATASection',
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'CharacterData': {
|
|
|
|
'nativeType': 'nsGenericDOMDataNode',
|
|
|
|
'hasInstanceInterface': 'nsIDOMCharacterData',
|
2013-01-04 09:02:14 -08:00
|
|
|
'concrete': False
|
2013-01-04 09:02:14 -08:00
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'ClientRectList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsClientRectList',
|
|
|
|
'headerFile': 'nsClientRect.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'Comment': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMComment',
|
|
|
|
},
|
|
|
|
|
2012-11-24 16:26:07 -08:00
|
|
|
'CSS': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-08-23 21:08:09 -07:00
|
|
|
'CSS2Properties': {
|
2012-10-13 05:50:24 -07:00
|
|
|
'nativeType': 'nsDOMCSSDeclaration'
|
2012-08-23 21:08:09 -07:00
|
|
|
},
|
|
|
|
|
2012-10-01 09:49:41 -07:00
|
|
|
"CSSPrimitiveValue": {
|
2012-10-24 17:43:56 -07:00
|
|
|
"nativeType": "nsROCSSPrimitiveValue",
|
2012-12-26 09:02:37 -08:00
|
|
|
"resultNotAddRefed": ["getRGBColorValue", "getRectValue"]
|
2012-10-01 09:49:41 -07:00
|
|
|
},
|
|
|
|
|
2012-08-23 21:08:09 -07:00
|
|
|
'CSSStyleDeclaration': {
|
2012-10-13 05:50:24 -07:00
|
|
|
'nativeType': 'nsICSSDeclaration'
|
2012-08-23 21:08:09 -07:00
|
|
|
},
|
|
|
|
|
2012-10-01 09:49:41 -07:00
|
|
|
"CSSValue": {
|
|
|
|
"concrete": False
|
|
|
|
},
|
|
|
|
|
|
|
|
"CSSValueList": {
|
|
|
|
"nativeType": "nsDOMCSSValueList",
|
2013-01-14 09:29:27 -08:00
|
|
|
"hasInstanceInterface": "nsIDOMCSSValueList"
|
2012-10-01 09:49:41 -07:00
|
|
|
},
|
|
|
|
|
2012-10-31 17:26:03 -07:00
|
|
|
'DelayNode': [
|
|
|
|
{
|
|
|
|
'resultNotAddRefed': [ 'delayTime' ],
|
2013-01-23 16:50:18 -08:00
|
|
|
'wrapperCache': False
|
2012-10-31 17:26:03 -07:00
|
|
|
}],
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'Document': [
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
2012-05-10 12:24:59 -07:00
|
|
|
'nativeType': 'nsIDocument',
|
2012-12-23 14:33:33 -08:00
|
|
|
'hasXPConnectImpls': True,
|
|
|
|
'hasInstanceInterface': 'nsIDOMDocument',
|
2012-12-22 00:27:27 -08:00
|
|
|
'resultNotAddRefed': [ 'implementation', 'doctype', 'documentElement',
|
|
|
|
'getElementById', 'adoptNode', 'defaultView',
|
|
|
|
'activeElement', 'currentScript',
|
|
|
|
'mozFullScreenElement', 'mozPointerLockElement',
|
|
|
|
'styleSheets', 'styleSheetSets', 'elementFromPoint',
|
|
|
|
'querySelector', 'getAnonymousNodes',
|
|
|
|
'getAnonymousElementByAtribute', 'getBindingParent'
|
|
|
|
]
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
{
|
2012-11-05 08:58:04 -08:00
|
|
|
'nativeType': 'JSObject',
|
2012-03-30 21:42:20 -07:00
|
|
|
'workers': True,
|
2012-11-05 08:58:04 -08:00
|
|
|
'skipGen': True
|
2012-03-30 21:42:20 -07:00
|
|
|
}],
|
|
|
|
|
2012-12-03 17:26:16 -08:00
|
|
|
'DOMParser': {
|
|
|
|
'nativeType': 'nsDOMParser',
|
|
|
|
},
|
|
|
|
|
2012-12-24 19:35:19 -08:00
|
|
|
'DocumentFragment': {
|
|
|
|
'resultNotAddRefed': [ 'querySelector' ]
|
|
|
|
},
|
|
|
|
|
2012-12-28 17:34:02 -08:00
|
|
|
'DocumentType': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMDocumentType'
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'DOMSettableTokenList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsDOMSettableTokenList',
|
|
|
|
'binaryNames': {
|
|
|
|
'__stringifier': 'Stringify'
|
|
|
|
}
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'DOMStringMap': {
|
|
|
|
'nativeType': 'nsDOMStringMap'
|
|
|
|
},
|
|
|
|
|
|
|
|
'DOMTokenList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsDOMTokenList',
|
|
|
|
'binaryNames': {
|
|
|
|
'__stringifier': 'Stringify'
|
|
|
|
}
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2013-01-28 20:30:17 -08:00
|
|
|
'DummyInterface': {
|
|
|
|
'skipGen': True,
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'DummyInterfaceWorkers': {
|
|
|
|
'skipGen': True,
|
|
|
|
'register': False,
|
|
|
|
'workers': True
|
|
|
|
},
|
|
|
|
|
2013-01-23 16:50:18 -08:00
|
|
|
'DynamicsCompressorNode': {
|
2012-11-06 17:01:11 -08:00
|
|
|
'resultNotAddRefed': [ 'threshold', 'knee', 'ratio',
|
|
|
|
'reduction', 'attack', 'release' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'release': 'getRelease'
|
2013-01-23 16:50:18 -08:00
|
|
|
},
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
2012-11-06 17:01:11 -08:00
|
|
|
|
2012-11-22 03:09:43 -08:00
|
|
|
'Element': {
|
|
|
|
'hasXPConnectImpls': True,
|
|
|
|
'hasInstanceInterface': 'nsIDOMElement',
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'classList', 'attributes', 'children', 'firstElementChild',
|
|
|
|
'lastElementChild', 'previousElementSibling', 'nextElementSibling',
|
2012-12-24 19:35:19 -08:00
|
|
|
'getAttributeNode', 'getAttributeNodeNS', 'querySelector'
|
2012-11-22 03:09:43 -08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'Event': [
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'EventListener': [
|
2013-01-28 05:34:31 -08:00
|
|
|
{
|
|
|
|
'nativeType': 'nsIDOMEventListener'
|
|
|
|
},
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'EventTarget': [
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
2012-05-10 12:24:59 -07:00
|
|
|
'hasInstanceInterface': 'nsIDOMEventTarget',
|
2012-12-06 17:39:51 -08:00
|
|
|
'hasXPConnectImpls': True,
|
2012-05-10 12:24:59 -07:00
|
|
|
'concrete': False,
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
2012-05-10 12:24:59 -07:00
|
|
|
'concrete': False
|
2012-03-30 21:42:20 -07:00
|
|
|
}],
|
|
|
|
|
2012-12-02 00:58:57 -08:00
|
|
|
'FileHandle': {
|
|
|
|
'nativeType': 'mozilla::dom::file::FileHandle'
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'FileList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsDOMFileList',
|
|
|
|
'headerFile': 'nsDOMFile.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2012-10-01 05:56:31 -07:00
|
|
|
'FileReaderSync': {
|
2012-09-20 19:47:47 -07:00
|
|
|
'workers': True,
|
2012-10-01 05:56:31 -07:00
|
|
|
},
|
2012-09-20 19:47:47 -07:00
|
|
|
|
2013-01-03 22:54:26 -08:00
|
|
|
'DOMTransaction': [
|
|
|
|
{
|
|
|
|
'nativeType': 'nsIUndoManagerTransaction',
|
2013-01-28 05:34:31 -08:00
|
|
|
'headerFile': 'nsIUndoManagerTransaction.h',
|
2013-01-03 22:54:26 -08:00
|
|
|
}],
|
|
|
|
|
|
|
|
'UndoManager': [
|
|
|
|
{
|
|
|
|
'implicitJSContext' : [ 'undo', 'redo', 'transact' ]
|
|
|
|
}],
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'FormData': [
|
2012-12-11 10:09:56 -08:00
|
|
|
{
|
|
|
|
'nativeType': 'nsFormData'
|
|
|
|
},
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
|
|
|
'workers': True,
|
2012-12-11 10:09:56 -08:00
|
|
|
'skipGen': True,
|
|
|
|
'nativeType': 'JSObject'
|
2012-03-30 21:42:20 -07:00
|
|
|
}],
|
|
|
|
|
2013-01-23 16:50:18 -08:00
|
|
|
'GainNode': {
|
2012-10-31 12:09:32 -07:00
|
|
|
'resultNotAddRefed': [ 'gain' ],
|
2013-01-23 16:50:18 -08:00
|
|
|
'wrapperCache': False
|
|
|
|
},
|
2012-10-31 12:09:32 -07:00
|
|
|
|
2013-01-04 09:02:13 -08:00
|
|
|
'HTMLAnchorElement': {
|
|
|
|
'binaryNames': {
|
|
|
|
'__stringifier': 'Stringify'
|
|
|
|
},
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLAnchorElement',
|
|
|
|
},
|
|
|
|
|
2012-12-31 10:37:22 -08:00
|
|
|
'HTMLBodyElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLBodyElement',
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'HTMLCollection': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsIHTMLCollection',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2012-12-21 06:07:28 -08:00
|
|
|
'HTMLDataListElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'options'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-12-31 10:37:22 -08:00
|
|
|
'HTMLDivElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLDivElement',
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'HTMLDListElement': {
|
|
|
|
'headerFile' : 'mozilla/dom/HTMLSharedListElement.h'
|
|
|
|
},
|
|
|
|
|
2012-12-25 18:00:47 -08:00
|
|
|
'HTMLDocument': {
|
|
|
|
'nativeType': 'nsHTMLDocument',
|
2012-12-26 13:37:26 -08:00
|
|
|
'register': False,
|
|
|
|
'hasXPConnectImpls': True,
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLDocument',
|
2012-12-25 18:00:47 -08:00
|
|
|
'resultNotAddRefed': [ 'body', 'head', 'images', 'embeds', 'plugins',
|
|
|
|
'links', 'forms', 'scripts', 'anchors', 'applets' ],
|
|
|
|
'implicitJSContext': [ 'open', 'write', 'writeln' ]
|
|
|
|
},
|
|
|
|
|
2012-11-26 06:19:02 -08:00
|
|
|
'HTMLElement': {
|
|
|
|
'nativeType': 'nsGenericHTMLElement',
|
|
|
|
'hasXPConnectImpls': True,
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLElement',
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'itemType', 'itemRef', 'itemProp', 'properties', 'contextMenu', 'style',
|
|
|
|
'offsetParent'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-12-31 10:37:22 -08:00
|
|
|
'HTMLFrameSetElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLFrameSetElement',
|
|
|
|
},
|
|
|
|
|
|
|
|
'HTMLHeadingElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLHeadingElement',
|
|
|
|
},
|
|
|
|
|
2013-01-02 09:28:14 -08:00
|
|
|
'HTMLImageElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLImageElement',
|
|
|
|
},
|
|
|
|
|
2012-12-21 06:07:28 -08:00
|
|
|
'HTMLLabelElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'form', 'control'
|
2012-12-31 10:37:22 -08:00
|
|
|
],
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLLabelElement',
|
2012-12-21 06:07:28 -08:00
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'HTMLLIElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLLIElement',
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'HTMLOListElement': {
|
|
|
|
'headerFile' : 'mozilla/dom/HTMLSharedListElement.h',
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLOListElement'
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'HTMLOptionsCollection': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsHTMLOptionCollection',
|
|
|
|
'headerFile': 'nsHTMLSelectElement.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'__indexedsettercreator': 'SetOption'
|
|
|
|
}
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2013-01-04 09:02:15 -08:00
|
|
|
'HTMLParagraphElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLParagraphElement',
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:15 -08:00
|
|
|
'HTMLPreElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLPreElement',
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'HTMLPropertiesCollection': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'headerFile': 'HTMLPropertiesCollection.h',
|
|
|
|
'resultNotAddRefed': [ 'item', 'namedItem', 'names' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2013-01-05 01:41:28 -08:00
|
|
|
'HTMLScriptElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLScriptElement',
|
|
|
|
},
|
|
|
|
|
2012-12-29 06:07:56 -08:00
|
|
|
'HTMLTableCellElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLTableCellElement'
|
|
|
|
},
|
|
|
|
|
2012-12-29 06:07:57 -08:00
|
|
|
'HTMLTableColElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLTableColElement'
|
|
|
|
},
|
|
|
|
|
2012-12-29 00:08:15 -08:00
|
|
|
'HTMLTableElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLTableElement',
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'caption', 'tHead', 'tFoot', 'tBodies', 'rows'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-12-29 06:07:57 -08:00
|
|
|
'HTMLTableRowElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLTableRowElement',
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'cells'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-12-29 06:07:48 -08:00
|
|
|
'HTMLTableSectionElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMHTMLTableSectionElement',
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'rows'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'HTMLUListElement': {
|
|
|
|
'headerFile' : 'mozilla/dom/HTMLSharedListElement.h'
|
|
|
|
},
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'IID': [
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
2012-10-15 20:12:03 -07:00
|
|
|
'nativeType': 'nsIJSID',
|
2012-05-10 12:24:59 -07:00
|
|
|
'headerFile': 'xpcjsid.h',
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-10-22 10:08:52 -07:00
|
|
|
'ImageData': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'InputStream': [
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
2012-05-10 12:24:59 -07:00
|
|
|
'nativeType': 'nsIInputStream',
|
|
|
|
'notflattened': True
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-12-22 00:27:27 -08:00
|
|
|
'Location': {
|
|
|
|
# NOTE: Before you turn on codegen for Location, make sure all the
|
|
|
|
# Unforgeable stuff is dealt with.
|
|
|
|
'nativeType': 'nsIDOMLocation',
|
|
|
|
'skipGen': True,
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-09-13 09:04:31 -07:00
|
|
|
'MediaStreamList': {
|
|
|
|
'headerFile': 'MediaStreamList.h',
|
|
|
|
'wrapperCache': False,
|
|
|
|
'nativeOwnership': 'owned',
|
|
|
|
'resultNotAddRefed': [ '__indexedGetter' ],
|
|
|
|
'binaryNames': { '__indexedGetter': 'IndexedGetter' }
|
|
|
|
},
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'MozChannel': [
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
2012-05-10 12:24:59 -07:00
|
|
|
'nativeType': 'nsIChannel',
|
|
|
|
'notflattened': True
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-12-18 06:50:52 -08:00
|
|
|
|
|
|
|
'MutationObserver': {
|
|
|
|
'nativeType': 'nsDOMMutationObserver',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MutationRecord': {
|
|
|
|
'nativeType': 'nsDOMMutationRecord',
|
|
|
|
'headerFile': 'nsDOMMutationObserver.h',
|
|
|
|
'resultNotAddRefed': [ 'target', 'addedNodes', 'removedNodes',
|
|
|
|
'previousSibling', 'nextSibling' ]
|
|
|
|
},
|
|
|
|
|
2012-11-22 03:09:41 -08:00
|
|
|
'Node': {
|
|
|
|
'nativeType': 'nsINode',
|
2013-01-04 09:02:14 -08:00
|
|
|
'concrete': False,
|
2012-11-22 03:09:41 -08:00
|
|
|
'hasXPConnectImpls': True,
|
|
|
|
'hasInstanceInterface': 'nsIDOMNode',
|
|
|
|
'resultNotAddRefed': [ 'ownerDocument', 'parentNode', 'parentElement',
|
|
|
|
'childNodes', 'firstChild', 'lastChild',
|
|
|
|
'previousSibling', 'nextSibling', 'insertBefore',
|
|
|
|
'appendChild', 'replaceChild', 'removeChild',
|
|
|
|
'attributes' ]
|
|
|
|
},
|
|
|
|
|
2013-01-28 05:34:31 -08:00
|
|
|
'NodeFilter': {
|
|
|
|
'nativeType': 'nsIDOMNodeFilter',
|
|
|
|
'headerFile': 'nsIDOMNodeFilter.h',
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'NodeList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsINodeList',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2012-12-22 00:16:55 -08:00
|
|
|
'PaintRequest': {
|
|
|
|
'nativeType': 'nsPaintRequest',
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'PaintRequestList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsPaintRequestList',
|
|
|
|
'headerFile': 'nsPaintRequest.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2012-11-05 18:14:13 -08:00
|
|
|
'PannerNode': [
|
|
|
|
{
|
|
|
|
'resultNotAddRefed': [ 'coneGain', 'distanceGain' ],
|
2013-01-23 16:50:18 -08:00
|
|
|
'wrapperCache': False
|
2012-11-05 18:14:13 -08:00
|
|
|
}],
|
|
|
|
|
2012-07-16 18:42:18 -07:00
|
|
|
'Performance': {
|
|
|
|
'nativeType': 'nsPerformance',
|
|
|
|
'resultNotAddRefed': [ 'timing', 'navigation' ]
|
|
|
|
},
|
|
|
|
|
|
|
|
'PerformanceTiming': {
|
|
|
|
'nativeType': 'nsPerformanceTiming',
|
|
|
|
'headerFile': 'nsPerformance.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'PerformanceNavigation': {
|
|
|
|
'nativeType': 'nsPerformanceNavigation',
|
|
|
|
'headerFile': 'nsPerformance.h'
|
|
|
|
},
|
|
|
|
|
2013-01-08 12:45:06 -08:00
|
|
|
'ProcessingInstruction': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMProcessingInstruction',
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'PropertyNodeList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'headerFile': 'HTMLPropertiesCollection.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2012-12-26 04:26:36 -08:00
|
|
|
'Rect': {
|
|
|
|
"nativeType": "nsDOMCSSRect",
|
|
|
|
'resultNotAddRefed': [ "top", "right", "bottom", "left" ]
|
|
|
|
},
|
|
|
|
|
2012-12-13 23:51:39 -08:00
|
|
|
'RGBColor': {
|
|
|
|
"nativeType": "nsDOMCSSRGBColor",
|
|
|
|
'resultNotAddRefed': [ "alpha", "blue", "green", "red" ]
|
|
|
|
},
|
|
|
|
|
2012-10-14 00:40:11 -07:00
|
|
|
'Screen': {
|
|
|
|
'nativeType': 'nsScreen',
|
|
|
|
},
|
|
|
|
|
2013-01-09 21:30:13 -08:00
|
|
|
'SVGAElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMSVGAElement',
|
|
|
|
},
|
|
|
|
|
2012-12-22 20:54:25 -08:00
|
|
|
'SVGAnimatedLengthList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGAnimatedLengthList',
|
|
|
|
'headerFile': 'DOMSVGAnimatedLengthList.h'
|
|
|
|
},
|
|
|
|
|
2012-12-22 20:54:21 -08:00
|
|
|
'SVGAnimatedNumberList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGAnimatedNumberList',
|
|
|
|
'headerFile': 'DOMSVGAnimatedNumberList.h'
|
|
|
|
},
|
|
|
|
|
2012-12-22 20:54:20 -08:00
|
|
|
'SVGAnimatedPreserveAspectRatio': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedPreserveAspectRatio',
|
|
|
|
'headerFile': 'SVGAnimatedPreserveAspectRatio.h'
|
|
|
|
},
|
|
|
|
|
2012-12-22 20:54:20 -08:00
|
|
|
'SVGAnimatedTransformList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGAnimatedTransformList',
|
|
|
|
'headerFile': 'DOMSVGAnimatedTransformList.h'
|
|
|
|
},
|
|
|
|
|
2013-01-06 01:32:03 -08:00
|
|
|
'SVGAnimationElement': {
|
|
|
|
'resultNotAddRefed': ['targetElement'],
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2012-12-23 00:22:58 -08:00
|
|
|
'SVGElement': {
|
|
|
|
'nativeType': 'nsSVGElement',
|
|
|
|
'hasXPConnectImpls': True,
|
|
|
|
'hasInstanceInterface': 'nsIDOMSVGElement',
|
2013-01-05 22:25:55 -08:00
|
|
|
'resultNotAddRefed': ['ownerSVGElement', 'viewportElement', 'style']
|
2012-12-23 00:22:58 -08:00
|
|
|
},
|
|
|
|
|
2013-01-02 22:17:02 -08:00
|
|
|
'SVGGraphicsElement': {
|
2013-01-16 12:50:59 -08:00
|
|
|
'concrete': False,
|
2013-01-02 22:17:02 -08:00
|
|
|
},
|
|
|
|
|
2013-01-11 00:43:01 -08:00
|
|
|
'SVGGradientElement': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-01-06 01:32:01 -08:00
|
|
|
'SVGImageElement': {
|
2013-01-11 00:43:01 -08:00
|
|
|
'hasInstanceInterface': 'nsIDOMSVGImageElement',
|
2013-01-06 01:32:01 -08:00
|
|
|
},
|
|
|
|
|
2013-01-02 22:17:02 -08:00
|
|
|
'SVGLocatableElement': {
|
2013-01-05 22:25:55 -08:00
|
|
|
'concrete': False,
|
|
|
|
'resultNotAddRefed': ['nearestViewportElement', 'farthestViewportElement']
|
2013-01-02 22:17:02 -08:00
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'SVGLengthList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'mozilla::DOMSVGLengthList',
|
|
|
|
'headerFile': 'DOMSVGLengthList.h',
|
|
|
|
'resultNotAddRefed': [ 'getItem' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2013-01-11 00:43:01 -08:00
|
|
|
'SVGLinearGradientElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGGradientElement.h',
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'SVGNumberList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'mozilla::DOMSVGNumberList',
|
|
|
|
'headerFile': 'DOMSVGNumberList.h',
|
|
|
|
'resultNotAddRefed': [ 'getItem' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2012-12-22 20:54:22 -08:00
|
|
|
'SVGPathSeg': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSeg',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h',
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegClosePath': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegClosePath',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegMovetoAbs': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegMovetoAbs',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegMovetoRel': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegMovetoRel',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoAbs': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegLinetoAbs',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoRel': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegLinetoRel',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoCubicAbs': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegCurvetoCubicAbs',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoCubicRel': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegCurvetoCubicRel',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoQuadraticAbs': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegCurvetoQuadraticAbs',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoQuadraticRel': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegCurvetoQuadraticRel',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegArcAbs': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegArcAbs',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegArcRel': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegArcRel',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoHorizontalAbs': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegLinetoHorizontalAbs',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoHorizontalRel': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegLinetoHorizontalRel',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoVerticalAbs': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegLinetoVerticalAbs',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoVerticalRel': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegLinetoVerticalRel',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoCubicSmoothAbs': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegCurvetoCubicSmoothAbs',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoCubicSmoothRel': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegCurvetoCubicSmoothRel',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoQuadraticSmoothAbs': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegCurvetoQuadraticSmoothAbs',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoQuadraticSmoothRel': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegCurvetoQuadraticSmoothRel',
|
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'SVGPathSegList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegList',
|
|
|
|
'headerFile': 'DOMSVGPathSegList.h',
|
|
|
|
'resultNotAddRefed': [ 'getItem' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2012-12-22 20:54:19 -08:00
|
|
|
'SVGPoint': {
|
2012-12-22 20:54:20 -08:00
|
|
|
'nativeType': 'mozilla::nsISVGPoint',
|
|
|
|
'headerFile': 'nsISVGPoint.h'
|
2012-12-22 20:54:19 -08:00
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'SVGPointList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'mozilla::DOMSVGPointList',
|
|
|
|
'headerFile': 'DOMSVGPointList.h',
|
|
|
|
'resultNotAddRefed': [ 'getItem' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2012-12-22 20:54:20 -08:00
|
|
|
'SVGPreserveAspectRatio': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPreserveAspectRatio',
|
|
|
|
'headerFile': 'SVGPreserveAspectRatio.h'
|
|
|
|
},
|
|
|
|
|
2013-01-11 00:43:01 -08:00
|
|
|
'SVGRadialGradientElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGGradientElement.h',
|
|
|
|
},
|
|
|
|
|
2013-01-06 06:14:43 -08:00
|
|
|
'SVGTextContentElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-01-06 06:14:44 -08:00
|
|
|
'SVGTextPositioningElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-01-04 17:50:21 -08:00
|
|
|
'SVGTitleElement': {
|
|
|
|
'hasInstanceInterface': 'nsIDOMSVGTitleElement',
|
|
|
|
},
|
|
|
|
|
2012-12-22 20:54:20 -08:00
|
|
|
'SVGTransform': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGTransform',
|
2013-01-19 12:56:31 -08:00
|
|
|
'headerFile': 'DOMSVGTransform.h',
|
|
|
|
'resultNotAddRefed': [ 'matrix' ]
|
2012-12-22 20:54:20 -08:00
|
|
|
},
|
|
|
|
|
2013-01-02 22:17:02 -08:00
|
|
|
'SVGTransformableElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'SVGTransformList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'mozilla::DOMSVGTransformList',
|
|
|
|
'headerFile': 'DOMSVGTransformList.h',
|
|
|
|
'resultNotAddRefed': [ 'getItem' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2013-01-09 15:02:47 -08:00
|
|
|
'SVGSVGElement': {
|
|
|
|
'resultNotAddRefed': [ 'getElementById' ]
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'Text': {
|
|
|
|
'nativeType': 'nsTextNode',
|
|
|
|
'hasInstanceInterface': 'nsIDOMText',
|
|
|
|
},
|
|
|
|
|
2012-12-21 16:16:14 -08:00
|
|
|
'TextDecoder': [
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
|
|
|
'TextEncoder': [
|
|
|
|
{
|
2012-09-28 03:19:18 -07:00
|
|
|
'implicitJSContext': [ 'encode' ],
|
|
|
|
},
|
2012-12-21 16:16:14 -08:00
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
'implicitJSContext': [ 'encode' ],
|
|
|
|
}],
|
2012-09-28 03:19:18 -07:00
|
|
|
|
2012-09-24 20:24:43 -07:00
|
|
|
'URL' : {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-10-09 11:39:49 -07:00
|
|
|
'WebGLActiveInfo': {
|
|
|
|
'nativeType': 'mozilla::WebGLActiveInfo',
|
|
|
|
'headerFile': 'WebGLContext.h',
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2012-10-04 13:35:54 -07:00
|
|
|
'WebGLBuffer': {
|
|
|
|
'nativeType': 'mozilla::WebGLBuffer',
|
2012-12-09 09:29:12 -08:00
|
|
|
'headerFile': 'WebGLBuffer.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLExtensionCompressedTextureATC': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureATC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionCompressedTexturePVRTC': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTexturePVRTC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionCompressedTextureS3TC': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureS3TC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionDepthTexture': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionDepthTexture',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2012-10-17 12:11:51 -07:00
|
|
|
'WebGLExtensionDebugRendererInfo': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionDebugRendererInfo',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLExtensionLoseContext': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionLoseContext',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionStandardDerivatives': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionStandardDerivatives',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionTextureFilterAnisotropic': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFilterAnisotropic',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionTextureFloat': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2012-10-04 13:35:54 -07:00
|
|
|
'WebGLFramebuffer': {
|
|
|
|
'nativeType': 'mozilla::WebGLFramebuffer',
|
2012-12-09 09:29:12 -08:00
|
|
|
'headerFile': 'WebGLFramebuffer.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLProgram': {
|
|
|
|
'nativeType': 'mozilla::WebGLProgram',
|
2012-12-09 09:29:12 -08:00
|
|
|
'headerFile': 'WebGLProgram.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLRenderbuffer': {
|
|
|
|
'nativeType': 'mozilla::WebGLRenderbuffer',
|
2012-12-09 09:29:12 -08:00
|
|
|
'headerFile': 'WebGLRenderbuffer.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
2012-05-31 11:16:48 -07:00
|
|
|
'WebGLRenderingContext': {
|
|
|
|
'nativeType': 'mozilla::WebGLContext',
|
2012-06-22 13:18:51 -07:00
|
|
|
'headerFile': 'WebGLContext.h',
|
2012-05-31 11:16:48 -07:00
|
|
|
'resultNotAddRefed': [ 'canvas', 'getContextAttributes', 'getExtension',
|
|
|
|
'getAttachedShaders' ],
|
2012-11-15 11:54:34 -08:00
|
|
|
'implicitJSContext': [ 'getSupportedExtensions' ],
|
2012-05-31 11:16:48 -07:00
|
|
|
},
|
|
|
|
|
2012-10-04 13:35:54 -07:00
|
|
|
'WebGLShader': {
|
|
|
|
'nativeType': 'mozilla::WebGLShader',
|
2012-12-09 09:29:12 -08:00
|
|
|
'headerFile': 'WebGLShader.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLShaderPrecisionFormat': {
|
|
|
|
'nativeType': 'mozilla::WebGLShaderPrecisionFormat',
|
2012-12-09 09:29:12 -08:00
|
|
|
'headerFile': 'WebGLShaderPrecisionFormat.h',
|
2012-06-15 13:25:51 -07:00
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2012-10-04 13:35:54 -07:00
|
|
|
'WebGLTexture': {
|
|
|
|
'nativeType': 'mozilla::WebGLTexture',
|
2012-12-09 09:29:12 -08:00
|
|
|
'headerFile': 'WebGLTexture.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLUniformLocation': {
|
|
|
|
'nativeType': 'mozilla::WebGLUniformLocation',
|
2012-12-09 09:29:12 -08:00
|
|
|
'headerFile': 'WebGLUniformLocation.h',
|
2012-10-03 14:13:05 -07:00
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'WebSocket': {
|
2012-10-13 05:50:24 -07:00
|
|
|
'headerFile': 'WebSocket.h',
|
|
|
|
'implicitJSContext': [ 'constructor' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-10-13 05:50:24 -07:00
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'XMLHttpRequest': [
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
2012-05-10 12:24:59 -07:00
|
|
|
'nativeType': 'nsXMLHttpRequest',
|
2012-06-20 03:18:39 -07:00
|
|
|
'implicitJSContext': [ 'constructor', ],
|
2012-05-10 12:24:59 -07:00
|
|
|
'resultNotAddRefed': [ 'upload', 'responseXML' ]
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
|
|
|
'XMLHttpRequestEventTarget': [
|
|
|
|
{
|
|
|
|
'nativeType': 'nsXHREventTarget',
|
|
|
|
'headerFile': 'nsXMLHttpRequest.h',
|
2012-11-27 01:20:04 -08:00
|
|
|
'concrete': False
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
'concrete': False,
|
|
|
|
}],
|
|
|
|
|
2012-05-10 12:24:59 -07:00
|
|
|
'XMLHttpRequestUpload': [
|
2012-03-30 21:42:20 -07:00
|
|
|
{
|
2012-05-10 12:24:59 -07:00
|
|
|
'nativeType': 'nsXMLHttpRequestUpload',
|
2012-11-27 01:20:04 -08:00
|
|
|
'headerFile': 'nsXMLHttpRequest.h'
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-12-03 17:26:16 -08:00
|
|
|
'XMLSerializer': {
|
|
|
|
'nativeType': 'nsDOMSerializer',
|
|
|
|
},
|
|
|
|
|
2012-12-14 11:10:49 -08:00
|
|
|
'XPathEvaluator': {
|
|
|
|
'nativeType': 'nsXPathEvaluator',
|
|
|
|
'headerFile': 'nsXPathEvaluator.h',
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-01-29 09:51:55 -08:00
|
|
|
'XULElement': {
|
|
|
|
'nativeType': 'nsXULElement',
|
|
|
|
'resultNotAddRefed': [ 'controllers', 'style' ],
|
|
|
|
'hasInstanceInterface': 'nsIDOMXULElement',
|
|
|
|
},
|
|
|
|
|
2012-05-23 09:44:48 -07:00
|
|
|
####################################
|
|
|
|
# Test Interfaces of various sorts #
|
|
|
|
####################################
|
|
|
|
|
|
|
|
'TestInterface' : {
|
2012-10-17 18:17:16 -07:00
|
|
|
# Keep this in sync with TestExampleInterface
|
2012-05-23 09:44:48 -07:00
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-05-23 09:44:48 -07:00
|
|
|
'register': False,
|
2012-05-24 22:08:26 -07:00
|
|
|
'resultNotAddRefed': [ 'receiveWeakSelf', 'receiveWeakNullableSelf',
|
2012-07-19 11:48:58 -07:00
|
|
|
'receiveWeakOther', 'receiveWeakNullableOther',
|
|
|
|
'receiveWeakExternal', 'receiveWeakNullableExternal',
|
|
|
|
'ReceiveWeakCallbackInterface',
|
|
|
|
'ReceiveWeakNullableCallbackInterface',
|
2012-05-24 22:08:26 -07:00
|
|
|
'receiveWeakCastableObjectSequence',
|
|
|
|
'receiveWeakNullableCastableObjectSequence',
|
|
|
|
'receiveWeakCastableObjectNullableSequence',
|
2012-05-18 14:25:47 -07:00
|
|
|
'receiveWeakNullableCastableObjectNullableSequence' ],
|
|
|
|
'binaryNames': { 'methodRenamedFrom': 'methodRenamedTo',
|
|
|
|
'attributeGetterRenamedFrom': 'attributeGetterRenamedTo',
|
2012-11-05 11:40:32 -08:00
|
|
|
'attributeRenamedFrom': 'attributeRenamedTo',
|
|
|
|
'__stringifier' : 'Stringify' }
|
2012-05-29 20:45:18 -07:00
|
|
|
},
|
|
|
|
|
2012-12-14 11:10:50 -08:00
|
|
|
'TestChildInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2012-05-29 20:45:18 -07:00
|
|
|
'TestNonCastableInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
'castable': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestExternalInterface' : {
|
2012-06-15 13:25:50 -07:00
|
|
|
'nativeType': 'mozilla::dom::TestExternalInterface',
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-07-19 11:48:58 -07:00
|
|
|
'register': False
|
2012-06-15 13:25:50 -07:00
|
|
|
},
|
2012-05-29 20:45:18 -07:00
|
|
|
|
2012-06-15 13:25:50 -07:00
|
|
|
'TestNonWrapperCacheInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
2012-07-19 11:48:58 -07:00
|
|
|
|
2012-07-19 11:48:58 -07:00
|
|
|
'IndirectlyImplementedInterface': {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
2012-07-19 11:48:58 -07:00
|
|
|
'castable': False,
|
|
|
|
'concrete': False
|
2012-07-19 11:48:58 -07:00
|
|
|
},
|
2012-07-26 21:09:10 -07:00
|
|
|
|
|
|
|
'OnlyForUseInConstructor' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-05-22 06:46:20 -07:00
|
|
|
|
|
|
|
'TestIndexedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-09-05 06:21:33 -07:00
|
|
|
'register': False
|
2012-05-22 06:46:20 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'TestNamedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-11-06 08:00:57 -08:00
|
|
|
'TestIndexedGetterAndSetterAndNamedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-05-22 06:46:20 -07:00
|
|
|
'TestIndexedAndNamedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-09-05 06:21:33 -07:00
|
|
|
'register': False
|
2012-05-22 06:46:20 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'TestIndexedSetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestNamedSetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestIndexedAndNamedSetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestIndexedAndNamedGetterAndSetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
'binaryNames': { '__stringifier': 'Stringify' }
|
|
|
|
},
|
2012-10-17 18:17:16 -07:00
|
|
|
|
2012-10-24 13:10:49 -07:00
|
|
|
'TestRenamedInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
'nativeType': 'nsRenamedInterface'
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:02 -08:00
|
|
|
'TestIndexedDeleterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestIndexedDeleterWithRetvalInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestNamedDeleterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestNamedDeleterWithRetvalInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestIndexedAndNamedDeleterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-10-31 05:36:20 -07:00
|
|
|
'TestCppKeywordNamedMethodsInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-10-17 18:17:16 -07:00
|
|
|
'TestExampleInterface' : {
|
|
|
|
# Keep this in sync with TestInterface
|
|
|
|
'headerFile': 'TestExampleInterface-example.h',
|
|
|
|
'register': False,
|
|
|
|
'resultNotAddRefed': [ 'receiveWeakSelf', 'receiveWeakNullableSelf',
|
|
|
|
'receiveWeakOther', 'receiveWeakNullableOther',
|
|
|
|
'receiveWeakExternal', 'receiveWeakNullableExternal',
|
|
|
|
'ReceiveWeakCallbackInterface',
|
|
|
|
'ReceiveWeakNullableCallbackInterface',
|
|
|
|
'receiveWeakCastableObjectSequence',
|
|
|
|
'receiveWeakNullableCastableObjectSequence',
|
|
|
|
'receiveWeakCastableObjectNullableSequence',
|
|
|
|
'receiveWeakNullableCastableObjectNullableSequence' ],
|
|
|
|
'binaryNames': { 'methodRenamedFrom': 'methodRenamedTo',
|
|
|
|
'attributeGetterRenamedFrom': 'attributeGetterRenamedTo',
|
|
|
|
'attributeRenamedFrom': 'attributeRenamedTo' }
|
2012-11-09 08:24:32 -08:00
|
|
|
},
|
|
|
|
|
|
|
|
'TestExampleProxyInterface' : {
|
|
|
|
'headerFile': 'TestExampleProxyInterface-example.h',
|
2012-12-22 00:27:27 -08:00
|
|
|
'register': False
|
2012-10-17 18:17:16 -07:00
|
|
|
}
|
2012-03-30 21:42:20 -07:00
|
|
|
}
|
2012-05-31 11:16:48 -07:00
|
|
|
|
|
|
|
# These are temporary, until they've been converted to use new DOM bindings
|
2012-11-22 03:09:41 -08:00
|
|
|
def addExternalIface(iface, nativeType=None, headerFile=None,
|
|
|
|
notflattened=False):
|
2012-10-06 00:23:25 -07:00
|
|
|
if iface in DOMInterfaces:
|
|
|
|
raise Exception('Interface declared both as WebIDL and External interface')
|
2012-05-31 11:16:48 -07:00
|
|
|
domInterface = {
|
2012-07-19 11:48:58 -07:00
|
|
|
'concrete': False
|
2012-05-31 11:16:48 -07:00
|
|
|
}
|
2012-08-28 10:10:09 -07:00
|
|
|
if not nativeType is None:
|
|
|
|
domInterface['nativeType'] = nativeType
|
2012-05-31 11:16:48 -07:00
|
|
|
if not headerFile is None:
|
|
|
|
domInterface['headerFile'] = headerFile
|
2012-11-22 03:09:41 -08:00
|
|
|
domInterface['notflattened'] = notflattened
|
2012-05-31 11:16:48 -07:00
|
|
|
DOMInterfaces[iface] = domInterface
|
|
|
|
|
|
|
|
# If you add one of these, you need to make sure nsDOMQS.h has the relevant
|
|
|
|
# macros added for it
|
|
|
|
def addExternalHTMLElement(element):
|
|
|
|
nativeElement = 'ns' + element
|
|
|
|
addExternalIface(element, nativeType=nativeElement,
|
|
|
|
headerFile=nativeElement + '.h')
|
|
|
|
|
2012-12-11 10:09:56 -08:00
|
|
|
addExternalHTMLElement('HTMLFormElement')
|
2012-11-26 06:19:02 -08:00
|
|
|
addExternalHTMLElement('HTMLMenuElement')
|
2012-09-05 13:49:53 -07:00
|
|
|
addExternalHTMLElement('HTMLOptionElement')
|
|
|
|
addExternalHTMLElement('HTMLOptGroupElement')
|
2012-05-31 11:16:48 -07:00
|
|
|
addExternalHTMLElement('HTMLVideoElement')
|
2012-11-22 03:09:41 -08:00
|
|
|
addExternalIface('Attr')
|
2012-06-13 08:14:15 -07:00
|
|
|
addExternalIface('CanvasGradient', headerFile='nsIDOMCanvasRenderingContext2D.h')
|
|
|
|
addExternalIface('CanvasPattern', headerFile='nsIDOMCanvasRenderingContext2D.h')
|
2012-09-05 13:49:53 -07:00
|
|
|
addExternalIface('ClientRect')
|
2012-10-01 09:49:41 -07:00
|
|
|
addExternalIface("Counter")
|
2012-08-23 21:08:09 -07:00
|
|
|
addExternalIface('CSSRule')
|
2012-12-02 00:58:57 -08:00
|
|
|
addExternalIface('DOMRequest')
|
2012-12-22 00:27:27 -08:00
|
|
|
addExternalIface('DOMStringList')
|
2012-09-05 13:49:53 -07:00
|
|
|
addExternalIface('File')
|
2012-06-13 08:14:15 -07:00
|
|
|
addExternalIface('HitRegionOptions', nativeType='nsISupports')
|
2012-12-25 18:00:47 -08:00
|
|
|
addExternalIface('HTMLHeadElement', nativeType='mozilla::dom::Element')
|
2013-01-03 21:16:14 -08:00
|
|
|
addExternalIface('HTMLCanvasElement', nativeType='mozilla::dom::HTMLCanvasElement')
|
2013-01-02 11:30:02 -08:00
|
|
|
addExternalIface('imgINotificationObserver', nativeType='imgINotificationObserver')
|
|
|
|
addExternalIface('imgIRequest', nativeType='imgIRequest', notflattened=True)
|
2012-12-02 00:58:57 -08:00
|
|
|
addExternalIface('LockedFile')
|
2012-09-13 09:04:31 -07:00
|
|
|
addExternalIface('MediaStream')
|
2013-01-29 09:51:55 -08:00
|
|
|
addExternalIface('MozBoxObject', nativeType='nsIBoxObject')
|
|
|
|
addExternalIface('MozControllers', nativeType='nsIControllers')
|
|
|
|
addExternalIface('MozFrameLoader', nativeType='nsIFrameLoader', notflattened=True)
|
|
|
|
addExternalIface('MozRDFCompositeDataSource', nativeType='nsIRDFCompositeDataSource',
|
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('MozRDFResource', nativeType='nsIRDFResource', notflattened=True)
|
|
|
|
addExternalIface('MozXULTemplateBuilder', nativeType='nsIXULTemplateBuilder')
|
2012-11-22 03:09:41 -08:00
|
|
|
addExternalIface('NamedNodeMap')
|
2012-12-22 00:27:27 -08:00
|
|
|
addExternalIface('NodeIterator')
|
2013-01-02 11:30:02 -08:00
|
|
|
addExternalIface('nsIStreamListener', nativeType='nsIStreamListener', notflattened=True)
|
2012-12-23 14:33:33 -08:00
|
|
|
addExternalIface('nsISupports', nativeType='nsISupports')
|
2012-12-03 17:26:16 -08:00
|
|
|
addExternalIface('OutputStream', nativeType='nsIOutputStream',
|
|
|
|
notflattened=True)
|
2012-10-09 05:31:24 -07:00
|
|
|
addExternalIface('Principal', nativeType='nsIPrincipal',
|
2012-11-22 03:09:41 -08:00
|
|
|
headerFile='nsIPrincipal.h', notflattened=True)
|
2012-12-22 00:27:27 -08:00
|
|
|
addExternalIface('Range', nativeType='nsRange')
|
2012-12-25 18:00:47 -08:00
|
|
|
addExternalIface('Selection', nativeType='nsISelection')
|
2012-12-22 00:27:27 -08:00
|
|
|
addExternalIface('StyleSheetList')
|
2013-01-06 06:14:43 -08:00
|
|
|
addExternalIface('SVGAnimatedEnumeration', headerFile='nsIDOMSVGAnimatedEnum.h')
|
2013-01-04 17:50:21 -08:00
|
|
|
addExternalIface('SVGAnimatedNumber')
|
2012-12-23 00:22:58 -08:00
|
|
|
addExternalIface('SVGAnimatedString')
|
2012-09-05 13:49:53 -07:00
|
|
|
addExternalIface('SVGLength')
|
|
|
|
addExternalIface('SVGNumber')
|
2012-06-13 08:14:15 -07:00
|
|
|
addExternalIface('TextMetrics', headerFile='nsIDOMCanvasRenderingContext2D.h')
|
2012-12-22 00:27:27 -08:00
|
|
|
addExternalIface('TreeWalker')
|
2012-09-05 13:49:53 -07:00
|
|
|
addExternalIface('Touch', headerFile='nsIDOMTouchEvent.h')
|
2012-12-22 00:27:27 -08:00
|
|
|
addExternalIface('TouchList', headerFile='nsIDOMTouchEvent.h')
|
2012-11-22 03:09:41 -08:00
|
|
|
addExternalIface('URI', nativeType='nsIURI', headerFile='nsIURI.h',
|
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('UserDataHandler')
|
2012-06-13 08:14:15 -07:00
|
|
|
addExternalIface('Window')
|
2012-12-22 00:27:27 -08:00
|
|
|
addExternalIface('WindowProxy', nativeType='nsIDOMWindow')
|
2012-12-14 11:10:49 -08:00
|
|
|
addExternalIface('XPathResult', nativeType='nsISupports')
|
2012-12-22 00:27:27 -08:00
|
|
|
addExternalIface('XPathExpression')
|
|
|
|
addExternalIface('XPathNSResolver')
|