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
|
2013-03-01 22:08:42 -08:00
|
|
|
# specified, defaults to 'mozilla::dom::InterfaceName' for
|
2012-08-28 10:10:09 -07:00
|
|
|
# non-worker non-external-or-callback interfaces, to
|
2013-03-01 22:08:42 -08:00
|
|
|
# 'mozilla::dom::workers::InterfaceName' for worker
|
2012-08-28 10:10:09 -07:00
|
|
|
# non-external interfaces, to 'nsIDOM' followed by the
|
|
|
|
# interface name for non-worker external-or-callback
|
2013-03-01 22:08:42 -08:00
|
|
|
# interfaces, and to 'JSObject' for worker external-or-callback
|
2012-08-28 10:10:09 -07:00
|
|
|
# interfaces.
|
2012-03-30 21:42:20 -07:00
|
|
|
# * headerFile - The file in which the nativeType is declared (defaults
|
|
|
|
# to an educated guess).
|
2013-08-22 06:46:26 -07:00
|
|
|
# * concrete - Indicates whether there exist JS objects with this interface as
|
|
|
|
# their primary interface (and hence whose prototype is this
|
|
|
|
# interface's prototype object). Always False for callback
|
|
|
|
# interfaces. Defaults to True otherwise.
|
2013-09-29 21:15:37 -07:00
|
|
|
# * workers - Indicates whether the descriptor is intended to be used solely
|
|
|
|
# for worker threads (defaults to false). If true the interface
|
|
|
|
# will not be made available on the main thread.
|
2012-03-30 21:42:20 -07:00
|
|
|
# * 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.
|
2013-07-04 08:24:59 -07:00
|
|
|
# * nativeOwnership: Describes how the native object is held. 3 possible
|
2013-03-01 22:08:42 -08:00
|
|
|
# types: worker object ('worker'), non-refcounted object
|
2013-07-04 08:24:59 -07:00
|
|
|
# ('owned'), refcounted object ('refcounted').
|
2012-09-19 06:02:37 -07:00
|
|
|
# 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.
|
2013-09-29 21:15:37 -07:00
|
|
|
# 'worker' opts into old style worker models. Defaults to
|
2013-07-04 08:24:59 -07:00
|
|
|
# 'refcounted'.
|
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.
|
2013-10-31 15:28:22 -07:00
|
|
|
#
|
|
|
|
# The value for an interface can be a list or a dictionary, which affects which
|
|
|
|
# bindings are generated for that interface.
|
|
|
|
# - If the value for the interface is just a record, then a single binding for
|
|
|
|
# will be generated using those settings.
|
|
|
|
# - If it is a list with a single record which has 'workers':True, then that
|
|
|
|
# record will be used to generate bindings for workers, plus the default
|
|
|
|
# settings will be used to generate bindings for the main thread.
|
|
|
|
# - If it is a list with two records, then one should have 'workers':True,
|
|
|
|
# and the other should have 'workers':False (or left unset). These will
|
|
|
|
# be used to generate bindings for workers and for mainthread, as you would
|
|
|
|
# expect.
|
|
|
|
# Nothing else is allowed. If you have a list with a single 'workers':False
|
|
|
|
# entry, just make it not a list.
|
2012-03-30 21:42:20 -07:00
|
|
|
|
|
|
|
DOMInterfaces = {
|
|
|
|
|
2013-03-17 01:51:36 -07:00
|
|
|
'MozActivity': {
|
|
|
|
'nativeType': 'mozilla::dom::Activity',
|
|
|
|
},
|
|
|
|
|
2013-06-05 07:04:23 -07:00
|
|
|
'AbstractWorker': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-03-09 23:57:14 -08:00
|
|
|
'ArchiveReader': {
|
|
|
|
'nativeType': 'mozilla::dom::file::ArchiveReader',
|
|
|
|
},
|
|
|
|
|
2013-03-17 01:51:36 -07:00
|
|
|
'ArchiveRequest': {
|
|
|
|
'nativeType': 'mozilla::dom::file::ArchiveRequest',
|
|
|
|
},
|
|
|
|
|
2013-02-08 08:34:47 -08:00
|
|
|
'AudioChannelManager': {
|
|
|
|
'nativeType': 'mozilla::dom::system::AudioChannelManager',
|
|
|
|
'headerFile': 'AudioChannelManager.h'
|
|
|
|
},
|
|
|
|
|
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
|
|
|
'resultNotAddRefed': [ 'destination', 'listener' ],
|
|
|
|
},
|
|
|
|
|
2013-09-17 04:30:32 -07:00
|
|
|
'AudioBuffer': {
|
|
|
|
'implicitJSContext': [ 'copyToChannel' ],
|
|
|
|
},
|
|
|
|
|
2013-01-23 16:50:18 -08:00
|
|
|
'AudioBufferSourceNode': {
|
2013-04-22 14:01:22 -07:00
|
|
|
'implicitJSContext': [ 'buffer' ],
|
2013-06-07 12:25:04 -07:00
|
|
|
'resultNotAddRefed': [ 'playbackRate' ],
|
2013-01-23 16:50:18 -08:00
|
|
|
},
|
|
|
|
|
2012-09-18 16:07:33 -07:00
|
|
|
'AudioNode' : {
|
|
|
|
'concrete': False,
|
2013-04-27 15:44:50 -07:00
|
|
|
'binaryNames': {
|
|
|
|
'channelCountMode': 'channelCountModeValue',
|
|
|
|
'channelInterpretation': 'channelInterpretationValue',
|
|
|
|
},
|
2012-09-18 16:07:33 -07:00
|
|
|
},
|
|
|
|
|
2013-04-13 18:37:04 -07:00
|
|
|
'AudioProcessingEvent' : {
|
|
|
|
'resultNotAddRefed': [ 'inputBuffer', 'outputBuffer' ],
|
|
|
|
},
|
2012-10-16 18:19:06 -07:00
|
|
|
|
2013-06-01 01:53:00 -07:00
|
|
|
'BarProp': {
|
|
|
|
'headerFile': 'mozilla/dom/BarProps.h',
|
|
|
|
},
|
|
|
|
|
2012-11-07 17:59:14 -08:00
|
|
|
'BiquadFilterNode': {
|
2013-04-26 14:11:23 -07:00
|
|
|
'resultNotAddRefed': [ 'frequency', 'detune', 'q', 'gain' ],
|
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,
|
|
|
|
}],
|
|
|
|
|
2013-02-05 04:54:49 -08:00
|
|
|
'BatteryManager': {
|
|
|
|
'nativeType': 'mozilla::dom::battery::BatteryManager',
|
|
|
|
'headerFile': 'BatteryManager.h'
|
|
|
|
},
|
|
|
|
|
2013-08-12 01:32:53 -07:00
|
|
|
'BluetoothAdapter': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothAdapter',
|
|
|
|
'headerFile': 'BluetoothAdapter.h'
|
|
|
|
},
|
|
|
|
|
2013-08-12 01:34:28 -07:00
|
|
|
'BluetoothDevice': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothDevice',
|
|
|
|
'headerFile': 'BluetoothDevice.h'
|
|
|
|
},
|
|
|
|
|
2013-08-12 01:31:58 -07:00
|
|
|
'BluetoothManager': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothManager',
|
|
|
|
'headerFile': 'BluetoothManager.h'
|
|
|
|
},
|
|
|
|
|
2014-02-14 14:41:07 -08:00
|
|
|
'CameraCapabilities': {
|
|
|
|
'nativeType': 'mozilla::dom::CameraCapabilities',
|
|
|
|
'headerFile': 'DOMCameraCapabilities.h'
|
|
|
|
},
|
|
|
|
|
2013-07-06 13:55:10 -07:00
|
|
|
'CameraControl': {
|
|
|
|
'nativeType': 'mozilla::nsDOMCameraControl',
|
|
|
|
'headerFile': 'DOMCameraControl.h',
|
|
|
|
'binaryNames': {
|
|
|
|
"release": "ReleaseHardware"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2014-04-09 08:52:10 -07:00
|
|
|
'CameraDetectedFace': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMCameraDetectedFace',
|
|
|
|
'headerFile': 'DOMCameraDetectedFace.h'
|
|
|
|
},
|
|
|
|
|
2013-05-09 23:25:25 -07:00
|
|
|
'CameraManager': {
|
|
|
|
'nativeType': 'nsDOMCameraManager',
|
|
|
|
'headerFile': 'DOMCameraManager.h'
|
|
|
|
},
|
|
|
|
|
2014-04-09 08:52:10 -07:00
|
|
|
'CameraPoint': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMCameraPoint',
|
|
|
|
'headerFile': 'DOMCameraDetectedFace.h'
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'CanvasRenderingContext2D': {
|
2012-06-13 08:14:15 -07:00
|
|
|
'implicitJSContext': [
|
2013-08-23 02:22:29 -07:00
|
|
|
'createImageData', 'getImageData'
|
2012-06-13 08:14:15 -07:00
|
|
|
],
|
2013-04-19 01:49:22 -07:00
|
|
|
'resultNotAddRefed': [ 'canvas', 'measureText' ],
|
2012-06-13 08:14:15 -07:00
|
|
|
'binaryNames': {
|
|
|
|
'mozImageSmoothingEnabled': 'imageSmoothingEnabled',
|
|
|
|
'mozFillRule': 'fillRule'
|
|
|
|
}
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-06-13 08:14:15 -07:00
|
|
|
|
2013-02-05 04:54:49 -08:00
|
|
|
'CaretPosition' : {
|
|
|
|
'nativeType': 'nsDOMCaretPosition',
|
|
|
|
},
|
2012-12-28 09:11:06 -08:00
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'CharacterData': {
|
|
|
|
'nativeType': 'nsGenericDOMDataNode',
|
2013-01-04 09:02:14 -08:00
|
|
|
'concrete': False
|
2013-01-04 09:02:14 -08:00
|
|
|
},
|
|
|
|
|
2014-02-05 20:36:57 -08:00
|
|
|
'ChromeWindow': {
|
|
|
|
'concrete': False,
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2013-11-05 06:16:24 -08:00
|
|
|
'ChromeWorker': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerPrivate.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::ChromeWorkerPrivate',
|
|
|
|
},
|
|
|
|
|
2014-02-27 15:39:00 -08:00
|
|
|
'Console': {
|
|
|
|
'implicitJSContext': [ 'trace', 'time', 'timeEnd' ],
|
|
|
|
},
|
|
|
|
|
2013-06-10 13:07:55 -07:00
|
|
|
'ConvolverNode': {
|
|
|
|
'implicitJSContext': [ 'buffer' ],
|
|
|
|
'resultNotAddRefed': [ 'buffer' ],
|
|
|
|
},
|
|
|
|
|
2013-04-12 11:46:27 -07:00
|
|
|
'Coordinates': {
|
|
|
|
'headerFile': 'nsGeoPosition.h'
|
|
|
|
},
|
|
|
|
|
2014-01-27 08:27:04 -08:00
|
|
|
'CRMFObject': {
|
|
|
|
'headerFile': 'nsCrypto.h',
|
2014-01-27 08:27:06 -08:00
|
|
|
'nativeOwnership': 'owned',
|
2014-01-27 08:27:04 -08:00
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2013-07-31 23:57:25 -07:00
|
|
|
'Crypto' : {
|
2013-08-30 10:13:20 -07:00
|
|
|
'implicitJSContext': [ 'generateCRMFRequest', 'signText' ],
|
|
|
|
'headerFile': 'Crypto.h'
|
2013-07-31 23:57:25 -07:00
|
|
|
},
|
|
|
|
|
2012-11-24 16:26:07 -08:00
|
|
|
'CSS': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-08-23 21:08:09 -07:00
|
|
|
'CSS2Properties': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'nsDOMCSSDeclaration'
|
2012-08-23 21:08:09 -07:00
|
|
|
},
|
|
|
|
|
2013-03-01 22:08:42 -08:00
|
|
|
'CSSPrimitiveValue': {
|
|
|
|
'nativeType': 'nsROCSSPrimitiveValue',
|
|
|
|
'resultNotAddRefed': ['getRGBColorValue', 'getRectValue']
|
2012-10-01 09:49:41 -07:00
|
|
|
},
|
|
|
|
|
2012-08-23 21:08:09 -07:00
|
|
|
'CSSStyleDeclaration': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'nsICSSDeclaration'
|
2012-08-23 21:08:09 -07:00
|
|
|
},
|
|
|
|
|
2013-03-17 07:45:01 -07:00
|
|
|
'CSSStyleSheet': {
|
|
|
|
'nativeType': 'nsCSSStyleSheet',
|
|
|
|
'binaryNames': { 'ownerRule': 'DOMOwnerRule' },
|
|
|
|
},
|
|
|
|
|
2013-03-01 22:08:42 -08:00
|
|
|
'CSSValue': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'concrete': False
|
2012-10-01 09:49:41 -07:00
|
|
|
},
|
|
|
|
|
2013-03-01 22:08:42 -08:00
|
|
|
'CSSValueList': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'nsDOMCSSValueList'
|
2012-10-01 09:49:41 -07:00
|
|
|
},
|
|
|
|
|
2013-05-20 00:19:45 -07:00
|
|
|
'DataChannel': {
|
|
|
|
'nativeType': 'nsDOMDataChannel',
|
|
|
|
},
|
|
|
|
|
2013-11-05 06:16:26 -08:00
|
|
|
'DedicatedWorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
'workers': True,
|
|
|
|
},
|
|
|
|
|
2013-10-31 15:28:22 -07:00
|
|
|
'DelayNode': {
|
2012-10-31 17:26:03 -07:00
|
|
|
'resultNotAddRefed': [ 'delayTime' ],
|
2013-10-31 15:28:22 -07:00
|
|
|
},
|
2012-10-31 17:26:03 -07:00
|
|
|
|
2014-01-01 14:52:47 -08:00
|
|
|
'DeviceAcceleration': {
|
2014-02-27 02:51:12 -08:00
|
|
|
'headerFile': 'mozilla/dom/DeviceMotionEvent.h',
|
2013-04-16 06:03:46 -07:00
|
|
|
},
|
|
|
|
|
2014-01-01 14:52:47 -08:00
|
|
|
'DeviceRotationRate': {
|
2014-02-27 02:51:12 -08:00
|
|
|
'headerFile': 'mozilla/dom/DeviceMotionEvent.h',
|
2014-01-01 14:52:47 -08:00
|
|
|
},
|
|
|
|
|
2013-05-31 23:56:00 -07:00
|
|
|
'DeviceStorage': {
|
|
|
|
'nativeType': 'nsDOMDeviceStorage',
|
|
|
|
'headerFile': 'DeviceStorage.h',
|
|
|
|
},
|
|
|
|
|
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-22 00:27:27 -08:00
|
|
|
'resultNotAddRefed': [ 'implementation', 'doctype', 'documentElement',
|
|
|
|
'getElementById', 'adoptNode', 'defaultView',
|
|
|
|
'activeElement', 'currentScript',
|
|
|
|
'mozFullScreenElement', 'mozPointerLockElement',
|
|
|
|
'styleSheets', 'styleSheetSets', 'elementFromPoint',
|
|
|
|
'querySelector', 'getAnonymousNodes',
|
|
|
|
'getAnonymousElementByAtribute', 'getBindingParent'
|
2013-09-24 14:56:52 -07:00
|
|
|
],
|
|
|
|
'binaryNames': {
|
|
|
|
'documentURI': 'documentURIFromJS',
|
|
|
|
'URL': 'documentURIFromJS'
|
|
|
|
}
|
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-24 19:35:19 -08:00
|
|
|
'DocumentFragment': {
|
|
|
|
'resultNotAddRefed': [ 'querySelector' ]
|
|
|
|
},
|
|
|
|
|
2013-09-08 20:28:49 -07:00
|
|
|
'DOMException': {
|
|
|
|
'binaryNames': {
|
|
|
|
'message': 'messageMoz',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2013-09-20 03:21:03 -07:00
|
|
|
'DOMPointReadOnly': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMPoint.h',
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'DOMRectList': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMRect.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
|
|
|
},
|
|
|
|
|
|
|
|
'DOMRectReadOnly': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMRect.h',
|
|
|
|
},
|
|
|
|
|
2013-09-20 03:21:04 -07:00
|
|
|
'DOMQuad': {
|
|
|
|
'resultNotAddRefed': [ 'bounds', 'p0', 'p1', 'p2', 'p3' ]
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'DOMSettableTokenList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsDOMSettableTokenList',
|
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',
|
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
|
|
|
},
|
|
|
|
},
|
2012-11-06 17:01:11 -08:00
|
|
|
|
2012-11-22 03:09:43 -08:00
|
|
|
'Element': {
|
|
|
|
'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
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-11-05 06:16:26 -08:00
|
|
|
'Event': {
|
2013-12-08 07:51:16 -08:00
|
|
|
'implicitJSContext': [ 'defaultPrevented', 'preventDefault' ],
|
2013-03-09 03:34:29 -08:00
|
|
|
},
|
2012-03-30 21:42:20 -07:00
|
|
|
|
2013-11-05 06:16:26 -08:00
|
|
|
'EventTarget': {
|
2014-03-19 09:35:45 -07:00
|
|
|
# When we get rid of hasXPConnectImpls, we can get rid of the
|
|
|
|
# couldBeDOMBinding stuff in WrapNewBindingObject.
|
2012-12-06 17:39:51 -08:00
|
|
|
'hasXPConnectImpls': True,
|
2012-05-10 12:24:59 -07:00
|
|
|
'concrete': False,
|
2014-03-31 23:13:50 -07:00
|
|
|
'jsImplParent': 'mozilla::DOMEventTargetHelper'
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
|
2013-09-08 20:28:49 -07:00
|
|
|
'Exception': {
|
2013-09-08 20:28:50 -07:00
|
|
|
'headerFile': 'mozilla/dom/DOMException.h',
|
2013-09-08 20:28:49 -07:00
|
|
|
'binaryNames': {
|
|
|
|
'message': 'messageMoz',
|
2013-09-08 20:29:21 -07:00
|
|
|
},
|
2013-09-08 20:28:49 -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
|
|
|
|
2013-04-13 00:06:31 -07:00
|
|
|
'FileReader': {
|
|
|
|
'nativeType': 'nsDOMFileReader',
|
|
|
|
'implicitJSContext': [ 'readAsArrayBuffer' ],
|
|
|
|
},
|
|
|
|
|
2012-10-01 05:56:31 -07:00
|
|
|
'FileReaderSync': {
|
2012-09-20 19:47:47 -07:00
|
|
|
'workers': True,
|
2013-09-29 21:15:37 -07:00
|
|
|
'wrapperCache': False,
|
2012-10-01 05:56:31 -07:00
|
|
|
},
|
2012-09-20 19:47:47 -07:00
|
|
|
|
2013-03-17 01:51:36 -07:00
|
|
|
'FileRequest': {
|
2014-03-16 09:53:44 -07:00
|
|
|
'nativeType': 'mozilla::dom::file::FileRequest',
|
2013-03-17 01:51:36 -07:00
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
2012-10-31 12:09:32 -07:00
|
|
|
|
2013-04-25 23:48:37 -07:00
|
|
|
'Geolocation': {
|
|
|
|
'headerFile': 'nsGeolocation.h'
|
|
|
|
},
|
|
|
|
|
2013-08-09 23:47:59 -07:00
|
|
|
'History': {
|
|
|
|
'headerFile': 'nsHistory.h',
|
|
|
|
'nativeType': 'nsHistory'
|
|
|
|
},
|
|
|
|
|
2013-03-17 07:42:03 -07:00
|
|
|
'HTMLAppletElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedObjectElement'
|
|
|
|
},
|
|
|
|
|
2013-02-08 04:20:11 -08:00
|
|
|
'HTMLBaseElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'HTMLCollection': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'nsIHTMLCollection',
|
2013-05-29 20:15:31 -07:00
|
|
|
# nsContentList.h pulls in nsIHTMLCollection.h
|
|
|
|
'headerFile': 'nsContentList.h',
|
2012-09-05 13:49:53 -07:00
|
|
|
'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'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-02-08 04:20:11 -08:00
|
|
|
'HTMLDirectoryElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'HTMLDListElement': {
|
2013-02-08 04:20:11 -08:00
|
|
|
'nativeType' : 'mozilla::dom::HTMLSharedListElement'
|
2013-01-04 09:02:14 -08:00
|
|
|
},
|
|
|
|
|
2012-12-25 18:00:47 -08:00
|
|
|
'HTMLDocument': {
|
|
|
|
'nativeType': 'nsHTMLDocument',
|
|
|
|
'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',
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'itemType', 'itemRef', 'itemProp', 'properties', 'contextMenu', 'style',
|
|
|
|
'offsetParent'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-03-17 07:42:03 -07:00
|
|
|
'HTMLEmbedElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedObjectElement'
|
|
|
|
},
|
|
|
|
|
2013-02-08 04:20:11 -08:00
|
|
|
'HTMLHeadElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
|
|
|
'HTMLHtmlElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2012-12-21 06:07:28 -08:00
|
|
|
'HTMLLabelElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'form', 'control'
|
2012-12-31 10:37:22 -08:00
|
|
|
],
|
2013-02-07 00:08:58 -08:00
|
|
|
},
|
|
|
|
|
2013-03-19 05:29:32 -07:00
|
|
|
'HTMLMediaElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'HTMLOListElement': {
|
2013-01-08 10:05:36 -08:00
|
|
|
'nativeType' : 'mozilla::dom::HTMLSharedListElement'
|
2013-02-08 08:34:48 -08:00
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'HTMLOptionsCollection': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'resultNotAddRefed': [ 'item' ],
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2013-02-08 04:20:11 -08:00
|
|
|
'HTMLParamElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
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-02-08 04:20:11 -08:00
|
|
|
'HTMLQuoteElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2012-12-29 00:08:15 -08:00
|
|
|
'HTMLTableElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'caption', 'tHead', 'tFoot', 'tBodies', 'rows'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-12-29 06:07:57 -08:00
|
|
|
'HTMLTableRowElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'cells'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-12-29 06:07:48 -08:00
|
|
|
'HTMLTableSectionElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'rows'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-03-26 00:15:23 -07:00
|
|
|
'HTMLTemplateElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'content'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-02-18 21:54:23 -08:00
|
|
|
'HTMLTextAreaElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'form', 'controllers', 'editor'
|
|
|
|
],
|
|
|
|
'binaryNames': {
|
|
|
|
'textLength': 'getTextLength'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-04-13 00:01:59 -07:00
|
|
|
'HTMLSelectElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'form',
|
|
|
|
'item',
|
|
|
|
'options',
|
|
|
|
'IndexedGetter',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-02-03 09:42:40 -08:00
|
|
|
'HTMLStyleElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'sheet'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'HTMLUListElement': {
|
2013-02-08 04:20:11 -08:00
|
|
|
'nativeType' : 'mozilla::dom::HTMLSharedListElement'
|
2013-01-04 09:02:14 -08:00
|
|
|
},
|
|
|
|
|
2013-07-31 15:28:13 -07:00
|
|
|
'IDBCursor': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBCursor',
|
|
|
|
'implicitJSContext': [ 'delete' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'direction': 'getDirection'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
'IDBCursorWithValue': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBCursor',
|
|
|
|
},
|
|
|
|
|
2013-07-31 08:48:46 -07:00
|
|
|
'IDBDatabase': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBDatabase',
|
|
|
|
},
|
|
|
|
|
2013-03-31 01:18:30 -07:00
|
|
|
'IDBFactory': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBFactory',
|
|
|
|
},
|
|
|
|
|
2013-07-01 00:02:37 -07:00
|
|
|
'IDBFileHandle': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBFileHandle',
|
|
|
|
},
|
|
|
|
|
2013-07-31 08:48:40 -07:00
|
|
|
'IDBIndex': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBIndex',
|
|
|
|
'binaryNames': {
|
|
|
|
'mozGetAll': 'getAll',
|
|
|
|
'mozGetAllKeys': 'getAllKeys',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-09-28 04:25:46 -07:00
|
|
|
'IDBKeyRange': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBKeyRange',
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2013-07-31 08:48:36 -07:00
|
|
|
'IDBObjectStore': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBObjectStore',
|
|
|
|
'implicitJSContext': [ 'createIndex' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'mozGetAll': 'getAll'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-07-31 15:28:15 -07:00
|
|
|
'IDBOpenDBRequest': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBOpenDBRequest',
|
|
|
|
'headerFile': 'IDBRequest.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'IDBRequest': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBRequest',
|
|
|
|
},
|
|
|
|
|
2013-07-29 10:12:21 -07:00
|
|
|
'IDBTransaction': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBTransaction',
|
|
|
|
},
|
|
|
|
|
2013-03-12 10:45:59 -07:00
|
|
|
'IDBVersionChangeEvent': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBVersionChangeEvent',
|
|
|
|
'headerFile': 'IDBEvents.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,
|
|
|
|
}],
|
|
|
|
|
2013-10-31 15:28:22 -07:00
|
|
|
'ImageData': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'wrapperCache': False,
|
2013-10-31 15:28:22 -07:00
|
|
|
},
|
2012-10-22 10:08:52 -07:00
|
|
|
|
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,
|
|
|
|
}],
|
|
|
|
|
2013-05-18 18:28:47 -07:00
|
|
|
'KeyEvent': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-03-26 18:32:51 -07:00
|
|
|
'LocalMediaStream': {
|
|
|
|
'headerFile': 'DOMMediaStream.h',
|
|
|
|
'nativeType': 'mozilla::DOMLocalMediaStream'
|
|
|
|
},
|
|
|
|
|
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
|
|
|
|
},
|
|
|
|
|
2014-03-24 08:10:27 -07:00
|
|
|
'LockedFile': {
|
|
|
|
'nativeType': 'mozilla::dom::file::LockedFile',
|
|
|
|
},
|
|
|
|
|
2013-11-11 00:03:17 -08:00
|
|
|
'MediaList': {
|
|
|
|
'nativeType': 'nsMediaList',
|
|
|
|
'headerFile': 'nsIMediaList.h',
|
|
|
|
},
|
|
|
|
|
2013-06-20 20:14:42 -07:00
|
|
|
'MediaSource': [{
|
|
|
|
'resultNotAddRefed': [ 'sourceBuffers', 'activeSourceBuffers' ],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'nativeType': 'JSObject',
|
|
|
|
'workers': True,
|
|
|
|
'skipGen': True
|
|
|
|
}],
|
|
|
|
|
2013-02-05 15:17:17 -08:00
|
|
|
'MediaStream': [{
|
2013-02-15 00:04:11 -08:00
|
|
|
'headerFile': 'DOMMediaStream.h',
|
|
|
|
'nativeType': 'mozilla::DOMMediaStream'
|
2013-02-05 15:17:17 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'nativeType': 'JSObject',
|
|
|
|
'workers': True,
|
|
|
|
'skipGen': True
|
|
|
|
}],
|
|
|
|
|
2013-05-21 12:17:47 -07:00
|
|
|
'MediaStreamAudioDestinationNode': {
|
|
|
|
'resultNotAddRefed': [ 'stream' ],
|
|
|
|
'binaryNames': { 'stream': 'DOMStream' }
|
|
|
|
},
|
|
|
|
|
2012-09-13 09:04:31 -07:00
|
|
|
'MediaStreamList': {
|
|
|
|
'headerFile': 'MediaStreamList.h',
|
|
|
|
'resultNotAddRefed': [ '__indexedGetter' ],
|
|
|
|
'binaryNames': { '__indexedGetter': 'IndexedGetter' }
|
|
|
|
},
|
|
|
|
|
2013-03-26 18:32:51 -07:00
|
|
|
'MediaStreamTrack': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-07-04 18:50:25 -07:00
|
|
|
'MediaRecorder': {
|
|
|
|
'headerFile': 'MediaRecorder.h',
|
|
|
|
'resultNotAddRefed': [ 'stream' ]
|
|
|
|
},
|
|
|
|
|
2013-11-05 06:16:26 -08:00
|
|
|
'MessagePort': {
|
|
|
|
'nativeType': 'mozilla::dom::MessagePortBase',
|
|
|
|
'headerFile': 'mozilla/dom/MessagePort.h',
|
|
|
|
'binaryNames': {
|
|
|
|
'postMessage': 'postMessageMoz',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2013-07-09 07:54:05 -07:00
|
|
|
'MimeType': {
|
|
|
|
'headerFile' : 'nsMimeTypeArray.h',
|
|
|
|
'nativeType': 'nsMimeType',
|
|
|
|
'resultNotAddRefed': [ 'enabledPlugin' ]
|
|
|
|
},
|
|
|
|
|
|
|
|
'MimeTypeArray': {
|
|
|
|
'nativeType': 'nsMimeTypeArray',
|
|
|
|
'resultNotAddRefed': [ 'item', 'namedItem' ]
|
|
|
|
},
|
|
|
|
|
2013-09-11 15:35:51 -07:00
|
|
|
'MozCanvasPrintState': {
|
|
|
|
'headerFile': 'mozilla/dom/HTMLCanvasElement.h',
|
|
|
|
'nativeType': 'mozilla::dom::HTMLCanvasPrintState',
|
|
|
|
},
|
2013-04-15 13:37:52 -07:00
|
|
|
|
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,
|
|
|
|
}],
|
|
|
|
|
2013-08-26 20:38:37 -07:00
|
|
|
'MozCellBroadcast': {
|
|
|
|
'nativeType': 'mozilla::dom::CellBroadcast',
|
|
|
|
},
|
|
|
|
|
2013-10-09 02:40:12 -07:00
|
|
|
'MozIcc': {
|
|
|
|
'nativeType': 'mozilla::dom::Icc',
|
|
|
|
},
|
|
|
|
|
2013-11-13 00:50:11 -08:00
|
|
|
'MozMobileConnectionArray': {
|
2014-01-01 19:06:17 -08:00
|
|
|
'nativeType': 'mozilla::dom::MobileConnectionArray',
|
2013-11-13 00:50:11 -08:00
|
|
|
'resultNotAddRefed': [ 'item' ]
|
|
|
|
},
|
|
|
|
|
2013-06-12 00:00:07 -07:00
|
|
|
'MozNamedAttrMap': {
|
|
|
|
'nativeType': 'nsDOMAttributeMap',
|
|
|
|
},
|
|
|
|
|
2013-11-24 15:50:03 -08:00
|
|
|
'MozSpeakerManager': {
|
|
|
|
'nativeType': 'mozilla::dom::SpeakerManager',
|
|
|
|
'headerFile': 'SpeakerManager.h'
|
|
|
|
},
|
|
|
|
|
2013-09-10 16:03:56 -07:00
|
|
|
'MozPowerManager': {
|
2013-09-11 07:35:04 -07:00
|
|
|
'nativeType': 'mozilla::dom::PowerManager',
|
2013-06-12 00:00:07 -07:00
|
|
|
},
|
|
|
|
|
2014-01-07 04:16:07 -08:00
|
|
|
'MozWakeLock': {
|
|
|
|
'nativeType': 'mozilla::dom::WakeLock',
|
|
|
|
},
|
|
|
|
|
2013-09-10 16:03:56 -07:00
|
|
|
'MozTimeManager': {
|
|
|
|
'nativeType': 'mozilla::dom::time::TimeManager',
|
|
|
|
},
|
|
|
|
|
2013-09-03 07:38:53 -07:00
|
|
|
'MozVoicemail': {
|
|
|
|
'nativeType': 'mozilla::dom::Voicemail',
|
|
|
|
},
|
|
|
|
|
2012-12-18 06:50:52 -08:00
|
|
|
'MutationObserver': {
|
|
|
|
'nativeType': 'nsDOMMutationObserver',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MutationRecord': {
|
|
|
|
'nativeType': 'nsDOMMutationRecord',
|
|
|
|
'headerFile': 'nsDOMMutationObserver.h',
|
|
|
|
'resultNotAddRefed': [ 'target', 'addedNodes', 'removedNodes',
|
|
|
|
'previousSibling', 'nextSibling' ]
|
|
|
|
},
|
|
|
|
|
2014-03-04 19:54:55 -08:00
|
|
|
'NetworkInformation': {
|
|
|
|
'nativeType': 'mozilla::dom::network::Connection',
|
|
|
|
},
|
|
|
|
|
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
|
|
|
'resultNotAddRefed': [ 'ownerDocument', 'parentNode', 'parentElement',
|
|
|
|
'childNodes', 'firstChild', 'lastChild',
|
|
|
|
'previousSibling', 'nextSibling', 'insertBefore',
|
|
|
|
'appendChild', 'replaceChild', 'removeChild',
|
2013-09-24 14:56:52 -07:00
|
|
|
'attributes' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'baseURI': 'baseURIFromJS'
|
|
|
|
}
|
2012-11-22 03:09:41 -08:00
|
|
|
},
|
|
|
|
|
2013-02-28 09:56:42 -08:00
|
|
|
'NodeIterator': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
'resultNotAddRefed': [ 'root', 'referenceNode' ],
|
2013-01-28 05:34:31 -08:00
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
2013-04-15 13:27:37 -07:00
|
|
|
|
2013-05-16 16:30:41 -07:00
|
|
|
'OfflineAudioCompletionEvent': {
|
|
|
|
'resultNotAddRefed': [ 'renderedBuffer' ],
|
|
|
|
},
|
|
|
|
|
|
|
|
'OfflineAudioContext': {
|
|
|
|
'nativeType': 'mozilla::dom::AudioContext',
|
|
|
|
'resultNotAddRefed': [ 'destination', 'listener' ],
|
|
|
|
},
|
|
|
|
|
2013-05-31 23:53:44 -07:00
|
|
|
'OfflineResourceList': {
|
|
|
|
'nativeType': 'nsDOMOfflineResourceList',
|
|
|
|
},
|
|
|
|
|
2013-08-19 11:53:00 -07:00
|
|
|
'OscillatorNode': {
|
|
|
|
'resultNotAddRefed': [ 'frequency', 'detune' ],
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'PaintRequestList': {
|
2014-04-02 21:18:37 -07:00
|
|
|
'headerFile': 'mozilla/dom/PaintRequest.h',
|
2012-09-05 13:49:53 -07:00
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2013-10-31 15:28:22 -07:00
|
|
|
'PannerNode': {
|
2012-11-05 18:14:13 -08:00
|
|
|
'resultNotAddRefed': [ 'coneGain', 'distanceGain' ],
|
2013-10-31 15:28:22 -07:00
|
|
|
},
|
2012-11-05 18:14:13 -08:00
|
|
|
|
2014-03-18 05:03:06 -07:00
|
|
|
'Path2D': {
|
|
|
|
'nativeType': 'mozilla::dom::CanvasPath',
|
|
|
|
'headerFile': 'CanvasRenderingContext2D.h'
|
|
|
|
},
|
|
|
|
|
2013-10-14 09:53:56 -07:00
|
|
|
'PeerConnectionImpl': {
|
|
|
|
'nativeType': 'sipcc::PeerConnectionImpl',
|
|
|
|
'headerFile': 'PeerConnectionImpl.h',
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2012-07-16 18:42:18 -07:00
|
|
|
'Performance': {
|
|
|
|
'nativeType': 'nsPerformance',
|
|
|
|
'resultNotAddRefed': [ 'timing', 'navigation' ]
|
|
|
|
},
|
|
|
|
|
|
|
|
'PerformanceTiming': {
|
|
|
|
'nativeType': 'nsPerformanceTiming',
|
2013-07-04 08:24:59 -07:00
|
|
|
'headerFile': 'nsPerformance.h'
|
2012-07-16 18:42:18 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'PerformanceNavigation': {
|
|
|
|
'nativeType': 'nsPerformanceNavigation',
|
2013-07-04 08:24:59 -07:00
|
|
|
'headerFile': 'nsPerformance.h'
|
2012-07-16 18:42:18 -07:00
|
|
|
},
|
|
|
|
|
2013-07-09 07:54:05 -07:00
|
|
|
'Plugin': {
|
|
|
|
'headerFile' : 'nsPluginArray.h',
|
|
|
|
'nativeType': 'nsPluginElement',
|
|
|
|
'resultNotAddRefed': [ 'item', 'namedItem' ]
|
|
|
|
},
|
|
|
|
|
|
|
|
'PluginArray': {
|
|
|
|
'nativeType': 'nsPluginArray',
|
|
|
|
'resultNotAddRefed': [ 'item', 'namedItem' ]
|
|
|
|
},
|
|
|
|
|
2013-04-12 11:46:27 -07:00
|
|
|
'Position': {
|
|
|
|
'headerFile': 'nsGeoPosition.h'
|
|
|
|
},
|
|
|
|
|
2013-04-12 11:46:32 -07:00
|
|
|
'PositionError': {
|
|
|
|
'headerFile': 'nsGeolocation.h'
|
|
|
|
},
|
|
|
|
|
2014-04-09 01:30:24 -07:00
|
|
|
'Promise': {
|
|
|
|
'implicitJSContext': [ 'then', 'catch' ],
|
|
|
|
},
|
|
|
|
|
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
|
|
|
|
2013-02-07 04:09:41 -08:00
|
|
|
'Range': {
|
|
|
|
'nativeType': 'nsRange',
|
|
|
|
'resultNotAddRefed': [ 'startContainer', 'endContainer', 'commonAncestorContainer' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'__stringifier': 'ToString'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2012-12-26 04:26:36 -08:00
|
|
|
'Rect': {
|
2013-03-01 22:08:42 -08:00
|
|
|
'nativeType': 'nsDOMCSSRect',
|
|
|
|
'resultNotAddRefed': [ 'top', 'right', 'bottom', 'left' ]
|
2012-12-26 04:26:36 -08:00
|
|
|
},
|
|
|
|
|
2012-12-13 23:51:39 -08:00
|
|
|
'RGBColor': {
|
2013-03-01 22:08:42 -08:00
|
|
|
'nativeType': 'nsDOMCSSRGBColor',
|
|
|
|
'resultNotAddRefed': [ 'alpha', 'blue', 'green', 'red' ]
|
2012-12-13 23:51:39 -08:00
|
|
|
},
|
|
|
|
|
2012-10-14 00:40:11 -07:00
|
|
|
'Screen': {
|
|
|
|
'nativeType': 'nsScreen',
|
|
|
|
},
|
|
|
|
|
2013-12-17 06:12:33 -08:00
|
|
|
'Selection': {
|
|
|
|
'nativeType': 'mozilla::Selection',
|
|
|
|
'resultNotAddRefed': [ 'anchorNode', 'focusNode', 'getRangeAt' ],
|
|
|
|
},
|
|
|
|
|
2013-12-02 02:26:12 -08:00
|
|
|
'ShadowRoot': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'styleSheets'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-12-20 22:43:58 -08:00
|
|
|
'HTMLShadowElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'getOldShadowRoot'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-06-05 07:04:23 -07:00
|
|
|
'SharedWorker': {
|
|
|
|
'nativeType': 'mozilla::dom::workers::SharedWorker',
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/SharedWorker.h',
|
|
|
|
'implicitJSContext': [ 'constructor' ],
|
|
|
|
},
|
|
|
|
|
2013-11-05 06:16:26 -08:00
|
|
|
'SharedWorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
'workers': True,
|
|
|
|
},
|
|
|
|
|
2013-06-20 20:14:42 -07:00
|
|
|
'SourceBufferList': {
|
|
|
|
'resultNotAddRefed': [ '__indexedGetter' ],
|
|
|
|
},
|
|
|
|
|
2013-03-17 07:45:01 -07:00
|
|
|
'StyleSheet': {
|
|
|
|
'nativeType': 'nsCSSStyleSheet',
|
|
|
|
},
|
|
|
|
|
2012-12-22 20:54:25 -08:00
|
|
|
'SVGAnimatedLengthList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGAnimatedLengthList',
|
2013-07-23 01:34:18 -07:00
|
|
|
'headerFile': 'DOMSVGAnimatedLengthList.h',
|
2012-12-22 20:54:25 -08:00
|
|
|
},
|
|
|
|
|
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'
|
|
|
|
},
|
|
|
|
|
2013-01-06 01:32:03 -08:00
|
|
|
'SVGAnimationElement': {
|
|
|
|
'resultNotAddRefed': ['targetElement'],
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-02-12 02:10:24 -08:00
|
|
|
'SVGComponentTransferFunctionElement': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-12-23 00:22:58 -08:00
|
|
|
'SVGElement': {
|
|
|
|
'nativeType': 'nsSVGElement',
|
2013-01-05 22:25:55 -08:00
|
|
|
'resultNotAddRefed': ['ownerSVGElement', 'viewportElement', 'style']
|
2012-12-23 00:22:58 -08:00
|
|
|
},
|
|
|
|
|
2013-02-12 02:10:24 -08:00
|
|
|
'SVGFEFuncAElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGComponentTransferFunctionElement.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGFEFuncBElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGComponentTransferFunctionElement.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGFEFuncGElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGComponentTransferFunctionElement.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGFEFuncRElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGComponentTransferFunctionElement.h',
|
|
|
|
},
|
|
|
|
|
2013-01-02 22:17:02 -08:00
|
|
|
'SVGGraphicsElement': {
|
2013-01-16 12:50:59 -08:00
|
|
|
'concrete': False,
|
2013-02-01 01:55:45 -08:00
|
|
|
'resultNotAddRefed': ['nearestViewportElement', 'farthestViewportElement']
|
2013-01-02 22:17:02 -08:00
|
|
|
},
|
|
|
|
|
2013-01-11 00:43:01 -08:00
|
|
|
'SVGGradientElement': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2014-04-11 14:26:29 -07:00
|
|
|
'SVGLength': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGLength',
|
|
|
|
'headerFile': 'DOMSVGLength.h'
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'SVGLengthList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'mozilla::DOMSVGLengthList',
|
2013-07-12 03:25:26 -07:00
|
|
|
'headerFile': 'DOMSVGLengthList.h'
|
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',
|
2013-07-12 03:25:26 -07:00
|
|
|
'headerFile': 'DOMSVGNumberList.h'
|
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',
|
2013-07-12 03:25:26 -07:00
|
|
|
'headerFile': 'DOMSVGPathSegList.h'
|
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',
|
2013-07-12 03:25:27 -07:00
|
|
|
'headerFile': 'DOMSVGPointList.h'
|
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-03-26 08:53:13 -07:00
|
|
|
'SVGRect': {
|
|
|
|
'nativeType': 'mozilla::dom::SVGIRect'
|
|
|
|
},
|
|
|
|
|
2013-01-06 06:14:43 -08:00
|
|
|
'SVGTextContentElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-01-06 06:14:44 -08:00
|
|
|
'SVGTextPositioningElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2012-12-22 20:54:20 -08:00
|
|
|
'SVGTransform': {
|
2014-03-17 19:41:35 -07:00
|
|
|
'resultNotAddRefed': [ 'matrix' ],
|
|
|
|
'binaryNames': {
|
|
|
|
"matrix": "GetMatrix"
|
|
|
|
}
|
2012-12-22 20:54:20 -08:00
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'SVGTransformList': {
|
2012-09-05 13:49:53 -07:00
|
|
|
'nativeType': 'mozilla::DOMSVGTransformList',
|
2013-07-12 03:25:25 -07:00
|
|
|
'headerFile': 'DOMSVGTransformList.h'
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-09-05 13:49:53 -07:00
|
|
|
|
2013-04-20 23:42:00 -07:00
|
|
|
'SVGStringList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGStringList',
|
|
|
|
'headerFile': 'DOMSVGStringList.h',
|
|
|
|
},
|
|
|
|
|
2013-01-09 15:02:47 -08:00
|
|
|
'SVGSVGElement': {
|
|
|
|
'resultNotAddRefed': [ 'getElementById' ]
|
|
|
|
},
|
|
|
|
|
2013-03-13 11:07:49 -07:00
|
|
|
'SVGUnitTypes' : {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-03-20 22:33:56 -07:00
|
|
|
'SVGZoomAndPan' : {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-01-04 09:02:14 -08:00
|
|
|
'Text': {
|
2013-02-22 06:56:29 -08:00
|
|
|
# Total hack to allow binding code to realize that nsTextNode can
|
|
|
|
# in fact be cast to Text.
|
|
|
|
'headerFile': 'nsTextNode.h',
|
2013-01-04 09:02:14 -08:00
|
|
|
},
|
|
|
|
|
2013-08-22 22:17:09 -07:00
|
|
|
'TextDecoder': {
|
|
|
|
'nativeOwnership': 'owned',
|
|
|
|
},
|
2012-12-21 16:16:14 -08:00
|
|
|
|
2013-08-22 22:17:10 -07:00
|
|
|
'TextEncoder': {
|
|
|
|
'nativeOwnership': 'owned',
|
|
|
|
},
|
2012-09-28 03:19:18 -07:00
|
|
|
|
2013-04-19 01:49:22 -07:00
|
|
|
'TextMetrics': {
|
|
|
|
'nativeOwnership': 'owned',
|
|
|
|
},
|
|
|
|
|
2013-05-24 15:55:19 -07:00
|
|
|
'TimeRanges': {
|
2013-03-02 11:16:43 -08:00
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-07-10 02:53:53 -07:00
|
|
|
'TouchList': {
|
2014-02-28 06:58:42 -08:00
|
|
|
'headerFile': 'mozilla/dom/TouchEvent.h',
|
2013-07-10 02:53:53 -07:00
|
|
|
},
|
|
|
|
|
2013-04-20 23:42:26 -07:00
|
|
|
'TreeColumns': {
|
|
|
|
'nativeType': 'nsTreeColumns',
|
|
|
|
},
|
|
|
|
|
2013-02-28 09:56:42 -08:00
|
|
|
'TreeWalker': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
'resultNotAddRefed': [ 'root', 'currentNode' ],
|
|
|
|
},
|
|
|
|
|
2013-04-25 23:48:37 -07:00
|
|
|
'UndoManager': {
|
|
|
|
'implicitJSContext' : [ 'undo', 'redo', 'transact' ],
|
|
|
|
},
|
|
|
|
|
2013-02-05 15:17:17 -08:00
|
|
|
'URL' : [{
|
2013-11-05 06:16:25 -08:00
|
|
|
'wrapperCache': False,
|
2012-09-24 20:24:43 -07:00
|
|
|
},
|
2013-02-05 15:17:17 -08:00
|
|
|
{
|
|
|
|
'workers': True,
|
2013-11-05 06:16:25 -08:00
|
|
|
'wrapperCache': False,
|
2013-02-05 15:17:17 -08:00
|
|
|
}],
|
2012-09-24 20:24:43 -07:00
|
|
|
|
2013-08-27 13:07:00 -07:00
|
|
|
'VTTCue': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::dom::TextTrackCue'
|
2013-08-27 13:07:00 -07:00
|
|
|
},
|
|
|
|
|
2013-09-20 11:42:35 -07:00
|
|
|
'VTTRegion': {
|
|
|
|
'nativeType': 'mozilla::dom::TextTrackRegion',
|
|
|
|
},
|
|
|
|
|
2012-10-09 11:39:49 -07:00
|
|
|
'WebGLActiveInfo': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLActiveInfo',
|
|
|
|
'headerFile': 'WebGLActiveInfo.h',
|
|
|
|
'wrapperCache': False
|
2012-10-09 11:39:49 -07:00
|
|
|
},
|
|
|
|
|
2012-10-04 13:35:54 -07:00
|
|
|
'WebGLBuffer': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLBuffer',
|
|
|
|
'headerFile': 'WebGLBuffer.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLExtensionCompressedTextureATC': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureATC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 14:13:05 -07:00
|
|
|
},
|
|
|
|
|
2014-03-10 15:42:58 -07:00
|
|
|
'WebGLExtensionCompressedTextureETC1': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureETC1',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLExtensionCompressedTexturePVRTC': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTexturePVRTC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 14:13:05 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionCompressedTextureS3TC': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureS3TC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 14:13:05 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionDepthTexture': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDepthTexture',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 14:13:05 -07:00
|
|
|
},
|
|
|
|
|
2012-10-17 12:11:51 -07:00
|
|
|
'WebGLExtensionDebugRendererInfo': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDebugRendererInfo',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-17 12:11:51 -07:00
|
|
|
},
|
|
|
|
|
2014-02-11 14:37:06 -08:00
|
|
|
'WebGLExtensionDebugShaders': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionDebugShaders',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2013-05-13 06:22:30 -07:00
|
|
|
'WebGLExtensionElementIndexUint': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionElementIndexUint',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-05-13 06:22:30 -07:00
|
|
|
},
|
|
|
|
|
2014-02-13 15:00:12 -08:00
|
|
|
'WebGLExtensionFragDepth': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionFragDepth',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLExtensionLoseContext': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionLoseContext',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 14:13:05 -07:00
|
|
|
},
|
|
|
|
|
2013-11-04 13:05:04 -08:00
|
|
|
'WebGLExtensionSRGB': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionSRGB',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLExtensionStandardDerivatives': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionStandardDerivatives',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 14:13:05 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionTextureFilterAnisotropic': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFilterAnisotropic',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 14:13:05 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionTextureFloat': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 14:13:05 -07:00
|
|
|
},
|
|
|
|
|
2013-06-10 13:00:52 -07:00
|
|
|
'WebGLExtensionTextureFloatLinear': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFloatLinear',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-06-10 13:00:52 -07:00
|
|
|
},
|
|
|
|
|
2014-01-23 13:47:37 -08:00
|
|
|
'WebGLExtensionTextureHalfFloat': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureHalfFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2014-02-13 06:53:53 -08:00
|
|
|
'WebGLExtensionTextureHalfFloatLinear': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureHalfFloatLinear',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2014-03-07 13:26:17 -08:00
|
|
|
'WebGLExtensionColorBufferFloat': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionColorBufferFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionColorBufferHalfFloat': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionColorBufferHalfFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2013-06-21 16:44:17 -07:00
|
|
|
'WebGLExtensionDrawBuffers': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDrawBuffers',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-06-21 16:44:17 -07:00
|
|
|
},
|
|
|
|
|
2013-06-27 14:07:21 -07:00
|
|
|
'WebGLExtensionVertexArray': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionVertexArray',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-06-27 14:07:21 -07:00
|
|
|
},
|
|
|
|
|
2013-08-13 15:11:01 -07:00
|
|
|
'WebGLExtensionInstancedArrays': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionInstancedArrays',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-08-13 15:11:01 -07:00
|
|
|
},
|
|
|
|
|
2012-10-04 13:35:54 -07:00
|
|
|
'WebGLFramebuffer': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLFramebuffer',
|
|
|
|
'headerFile': 'WebGLFramebuffer.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLProgram': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLProgram',
|
|
|
|
'headerFile': 'WebGLProgram.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
2013-08-06 14:23:46 -07:00
|
|
|
'WebGLQuery': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLQuery',
|
|
|
|
'headerFile': 'WebGLQuery.h'
|
2013-08-06 14:23:46 -07:00
|
|
|
},
|
|
|
|
|
2012-10-04 13:35:54 -07:00
|
|
|
'WebGLRenderbuffer': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLRenderbuffer',
|
|
|
|
'headerFile': 'WebGLRenderbuffer.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
2012-05-31 11:16:48 -07:00
|
|
|
'WebGLRenderingContext': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLContext',
|
|
|
|
'headerFile': 'WebGLContext.h',
|
|
|
|
'resultNotAddRefed': [ 'canvas', 'getContextAttributes', 'getExtension',
|
|
|
|
'getAttachedShaders' ],
|
|
|
|
'implicitJSContext': [ 'getSupportedExtensions' ],
|
2013-07-17 06:58:09 -07:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGL2RenderingContext': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLContext',
|
|
|
|
'headerFile': 'WebGLContext.h',
|
|
|
|
'resultNotAddRefed': [ 'canvas', 'getContextAttributes', 'getExtension',
|
|
|
|
'getAttachedShaders' ],
|
|
|
|
'implicitJSContext': [ 'getSupportedExtensions' ],
|
2012-05-31 11:16:48 -07:00
|
|
|
},
|
|
|
|
|
2012-10-04 13:35:54 -07:00
|
|
|
'WebGLShader': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLShader',
|
|
|
|
'headerFile': 'WebGLShader.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLShaderPrecisionFormat': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLShaderPrecisionFormat',
|
|
|
|
'headerFile': 'WebGLShaderPrecisionFormat.h',
|
|
|
|
'wrapperCache': False
|
2012-06-15 13:25:51 -07:00
|
|
|
},
|
|
|
|
|
2012-10-04 13:35:54 -07:00
|
|
|
'WebGLTexture': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLTexture',
|
|
|
|
'headerFile': 'WebGLTexture.h'
|
2012-10-04 13:35:54 -07:00
|
|
|
},
|
|
|
|
|
2012-10-03 14:13:05 -07:00
|
|
|
'WebGLUniformLocation': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLUniformLocation',
|
|
|
|
'headerFile': 'WebGLUniformLocation.h',
|
|
|
|
'wrapperCache': False
|
2012-10-03 14:13:05 -07:00
|
|
|
},
|
|
|
|
|
2013-06-27 14:07:21 -07:00
|
|
|
'WebGLVertexArray': {
|
2013-08-30 10:13:20 -07:00
|
|
|
'nativeType': 'mozilla::WebGLVertexArray',
|
|
|
|
'headerFile': 'WebGLVertexArray.h'
|
2013-06-27 14:07:21 -07:00
|
|
|
},
|
|
|
|
|
2014-02-20 09:35:35 -08:00
|
|
|
'WebrtcGlobalInformation': {
|
|
|
|
'nativeType': 'mozilla::dom::WebrtcGlobalInformation',
|
|
|
|
'headerFile': 'WebrtcGlobalInformation.h',
|
|
|
|
'wrapperCache': False,
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-11-05 08:58:03 -08:00
|
|
|
'WebSocket': {
|
2012-10-13 05:50:24 -07:00
|
|
|
'headerFile': 'WebSocket.h',
|
2012-11-05 08:58:03 -08:00
|
|
|
},
|
2012-10-13 05:50:24 -07:00
|
|
|
|
2013-10-08 08:51:42 -07:00
|
|
|
'Window': {
|
|
|
|
'nativeType': 'nsGlobalWindow',
|
2014-02-05 20:36:57 -08:00
|
|
|
# When turning on Window, remember to drop the "'register': False"
|
|
|
|
# from ChromeWindow.
|
2013-10-08 08:51:42 -07:00
|
|
|
'hasXPConnectImpls': True,
|
|
|
|
'register': False,
|
|
|
|
'binaryNames': {
|
|
|
|
'postMessage': 'postMessageMoz',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2013-05-30 14:46:39 -07:00
|
|
|
'WindowProxy': [
|
|
|
|
{
|
|
|
|
'nativeType': 'nsIDOMWindow',
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
{
|
|
|
|
# We need a worker descriptor for WindowProxy because EventTarget exists in
|
|
|
|
# workers. But it's an external interface, so it'll just map to JSObject*.
|
|
|
|
'workers': True
|
|
|
|
}],
|
|
|
|
|
2013-11-05 06:16:24 -08:00
|
|
|
'Worker': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerPrivate.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::WorkerPrivate',
|
|
|
|
'implicitJSContext': [
|
|
|
|
'terminate',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
2013-11-05 06:16:26 -08:00
|
|
|
'WorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
2013-07-24 00:41:55 -07:00
|
|
|
'workers': True,
|
2013-11-05 06:16:26 -08:00
|
|
|
'concrete': False,
|
|
|
|
'implicitJSContext': [
|
|
|
|
'close', 'importScripts',
|
|
|
|
],
|
2014-02-27 15:39:30 -08:00
|
|
|
'binaryNames': { 'console': 'getConsole', },
|
2014-01-26 04:35:17 -08:00
|
|
|
},
|
|
|
|
|
2013-11-05 06:16:26 -08:00
|
|
|
'WorkerLocation': {
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/Location.h',
|
2013-06-05 07:04:23 -07:00
|
|
|
'workers': True,
|
2013-11-05 06:16:26 -08:00
|
|
|
},
|
2013-06-05 07:04:23 -07:00
|
|
|
|
2013-07-24 00:38:23 -07:00
|
|
|
'WorkerNavigator': {
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/Navigator.h',
|
|
|
|
'workers': True,
|
|
|
|
},
|
|
|
|
|
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,
|
2013-09-29 21:15:37 -07:00
|
|
|
# XXXkhuey responseXML returns Document? which boils down to a JSObject*
|
|
|
|
# on a worker, and nsRefPtr<JSObject> fails in the expected way. channel is
|
|
|
|
# similar. This is ugly but it's all going away soon anyways.
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'responseXML', 'channel'
|
|
|
|
]
|
2012-03-30 21:42:20 -07:00
|
|
|
}],
|
|
|
|
|
2013-11-05 06:16:26 -08:00
|
|
|
'XMLHttpRequestEventTarget': {
|
2012-03-30 21:42:20 -07:00
|
|
|
'nativeType': 'nsXHREventTarget',
|
|
|
|
'headerFile': 'nsXMLHttpRequest.h',
|
2012-11-27 01:20:04 -08:00
|
|
|
'concrete': False
|
2012-03-30 21:42:20 -07:00
|
|
|
},
|
|
|
|
|
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',
|
|
|
|
},
|
|
|
|
|
2013-02-01 04:28:37 -08:00
|
|
|
'XMLStylesheetProcessingInstruction': {
|
|
|
|
'resultNotAddRefed': [ 'sheet' ]
|
|
|
|
},
|
|
|
|
|
2012-12-14 11:10:49 -08:00
|
|
|
'XPathEvaluator': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-03-26 08:31:54 -07:00
|
|
|
'XULDocument': {
|
|
|
|
'headerFile': 'XULDocument.h'
|
|
|
|
},
|
|
|
|
|
2013-01-29 09:51:55 -08:00
|
|
|
'XULElement': {
|
|
|
|
'nativeType': 'nsXULElement',
|
2013-01-08 10:05:36 -08:00
|
|
|
'resultNotAddRefed': [ 'controllers', 'style' ]
|
2013-01-29 09:51:55 -08:00
|
|
|
},
|
|
|
|
|
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',
|
2013-03-04 11:08:24 -08:00
|
|
|
'attributeRenamedFrom': 'attributeRenamedTo' }
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestParentInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
2012-05-29 20:45:18 -07:00
|
|
|
},
|
|
|
|
|
2012-12-14 11:10:50 -08:00
|
|
|
'TestChildInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2013-04-03 19:22:15 -07:00
|
|
|
'TestCImplementedInterface' : {
|
|
|
|
'headerFile': 'TestCImplementedInterface.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestCImplementedInterface2' : {
|
|
|
|
'headerFile': 'TestCImplementedInterface.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2013-03-18 16:08:50 -07:00
|
|
|
'TestJSImplInterface' : {
|
|
|
|
# Keep this in sync with TestExampleInterface
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False,
|
|
|
|
'resultNotAddRefed': [ 'receiveWeakSelf', 'receiveWeakNullableSelf',
|
|
|
|
'receiveWeakOther', 'receiveWeakNullableOther',
|
|
|
|
'receiveWeakExternal', 'receiveWeakNullableExternal',
|
|
|
|
'ReceiveWeakCallbackInterface',
|
|
|
|
'ReceiveWeakNullableCallbackInterface',
|
|
|
|
'receiveWeakCastableObjectSequence',
|
|
|
|
'receiveWeakNullableCastableObjectSequence',
|
|
|
|
'receiveWeakCastableObjectNullableSequence',
|
|
|
|
'receiveWeakNullableCastableObjectNullableSequence' ],
|
|
|
|
'binaryNames': { 'methodRenamedFrom': 'methodRenamedTo',
|
|
|
|
'attributeGetterRenamedFrom': 'attributeGetterRenamedTo',
|
|
|
|
'attributeRenamedFrom': 'attributeRenamedTo' }
|
|
|
|
},
|
|
|
|
|
2013-04-03 19:22:15 -07:00
|
|
|
'TestJSImplInterface2' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestJSImplInterface3' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-04-03 19:22:16 -07:00
|
|
|
'TestJSImplInterface4' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-04-03 19:22:16 -07:00
|
|
|
'TestJSImplInterface5' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestJSImplInterface6' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-04-30 13:30:25 -07:00
|
|
|
'TestNavigator' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register' : False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestNavigatorWithConstructor' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register' : False
|
|
|
|
},
|
|
|
|
|
2012-05-29 20:45:18 -07:00
|
|
|
'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
|
|
|
|
},
|
|
|
|
|
2013-03-13 11:07:49 -07:00
|
|
|
'ImplementedInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'concrete': False,
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'ImplementedInterfaceParent' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'concrete': False,
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondImplements' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'concrete': False,
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondBranch1A' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'concrete': False,
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondBranch1B' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'concrete': False,
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondBranch2A' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'concrete': False,
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondBranch2B' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'concrete': False,
|
|
|
|
'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,
|
|
|
|
},
|
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
|
|
|
|
|
2013-10-08 08:51:42 -07:00
|
|
|
addExternalIface('ApplicationCache', nativeType='nsIDOMOfflineResourceList')
|
2013-03-01 22:08:42 -08:00
|
|
|
addExternalIface('Counter')
|
2012-08-23 21:08:09 -07:00
|
|
|
addExternalIface('CSSRule')
|
2013-06-18 11:48:45 -07:00
|
|
|
addExternalIface('mozIDOMApplication', nativeType='mozIDOMApplication', headerFile='nsIDOMApplicationRegistry.h')
|
2013-03-17 07:45:01 -07:00
|
|
|
addExternalIface('CSSRuleList')
|
2013-05-16 16:40:23 -07:00
|
|
|
addExternalIface('RTCDataChannel', nativeType='nsIDOMDataChannel')
|
2012-09-05 13:49:53 -07:00
|
|
|
addExternalIface('File')
|
2012-06-13 08:14:15 -07:00
|
|
|
addExternalIface('HitRegionOptions', nativeType='nsISupports')
|
2013-01-02 11:30:02 -08:00
|
|
|
addExternalIface('imgINotificationObserver', nativeType='imgINotificationObserver')
|
|
|
|
addExternalIface('imgIRequest', nativeType='imgIRequest', notflattened=True)
|
2013-02-18 03:59:08 -08:00
|
|
|
addExternalIface('MenuBuilder', nativeType='nsIMenuBuilder', notflattened=True)
|
2013-01-29 09:51:55 -08:00
|
|
|
addExternalIface('MozBoxObject', nativeType='nsIBoxObject')
|
|
|
|
addExternalIface('MozControllers', nativeType='nsIControllers')
|
|
|
|
addExternalIface('MozFrameLoader', nativeType='nsIFrameLoader', notflattened=True)
|
2013-10-08 08:51:42 -07:00
|
|
|
addExternalIface('MozFrameRequestCallback', nativeType='nsIFrameRequestCallback',
|
2013-10-09 01:02:59 -07:00
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('MozIccInfo', headerFile='nsIDOMIccInfo.h')
|
2013-07-12 07:36:22 -07:00
|
|
|
addExternalIface('MozIccManager', headerFile='nsIDOMIccManager.h')
|
|
|
|
addExternalIface('MozMobileConnection', headerFile='nsIDOMMobileConnection.h')
|
2013-07-12 07:35:44 -07:00
|
|
|
addExternalIface('MozMobileMessageManager', headerFile='nsIDOMMobileMessageManager.h')
|
2013-03-26 08:31:54 -07:00
|
|
|
addExternalIface('MozObserver', nativeType='nsIObserver', notflattened=True)
|
2013-01-29 09:51:55 -08:00
|
|
|
addExternalIface('MozRDFCompositeDataSource', nativeType='nsIRDFCompositeDataSource',
|
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('MozRDFResource', nativeType='nsIRDFResource', notflattened=True)
|
2013-04-20 23:42:26 -07:00
|
|
|
addExternalIface('MozTreeBoxObject', nativeType='nsITreeBoxObject',
|
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('MozTreeColumn', nativeType='nsITreeColumn',
|
|
|
|
headerFile='nsITreeColumns.h')
|
2013-09-03 07:38:53 -07:00
|
|
|
addExternalIface('MozVoicemailStatus')
|
2013-09-10 16:03:56 -07:00
|
|
|
addExternalIface('MozWakeLockListener', headerFile='nsIDOMWakeLockListener.h')
|
2013-01-29 09:51:55 -08:00
|
|
|
addExternalIface('MozXULTemplateBuilder', nativeType='nsIXULTemplateBuilder')
|
2014-02-05 20:37:30 -08:00
|
|
|
addExternalIface('nsIBrowserDOMWindow', nativeType='nsIBrowserDOMWindow',
|
|
|
|
notflattened=True)
|
2013-03-28 12:41:32 -07:00
|
|
|
addExternalIface('nsIControllers', nativeType='nsIControllers')
|
2013-10-08 08:51:42 -07:00
|
|
|
addExternalIface('nsIDOMCrypto', nativeType='nsIDOMCrypto',
|
|
|
|
headerFile='Crypto.h')
|
2013-04-13 00:05:51 -07:00
|
|
|
addExternalIface('nsIInputStreamCallback', nativeType='nsIInputStreamCallback',
|
|
|
|
headerFile='nsIAsyncInputStream.h')
|
2014-02-05 20:37:30 -08:00
|
|
|
addExternalIface('nsIMessageBroadcaster', nativeType='nsIMessageBroadcaster',
|
|
|
|
headerFile='nsIMessageManager.h', notflattened=True)
|
2013-12-17 06:12:33 -08:00
|
|
|
addExternalIface('nsISelectionListener', nativeType='nsISelectionListener')
|
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')
|
2013-12-05 13:28:21 -08:00
|
|
|
addExternalIface('nsIDocShell', nativeType='nsIDocShell', notflattened=True)
|
2013-02-18 21:54:23 -08:00
|
|
|
addExternalIface('nsIEditor', nativeType='nsIEditor', notflattened=True)
|
2013-04-09 05:43:25 -07:00
|
|
|
addExternalIface('nsIVariant', nativeType='nsIVariant', notflattened=True)
|
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)
|
2013-09-08 20:28:49 -07:00
|
|
|
addExternalIface('StackFrame', nativeType='nsIStackFrame',
|
|
|
|
headerFile='nsIException.h', notflattened=True)
|
2012-09-05 13:49:53 -07:00
|
|
|
addExternalIface('SVGNumber')
|
2012-11-22 03:09:41 -08:00
|
|
|
addExternalIface('URI', nativeType='nsIURI', headerFile='nsIURI.h',
|
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('UserDataHandler')
|
2012-12-14 11:10:49 -08:00
|
|
|
addExternalIface('XPathResult', nativeType='nsISupports')
|
2012-12-22 00:27:27 -08:00
|
|
|
addExternalIface('XPathExpression')
|
|
|
|
addExternalIface('XPathNSResolver')
|
2013-03-26 08:31:54 -07:00
|
|
|
addExternalIface('XULCommandDispatcher')
|