2012-05-21 11:12:37 +00: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-31 04:42:20 +00: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 17:10:09 +00:00
|
|
|
# instances of this interface will unwrap to. If not
|
2013-03-02 06:08:42 +00:00
|
|
|
# specified, defaults to 'mozilla::dom::InterfaceName' for
|
2012-08-28 17:10:09 +00:00
|
|
|
# non-worker non-external-or-callback interfaces, to
|
2013-03-02 06:08:42 +00:00
|
|
|
# 'mozilla::dom::workers::InterfaceName' for worker
|
2012-08-28 17:10:09 +00:00
|
|
|
# non-external interfaces, to 'nsIDOM' followed by the
|
|
|
|
# interface name for non-worker external-or-callback
|
2013-03-02 06:08:42 +00:00
|
|
|
# interfaces, and to 'JSObject' for worker external-or-callback
|
2012-08-28 17:10:09 +00:00
|
|
|
# interfaces.
|
2012-03-31 04:42:20 +00:00
|
|
|
# * headerFile - The file in which the nativeType is declared (defaults
|
|
|
|
# to an educated guess).
|
2013-08-22 13:46:26 +00: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.
|
2012-03-31 04:42:20 +00:00
|
|
|
# * workers - Indicates whether the descriptor is intended to be used for
|
|
|
|
# worker threads (defaults to false).
|
|
|
|
# * customFinalize - The native class will use a custom finalize hook
|
|
|
|
# (defaults to true for workers, false otherwise).
|
2013-08-03 23:55:40 +00:00
|
|
|
# * wantsQI - Indicates whether the interface should have a QueryInterface
|
|
|
|
# method available to chrome.
|
2012-03-31 04:42:20 +00:00
|
|
|
# * notflattened - The native type does not have nsIClassInfo, so when
|
|
|
|
# wrapping it the right IID needs to be passed in.
|
2012-05-23 16:44:48 +00:00
|
|
|
# * register - True if this binding should be registered. Defaults to true.
|
2012-05-18 21:25:47 +00: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 20:25:50 +00: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 19:57:57 +00: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 15:24:59 +00:00
|
|
|
# * nativeOwnership: Describes how the native object is held. 3 possible
|
2013-03-02 06:08:42 +00:00
|
|
|
# types: worker object ('worker'), non-refcounted object
|
2013-07-04 15:24:59 +00:00
|
|
|
# ('owned'), refcounted object ('refcounted').
|
2012-09-19 13:02:37 +00: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-03-02 06:08:42 +00:00
|
|
|
# Always 'worker' for worker descriptors. Defaults to
|
2013-07-04 15:24:59 +00:00
|
|
|
# 'refcounted'.
|
2012-03-31 04:42:20 +00: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 16:58:04 +00: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-31 04:42:20 +00:00
|
|
|
|
|
|
|
DOMInterfaces = {
|
|
|
|
|
2013-03-17 08:51:36 +00:00
|
|
|
'MozActivity': {
|
|
|
|
'nativeType': 'mozilla::dom::Activity',
|
|
|
|
},
|
|
|
|
|
2013-03-14 21:16:03 +00:00
|
|
|
'AnimationEvent': {
|
|
|
|
'nativeType': 'nsDOMAnimationEvent',
|
|
|
|
},
|
|
|
|
|
2013-03-10 07:57:14 +00:00
|
|
|
'ArchiveReader': {
|
|
|
|
'nativeType': 'mozilla::dom::file::ArchiveReader',
|
|
|
|
},
|
|
|
|
|
2013-03-17 08:51:36 +00:00
|
|
|
'ArchiveRequest': {
|
|
|
|
'nativeType': 'mozilla::dom::file::ArchiveRequest',
|
|
|
|
},
|
|
|
|
|
2013-02-08 16:34:47 +00:00
|
|
|
'AudioChannelManager': {
|
|
|
|
'nativeType': 'mozilla::dom::system::AudioChannelManager',
|
|
|
|
'headerFile': 'AudioChannelManager.h'
|
|
|
|
},
|
|
|
|
|
2013-01-23 01:12:21 +00:00
|
|
|
'AudioContext': {
|
2012-09-21 22:42:14 +00:00
|
|
|
'implicitJSContext': [ 'createBuffer' ],
|
2012-11-06 00:26:03 +00:00
|
|
|
'resultNotAddRefed': [ 'destination', 'listener' ],
|
|
|
|
},
|
|
|
|
|
2013-01-24 00:50:18 +00:00
|
|
|
'AudioBufferSourceNode': {
|
2013-04-22 21:01:22 +00:00
|
|
|
'implicitJSContext': [ 'buffer' ],
|
2013-06-07 19:25:04 +00:00
|
|
|
'resultNotAddRefed': [ 'playbackRate' ],
|
2013-01-24 00:50:18 +00:00
|
|
|
},
|
|
|
|
|
2012-09-18 23:07:33 +00:00
|
|
|
'AudioNode' : {
|
|
|
|
'concrete': False,
|
2013-04-27 22:44:50 +00:00
|
|
|
'binaryNames': {
|
|
|
|
'channelCountMode': 'channelCountModeValue',
|
|
|
|
'channelInterpretation': 'channelInterpretationValue',
|
|
|
|
},
|
2012-09-18 23:07:33 +00:00
|
|
|
},
|
|
|
|
|
2013-04-14 01:37:04 +00:00
|
|
|
'AudioProcessingEvent' : {
|
|
|
|
'resultNotAddRefed': [ 'inputBuffer', 'outputBuffer' ],
|
|
|
|
},
|
2012-10-17 01:19:06 +00:00
|
|
|
|
2013-03-26 11:45:39 +00:00
|
|
|
'BeforeUnloadEvent': {
|
|
|
|
'nativeType': 'nsDOMBeforeUnloadEvent',
|
|
|
|
},
|
|
|
|
|
2013-03-27 01:32:51 +00:00
|
|
|
'AudioStreamTrack': {
|
|
|
|
},
|
|
|
|
|
2013-06-01 08:53:00 +00:00
|
|
|
'BarProp': {
|
|
|
|
'headerFile': 'mozilla/dom/BarProps.h',
|
|
|
|
},
|
|
|
|
|
2012-11-08 01:59:14 +00:00
|
|
|
'BiquadFilterNode': {
|
2013-04-26 21:11:23 +00:00
|
|
|
'resultNotAddRefed': [ 'frequency', 'detune', 'q', 'gain' ],
|
2012-11-08 01:59:14 +00:00
|
|
|
},
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'Blob': [
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
2012-05-10 19:24:59 +00:00
|
|
|
'headerFile': 'nsIDOMFile.h',
|
2012-03-31 04:42:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2013-02-05 12:54:49 +00:00
|
|
|
'BatteryManager': {
|
|
|
|
'nativeType': 'mozilla::dom::battery::BatteryManager',
|
|
|
|
'headerFile': 'BatteryManager.h'
|
|
|
|
},
|
|
|
|
|
2013-08-12 08:32:53 +00:00
|
|
|
'BluetoothAdapter': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothAdapter',
|
|
|
|
'headerFile': 'BluetoothAdapter.h'
|
|
|
|
},
|
|
|
|
|
2013-08-12 08:34:28 +00:00
|
|
|
'BluetoothDevice': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothDevice',
|
|
|
|
'headerFile': 'BluetoothDevice.h'
|
|
|
|
},
|
|
|
|
|
2013-08-12 08:31:58 +00:00
|
|
|
'BluetoothManager': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothManager',
|
|
|
|
'headerFile': 'BluetoothManager.h'
|
|
|
|
},
|
|
|
|
|
2013-07-15 08:27:19 +00:00
|
|
|
'CallEvent': {
|
|
|
|
'nativeType': 'mozilla::dom::telephony::CallEvent',
|
2013-09-07 06:19:53 +00:00
|
|
|
'headerFile': 'mozilla/dom/telephony/CallEvent.h',
|
2013-07-15 08:27:19 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'CallsList': {
|
|
|
|
'nativeType': 'mozilla::dom::telephony::CallsList',
|
2013-09-07 06:19:53 +00:00
|
|
|
'headerFile': 'mozilla/dom/telephony/CallsList.h',
|
2013-07-15 08:27:19 +00:00
|
|
|
},
|
|
|
|
|
2013-07-06 20:55:10 +00:00
|
|
|
'CameraControl': {
|
|
|
|
'nativeType': 'mozilla::nsDOMCameraControl',
|
|
|
|
'headerFile': 'DOMCameraControl.h',
|
|
|
|
'binaryNames': {
|
|
|
|
"release": "ReleaseHardware"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-05-10 06:25:25 +00:00
|
|
|
'CameraManager': {
|
|
|
|
'nativeType': 'nsDOMCameraManager',
|
|
|
|
'headerFile': 'DOMCameraManager.h'
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'CanvasRenderingContext2D': {
|
2012-06-13 15:14:15 +00:00
|
|
|
'implicitJSContext': [
|
2013-07-26 18:25:54 +00:00
|
|
|
'createImageData', 'getImageData', 'mozDash'
|
2012-06-13 15:14:15 +00:00
|
|
|
],
|
2013-04-19 08:49:22 +00:00
|
|
|
'resultNotAddRefed': [ 'canvas', 'measureText' ],
|
2012-06-13 15:14:15 +00:00
|
|
|
'binaryNames': {
|
|
|
|
'mozImageSmoothingEnabled': 'imageSmoothingEnabled',
|
|
|
|
'mozFillRule': 'fillRule'
|
|
|
|
}
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-06-13 15:14:15 +00:00
|
|
|
|
2013-02-05 12:54:49 +00:00
|
|
|
'CaretPosition' : {
|
|
|
|
'nativeType': 'nsDOMCaretPosition',
|
|
|
|
},
|
2012-12-28 17:11:06 +00:00
|
|
|
|
2013-01-04 17:02:14 +00:00
|
|
|
'CharacterData': {
|
|
|
|
'nativeType': 'nsGenericDOMDataNode',
|
2013-01-04 17:02:14 +00:00
|
|
|
'concrete': False
|
2013-01-04 17:02:14 +00:00
|
|
|
},
|
|
|
|
|
2013-03-17 07:55:17 +00:00
|
|
|
'ClientRect': {
|
|
|
|
'nativeType': 'nsClientRect',
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'ClientRectList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'nsClientRectList',
|
|
|
|
'headerFile': 'nsClientRect.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2013-03-28 14:11:21 +00:00
|
|
|
'ClipboardEvent': {
|
|
|
|
'nativeType': 'nsDOMClipboardEvent',
|
|
|
|
},
|
|
|
|
|
2013-03-13 21:05:32 +00:00
|
|
|
'CommandEvent': {
|
|
|
|
'nativeType': 'nsDOMCommandEvent',
|
|
|
|
},
|
|
|
|
|
2013-03-26 11:45:45 +00:00
|
|
|
'CompositionEvent': {
|
|
|
|
'nativeType': 'nsDOMCompositionEvent',
|
|
|
|
},
|
|
|
|
|
2013-06-10 20:07:55 +00:00
|
|
|
'ConvolverNode': {
|
|
|
|
'implicitJSContext': [ 'buffer' ],
|
|
|
|
'resultNotAddRefed': [ 'buffer' ],
|
|
|
|
},
|
|
|
|
|
2013-04-12 18:46:27 +00:00
|
|
|
'Coordinates': {
|
|
|
|
'headerFile': 'nsGeoPosition.h'
|
|
|
|
},
|
|
|
|
|
2013-08-01 06:57:25 +00:00
|
|
|
'Crypto' : {
|
2013-08-30 17:13:20 +00:00
|
|
|
'implicitJSContext': [ 'generateCRMFRequest', 'signText' ],
|
|
|
|
'headerFile': 'Crypto.h'
|
2013-08-01 06:57:25 +00:00
|
|
|
},
|
|
|
|
|
2012-11-25 00:26:07 +00:00
|
|
|
'CSS': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-08-24 04:08:09 +00:00
|
|
|
'CSS2Properties': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'nsDOMCSSDeclaration'
|
2012-08-24 04:08:09 +00:00
|
|
|
},
|
|
|
|
|
2013-03-02 06:08:42 +00:00
|
|
|
'CSSPrimitiveValue': {
|
|
|
|
'nativeType': 'nsROCSSPrimitiveValue',
|
|
|
|
'resultNotAddRefed': ['getRGBColorValue', 'getRectValue']
|
2012-10-01 16:49:41 +00:00
|
|
|
},
|
|
|
|
|
2012-08-24 04:08:09 +00:00
|
|
|
'CSSStyleDeclaration': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'nsICSSDeclaration'
|
2012-08-24 04:08:09 +00:00
|
|
|
},
|
|
|
|
|
2013-03-17 14:45:01 +00:00
|
|
|
'CSSStyleSheet': {
|
|
|
|
'nativeType': 'nsCSSStyleSheet',
|
|
|
|
'binaryNames': { 'ownerRule': 'DOMOwnerRule' },
|
|
|
|
},
|
|
|
|
|
2013-03-02 06:08:42 +00:00
|
|
|
'CSSValue': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'concrete': False
|
2012-10-01 16:49:41 +00:00
|
|
|
},
|
|
|
|
|
2013-03-02 06:08:42 +00:00
|
|
|
'CSSValueList': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'nsDOMCSSValueList'
|
2012-10-01 16:49:41 +00:00
|
|
|
},
|
|
|
|
|
2013-05-20 07:19:45 +00:00
|
|
|
'DataChannel': {
|
|
|
|
'nativeType': 'nsDOMDataChannel',
|
|
|
|
},
|
|
|
|
|
2013-05-16 14:10:30 +00:00
|
|
|
'DataContainerEvent': {
|
|
|
|
'nativeType': 'nsDOMDataContainerEvent',
|
|
|
|
},
|
|
|
|
|
2012-11-01 00:26:03 +00:00
|
|
|
'DelayNode': [
|
|
|
|
{
|
|
|
|
'resultNotAddRefed': [ 'delayTime' ],
|
|
|
|
}],
|
|
|
|
|
2013-04-16 13:03:46 +00:00
|
|
|
'DeviceMotionEvent': {
|
|
|
|
'nativeType': 'nsDOMDeviceMotionEvent',
|
|
|
|
},
|
|
|
|
|
2013-06-01 06:56:00 +00:00
|
|
|
'DeviceStorage': {
|
|
|
|
'nativeType': 'nsDOMDeviceStorage',
|
|
|
|
'headerFile': 'DeviceStorage.h',
|
|
|
|
},
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'Document': [
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
2012-05-10 19:24:59 +00:00
|
|
|
'nativeType': 'nsIDocument',
|
2012-12-22 08:27:27 +00:00
|
|
|
'resultNotAddRefed': [ 'implementation', 'doctype', 'documentElement',
|
|
|
|
'getElementById', 'adoptNode', 'defaultView',
|
|
|
|
'activeElement', 'currentScript',
|
|
|
|
'mozFullScreenElement', 'mozPointerLockElement',
|
|
|
|
'styleSheets', 'styleSheetSets', 'elementFromPoint',
|
|
|
|
'querySelector', 'getAnonymousNodes',
|
|
|
|
'getAnonymousElementByAtribute', 'getBindingParent'
|
|
|
|
]
|
2012-03-31 04:42:20 +00:00
|
|
|
},
|
|
|
|
{
|
2012-11-05 16:58:04 +00:00
|
|
|
'nativeType': 'JSObject',
|
2012-03-31 04:42:20 +00:00
|
|
|
'workers': True,
|
2012-11-05 16:58:04 +00:00
|
|
|
'skipGen': True
|
2012-03-31 04:42:20 +00:00
|
|
|
}],
|
|
|
|
|
2012-12-25 03:35:19 +00:00
|
|
|
'DocumentFragment': {
|
|
|
|
'resultNotAddRefed': [ 'querySelector' ]
|
|
|
|
},
|
|
|
|
|
2013-09-09 03:28:49 +00:00
|
|
|
'DOMException': {
|
2013-09-09 03:29:21 +00:00
|
|
|
'wantsQI': False,
|
2013-09-09 03:28:49 +00:00
|
|
|
'binaryNames': {
|
|
|
|
'message': 'messageMoz',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'DOMSettableTokenList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'nsDOMSettableTokenList',
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'DOMStringMap': {
|
|
|
|
'nativeType': 'nsDOMStringMap'
|
|
|
|
},
|
|
|
|
|
|
|
|
'DOMTokenList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'nsDOMTokenList',
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2013-04-18 23:13:35 +00:00
|
|
|
'DragEvent': {
|
|
|
|
'nativeType': 'nsDOMDragEvent',
|
|
|
|
},
|
|
|
|
|
2013-01-29 04:30:17 +00:00
|
|
|
'DummyInterface': {
|
|
|
|
'skipGen': True,
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'DummyInterfaceWorkers': {
|
|
|
|
'skipGen': True,
|
|
|
|
'register': False,
|
|
|
|
'workers': True
|
|
|
|
},
|
|
|
|
|
2013-01-24 00:50:18 +00:00
|
|
|
'DynamicsCompressorNode': {
|
2012-11-07 01:01:11 +00:00
|
|
|
'resultNotAddRefed': [ 'threshold', 'knee', 'ratio',
|
|
|
|
'reduction', 'attack', 'release' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'release': 'getRelease'
|
2013-01-24 00:50:18 +00:00
|
|
|
},
|
|
|
|
},
|
2012-11-07 01:01:11 +00:00
|
|
|
|
2012-11-22 11:09:43 +00:00
|
|
|
'Element': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'classList', 'attributes', 'children', 'firstElementChild',
|
|
|
|
'lastElementChild', 'previousElementSibling', 'nextElementSibling',
|
2012-12-25 03:35:19 +00:00
|
|
|
'getAttributeNode', 'getAttributeNodeNS', 'querySelector'
|
2012-11-22 11:09:43 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'Event': [
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
2013-03-09 11:34:29 +00:00
|
|
|
'nativeType': 'nsDOMEvent',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'nativeType': 'JSObject',
|
2012-03-31 04:42:20 +00:00
|
|
|
'workers': True,
|
2013-03-09 11:34:29 +00:00
|
|
|
'skipGen': True
|
2012-03-31 04:42:20 +00:00
|
|
|
}],
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'EventListener': [
|
2013-01-28 13:34:31 +00:00
|
|
|
{
|
|
|
|
'nativeType': 'nsIDOMEventListener'
|
|
|
|
},
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'EventTarget': [
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
2012-12-07 01:39:51 +00:00
|
|
|
'hasXPConnectImpls': True,
|
2012-05-10 19:24:59 +00:00
|
|
|
'concrete': False,
|
2013-04-04 02:22:16 +00:00
|
|
|
'jsImplParent': 'nsDOMEventTargetHelper'
|
2012-03-31 04:42:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
2012-05-10 19:24:59 +00:00
|
|
|
'concrete': False
|
2012-03-31 04:42:20 +00:00
|
|
|
}],
|
|
|
|
|
2013-09-09 03:28:49 +00:00
|
|
|
'Exception': {
|
2013-09-09 03:28:50 +00:00
|
|
|
'headerFile': 'mozilla/dom/DOMException.h',
|
2013-09-09 03:29:21 +00:00
|
|
|
'wantsQI': False,
|
2013-09-09 03:28:49 +00:00
|
|
|
'binaryNames': {
|
|
|
|
'message': 'messageMoz',
|
2013-09-09 03:29:21 +00:00
|
|
|
},
|
2013-09-09 03:28:49 +00:00
|
|
|
},
|
|
|
|
|
2012-12-02 08:58:57 +00:00
|
|
|
'FileHandle': {
|
|
|
|
'nativeType': 'mozilla::dom::file::FileHandle'
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'FileList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'nsDOMFileList',
|
|
|
|
'headerFile': 'nsDOMFile.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2013-04-13 07:06:31 +00:00
|
|
|
'FileReader': {
|
|
|
|
'nativeType': 'nsDOMFileReader',
|
|
|
|
'implicitJSContext': [ 'readAsArrayBuffer' ],
|
|
|
|
},
|
|
|
|
|
2012-10-01 12:56:31 +00:00
|
|
|
'FileReaderSync': {
|
2012-09-21 02:47:47 +00:00
|
|
|
'workers': True,
|
2012-10-01 12:56:31 +00:00
|
|
|
},
|
2012-09-21 02:47:47 +00:00
|
|
|
|
2013-03-17 08:51:36 +00:00
|
|
|
'FileRequest': {
|
|
|
|
'nativeType': 'mozilla::dom::file::DOMFileRequest',
|
|
|
|
},
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'FormData': [
|
2012-12-11 18:09:56 +00:00
|
|
|
{
|
|
|
|
'nativeType': 'nsFormData'
|
|
|
|
},
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
|
|
|
'workers': True,
|
2012-12-11 18:09:56 +00:00
|
|
|
'skipGen': True,
|
|
|
|
'nativeType': 'JSObject'
|
2012-03-31 04:42:20 +00:00
|
|
|
}],
|
|
|
|
|
2013-06-05 12:02:51 +00:00
|
|
|
'FocusEvent': {
|
|
|
|
'nativeType': 'nsDOMFocusEvent',
|
|
|
|
},
|
|
|
|
|
2013-01-24 00:50:18 +00:00
|
|
|
'GainNode': {
|
2012-10-31 19:09:32 +00:00
|
|
|
'resultNotAddRefed': [ 'gain' ],
|
2013-01-24 00:50:18 +00:00
|
|
|
},
|
2012-10-31 19:09:32 +00:00
|
|
|
|
2013-04-26 06:48:37 +00:00
|
|
|
'Geolocation': {
|
|
|
|
'headerFile': 'nsGeolocation.h'
|
|
|
|
},
|
|
|
|
|
2013-08-10 06:47:59 +00:00
|
|
|
'History': {
|
|
|
|
'headerFile': 'nsHistory.h',
|
|
|
|
'nativeType': 'nsHistory'
|
|
|
|
},
|
|
|
|
|
2013-03-17 14:42:03 +00:00
|
|
|
'HTMLAppletElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedObjectElement'
|
|
|
|
},
|
|
|
|
|
2013-02-08 12:20:11 +00:00
|
|
|
'HTMLBaseElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'HTMLCollection': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'nsIHTMLCollection',
|
2013-05-30 03:15:31 +00:00
|
|
|
# nsContentList.h pulls in nsIHTMLCollection.h
|
|
|
|
'headerFile': 'nsContentList.h',
|
2012-09-05 20:49:53 +00:00
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2012-12-21 14:07:28 +00:00
|
|
|
'HTMLDataListElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'options'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-02-08 12:20:11 +00:00
|
|
|
'HTMLDirectoryElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2013-01-04 17:02:14 +00:00
|
|
|
'HTMLDListElement': {
|
2013-02-08 12:20:11 +00:00
|
|
|
'nativeType' : 'mozilla::dom::HTMLSharedListElement'
|
2013-01-04 17:02:14 +00:00
|
|
|
},
|
|
|
|
|
2012-12-26 02:00:47 +00:00
|
|
|
'HTMLDocument': {
|
|
|
|
'nativeType': 'nsHTMLDocument',
|
|
|
|
'resultNotAddRefed': [ 'body', 'head', 'images', 'embeds', 'plugins',
|
|
|
|
'links', 'forms', 'scripts', 'anchors', 'applets' ],
|
|
|
|
'implicitJSContext': [ 'open', 'write', 'writeln' ]
|
|
|
|
},
|
|
|
|
|
2012-11-26 14:19:02 +00:00
|
|
|
'HTMLElement': {
|
|
|
|
'nativeType': 'nsGenericHTMLElement',
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'itemType', 'itemRef', 'itemProp', 'properties', 'contextMenu', 'style',
|
|
|
|
'offsetParent'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-03-17 14:42:03 +00:00
|
|
|
'HTMLEmbedElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedObjectElement'
|
|
|
|
},
|
|
|
|
|
2013-02-08 12:20:11 +00:00
|
|
|
'HTMLHeadElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
|
|
|
'HTMLHtmlElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2012-12-21 14:07:28 +00:00
|
|
|
'HTMLLabelElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'form', 'control'
|
2012-12-31 18:37:22 +00:00
|
|
|
],
|
2013-02-07 08:08:58 +00:00
|
|
|
},
|
|
|
|
|
2013-03-19 12:29:32 +00:00
|
|
|
'HTMLMediaElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-01-04 17:02:14 +00:00
|
|
|
'HTMLOListElement': {
|
2013-01-08 18:05:36 +00:00
|
|
|
'nativeType' : 'mozilla::dom::HTMLSharedListElement'
|
2013-02-08 16:34:48 +00:00
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'HTMLOptionsCollection': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'resultNotAddRefed': [ 'item' ],
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2013-02-08 12:20:11 +00:00
|
|
|
'HTMLParamElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'HTMLPropertiesCollection': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'headerFile': 'HTMLPropertiesCollection.h',
|
|
|
|
'resultNotAddRefed': [ 'item', 'namedItem', 'names' ]
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2013-02-08 12:20:11 +00:00
|
|
|
'HTMLQuoteElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2012-12-29 08:08:15 +00:00
|
|
|
'HTMLTableElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'caption', 'tHead', 'tFoot', 'tBodies', 'rows'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-12-29 14:07:57 +00:00
|
|
|
'HTMLTableRowElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'cells'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2012-12-29 14:07:48 +00:00
|
|
|
'HTMLTableSectionElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'rows'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-03-26 07:15:23 +00:00
|
|
|
'HTMLTemplateElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'content'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-02-19 05:54:23 +00:00
|
|
|
'HTMLTextAreaElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'form', 'controllers', 'editor'
|
|
|
|
],
|
|
|
|
'binaryNames': {
|
|
|
|
'textLength': 'getTextLength'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-04-13 07:01:59 +00:00
|
|
|
'HTMLSelectElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'form',
|
|
|
|
'item',
|
|
|
|
'options',
|
|
|
|
'IndexedGetter',
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-02-03 17:42:40 +00:00
|
|
|
'HTMLStyleElement': {
|
|
|
|
'resultNotAddRefed': [
|
|
|
|
'sheet'
|
|
|
|
]
|
|
|
|
},
|
|
|
|
|
2013-01-04 17:02:14 +00:00
|
|
|
'HTMLUListElement': {
|
2013-02-08 12:20:11 +00:00
|
|
|
'nativeType' : 'mozilla::dom::HTMLSharedListElement'
|
2013-01-04 17:02:14 +00:00
|
|
|
},
|
|
|
|
|
2013-07-31 22:28:13 +00:00
|
|
|
'IDBCursor': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBCursor',
|
|
|
|
'implicitJSContext': [ 'delete' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'direction': 'getDirection'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
'IDBCursorWithValue': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBCursor',
|
|
|
|
},
|
|
|
|
|
2013-07-31 15:48:46 +00:00
|
|
|
'IDBDatabase': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBDatabase',
|
|
|
|
},
|
|
|
|
|
2013-03-31 08:18:30 +00:00
|
|
|
'IDBFactory': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBFactory',
|
|
|
|
},
|
|
|
|
|
2013-07-01 07:02:37 +00:00
|
|
|
'IDBFileHandle': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBFileHandle',
|
|
|
|
},
|
|
|
|
|
2013-07-31 15:48:40 +00:00
|
|
|
'IDBIndex': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBIndex',
|
|
|
|
'binaryNames': {
|
|
|
|
'mozGetAll': 'getAll',
|
|
|
|
'mozGetAllKeys': 'getAllKeys',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-07-31 15:48:36 +00:00
|
|
|
'IDBObjectStore': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBObjectStore',
|
|
|
|
'implicitJSContext': [ 'createIndex' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'mozGetAll': 'getAll'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-07-31 22:28:15 +00:00
|
|
|
'IDBOpenDBRequest': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBOpenDBRequest',
|
|
|
|
'headerFile': 'IDBRequest.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'IDBRequest': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBRequest',
|
|
|
|
},
|
|
|
|
|
2013-07-29 17:12:21 +00:00
|
|
|
'IDBTransaction': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBTransaction',
|
|
|
|
},
|
|
|
|
|
2013-03-12 17:45:59 +00:00
|
|
|
'IDBVersionChangeEvent': {
|
|
|
|
'nativeType': 'mozilla::dom::indexedDB::IDBVersionChangeEvent',
|
|
|
|
'headerFile': 'IDBEvents.h',
|
|
|
|
},
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'IID': [
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
2012-10-16 03:12:03 +00:00
|
|
|
'nativeType': 'nsIJSID',
|
2012-05-10 19:24:59 +00:00
|
|
|
'headerFile': 'xpcjsid.h',
|
2012-03-31 04:42:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2013-08-03 23:55:40 +00:00
|
|
|
'ImageData': [
|
|
|
|
{
|
2013-08-30 17:13:20 +00:00
|
|
|
'wrapperCache': False,
|
|
|
|
'wantsQI': False,
|
2013-08-03 23:55:40 +00:00
|
|
|
}],
|
2012-10-22 17:08:52 +00:00
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'InputStream': [
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
2012-05-10 19:24:59 +00:00
|
|
|
'nativeType': 'nsIInputStream',
|
|
|
|
'notflattened': True
|
2012-03-31 04:42:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2013-05-12 05:08:37 +00:00
|
|
|
'KeyboardEvent': {
|
2013-04-20 23:48:55 +00:00
|
|
|
'nativeType': 'nsDOMKeyboardEvent',
|
|
|
|
},
|
|
|
|
|
2013-05-19 01:28:47 +00:00
|
|
|
'KeyEvent': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-03-27 01:32:51 +00:00
|
|
|
'LocalMediaStream': {
|
|
|
|
'headerFile': 'DOMMediaStream.h',
|
|
|
|
'nativeType': 'mozilla::DOMLocalMediaStream'
|
|
|
|
},
|
|
|
|
|
2012-12-22 08:27:27 +00: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
|
|
|
|
},
|
|
|
|
|
2013-06-21 03:14:42 +00:00
|
|
|
'MediaSource': [{
|
|
|
|
'resultNotAddRefed': [ 'sourceBuffers', 'activeSourceBuffers' ],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'nativeType': 'JSObject',
|
|
|
|
'workers': True,
|
|
|
|
'skipGen': True
|
|
|
|
}],
|
|
|
|
|
2013-02-05 23:17:17 +00:00
|
|
|
'MediaStream': [{
|
2013-02-15 08:04:11 +00:00
|
|
|
'headerFile': 'DOMMediaStream.h',
|
|
|
|
'nativeType': 'mozilla::DOMMediaStream'
|
2013-02-05 23:17:17 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'nativeType': 'JSObject',
|
|
|
|
'workers': True,
|
|
|
|
'skipGen': True
|
|
|
|
}],
|
|
|
|
|
2013-05-21 19:17:47 +00:00
|
|
|
'MediaStreamAudioDestinationNode': {
|
|
|
|
'resultNotAddRefed': [ 'stream' ],
|
|
|
|
'binaryNames': { 'stream': 'DOMStream' }
|
|
|
|
},
|
|
|
|
|
2012-09-13 16:04:31 +00:00
|
|
|
'MediaStreamList': {
|
|
|
|
'headerFile': 'MediaStreamList.h',
|
|
|
|
'resultNotAddRefed': [ '__indexedGetter' ],
|
|
|
|
'binaryNames': { '__indexedGetter': 'IndexedGetter' }
|
|
|
|
},
|
|
|
|
|
2013-03-27 01:32:51 +00:00
|
|
|
'MediaStreamTrack': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-07-05 01:50:25 +00:00
|
|
|
'MediaRecorder': {
|
|
|
|
'headerFile': 'MediaRecorder.h',
|
|
|
|
'resultNotAddRefed': [ 'stream' ]
|
|
|
|
},
|
|
|
|
|
2013-03-13 20:18:36 +00:00
|
|
|
'MessageEvent': {
|
|
|
|
'nativeType': 'nsDOMMessageEvent',
|
|
|
|
},
|
|
|
|
|
2013-07-09 14:54:05 +00:00
|
|
|
'MimeType': {
|
|
|
|
'headerFile' : 'nsMimeTypeArray.h',
|
|
|
|
'nativeType': 'nsMimeType',
|
|
|
|
'resultNotAddRefed': [ 'enabledPlugin' ]
|
|
|
|
},
|
|
|
|
|
|
|
|
'MimeTypeArray': {
|
|
|
|
'nativeType': 'nsMimeTypeArray',
|
|
|
|
'resultNotAddRefed': [ 'item', 'namedItem' ]
|
|
|
|
},
|
|
|
|
|
2013-03-14 15:30:47 +00:00
|
|
|
'MouseEvent': {
|
|
|
|
'nativeType': 'nsDOMMouseEvent',
|
|
|
|
},
|
|
|
|
|
2013-04-15 20:37:52 +00:00
|
|
|
'MouseScrollEvent': {
|
|
|
|
'nativeType': 'nsDOMMouseScrollEvent',
|
|
|
|
},
|
|
|
|
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'MozChannel': [
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
2012-05-10 19:24:59 +00:00
|
|
|
'nativeType': 'nsIChannel',
|
|
|
|
'notflattened': True
|
2012-03-31 04:42:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2013-08-27 03:38:37 +00:00
|
|
|
'MozCellBroadcast': {
|
|
|
|
'nativeType': 'mozilla::dom::CellBroadcast',
|
|
|
|
},
|
|
|
|
|
2013-06-12 07:00:07 +00:00
|
|
|
'MozNamedAttrMap': {
|
|
|
|
'nativeType': 'nsDOMAttributeMap',
|
|
|
|
},
|
|
|
|
|
2013-09-10 23:03:56 +00:00
|
|
|
'MozPowerManager': {
|
|
|
|
'nativeType': 'mozilla::dom::power::PowerManager',
|
2013-06-12 07:00:07 +00:00
|
|
|
},
|
|
|
|
|
2013-05-07 12:46:07 +00:00
|
|
|
'MozStkCommandEvent' : {
|
|
|
|
'nativeType': 'mozilla::dom::icc::StkCommandEvent',
|
|
|
|
'headerFile': 'StkCommandEvent.h',
|
|
|
|
},
|
|
|
|
|
2013-09-10 23:03:56 +00:00
|
|
|
'MozTimeManager': {
|
|
|
|
'nativeType': 'mozilla::dom::time::TimeManager',
|
|
|
|
},
|
|
|
|
|
2013-09-03 14:38:53 +00:00
|
|
|
'MozVoicemail': {
|
|
|
|
'nativeType': 'mozilla::dom::Voicemail',
|
|
|
|
},
|
|
|
|
|
2013-03-14 21:18:20 +00:00
|
|
|
'MutationEvent': {
|
|
|
|
'nativeType': 'nsDOMMutationEvent',
|
|
|
|
},
|
2013-02-05 12:54:49 +00:00
|
|
|
|
2012-12-18 14:50:52 +00:00
|
|
|
'MutationObserver': {
|
|
|
|
'nativeType': 'nsDOMMutationObserver',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MutationRecord': {
|
|
|
|
'nativeType': 'nsDOMMutationRecord',
|
|
|
|
'headerFile': 'nsDOMMutationObserver.h',
|
|
|
|
'resultNotAddRefed': [ 'target', 'addedNodes', 'removedNodes',
|
|
|
|
'previousSibling', 'nextSibling' ]
|
|
|
|
},
|
|
|
|
|
2012-11-22 11:09:41 +00:00
|
|
|
'Node': {
|
|
|
|
'nativeType': 'nsINode',
|
2013-01-04 17:02:14 +00:00
|
|
|
'concrete': False,
|
2012-11-22 11:09:41 +00:00
|
|
|
'resultNotAddRefed': [ 'ownerDocument', 'parentNode', 'parentElement',
|
|
|
|
'childNodes', 'firstChild', 'lastChild',
|
|
|
|
'previousSibling', 'nextSibling', 'insertBefore',
|
|
|
|
'appendChild', 'replaceChild', 'removeChild',
|
|
|
|
'attributes' ]
|
|
|
|
},
|
|
|
|
|
2013-02-28 17:56:42 +00:00
|
|
|
'NodeIterator': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
'resultNotAddRefed': [ 'root', 'referenceNode' ],
|
2013-01-28 13:34:31 +00:00
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'NodeList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'nsINodeList',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2013-04-15 20:27:37 +00:00
|
|
|
'NotifyPaintEvent': {
|
|
|
|
'nativeType': 'nsDOMNotifyPaintEvent',
|
|
|
|
},
|
|
|
|
|
2013-05-02 17:11:12 +00:00
|
|
|
'NotifyAudioAvailableEvent': {
|
|
|
|
'nativeType': 'nsDOMNotifyAudioAvailableEvent',
|
|
|
|
},
|
|
|
|
|
2013-05-16 23:30:41 +00:00
|
|
|
'OfflineAudioCompletionEvent': {
|
|
|
|
'resultNotAddRefed': [ 'renderedBuffer' ],
|
|
|
|
},
|
|
|
|
|
|
|
|
'OfflineAudioContext': {
|
|
|
|
'nativeType': 'mozilla::dom::AudioContext',
|
|
|
|
'implicitJSContext': [ 'createBuffer' ],
|
|
|
|
'resultNotAddRefed': [ 'destination', 'listener' ],
|
|
|
|
},
|
|
|
|
|
2013-06-01 06:53:44 +00:00
|
|
|
'OfflineResourceList': {
|
|
|
|
'nativeType': 'nsDOMOfflineResourceList',
|
|
|
|
},
|
|
|
|
|
2013-08-19 18:53:00 +00:00
|
|
|
'OscillatorNode': {
|
|
|
|
'resultNotAddRefed': [ 'frequency', 'detune' ],
|
|
|
|
},
|
|
|
|
|
2012-12-22 08:16:55 +00:00
|
|
|
'PaintRequest': {
|
|
|
|
'nativeType': 'nsPaintRequest',
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'PaintRequestList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'nsPaintRequestList',
|
|
|
|
'headerFile': 'nsPaintRequest.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2012-11-06 02:14:13 +00:00
|
|
|
'PannerNode': [
|
|
|
|
{
|
|
|
|
'resultNotAddRefed': [ 'coneGain', 'distanceGain' ],
|
|
|
|
}],
|
|
|
|
|
2012-07-17 01:42:18 +00:00
|
|
|
'Performance': {
|
|
|
|
'nativeType': 'nsPerformance',
|
|
|
|
'resultNotAddRefed': [ 'timing', 'navigation' ]
|
|
|
|
},
|
|
|
|
|
|
|
|
'PerformanceTiming': {
|
|
|
|
'nativeType': 'nsPerformanceTiming',
|
2013-07-04 15:24:59 +00:00
|
|
|
'headerFile': 'nsPerformance.h'
|
2012-07-17 01:42:18 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'PerformanceNavigation': {
|
|
|
|
'nativeType': 'nsPerformanceNavigation',
|
2013-07-04 15:24:59 +00:00
|
|
|
'headerFile': 'nsPerformance.h'
|
2012-07-17 01:42:18 +00:00
|
|
|
},
|
|
|
|
|
2013-07-09 14:54:05 +00:00
|
|
|
'Plugin': {
|
|
|
|
'headerFile' : 'nsPluginArray.h',
|
|
|
|
'nativeType': 'nsPluginElement',
|
|
|
|
'resultNotAddRefed': [ 'item', 'namedItem' ]
|
|
|
|
},
|
|
|
|
|
|
|
|
'PluginArray': {
|
|
|
|
'nativeType': 'nsPluginArray',
|
|
|
|
'resultNotAddRefed': [ 'item', 'namedItem' ]
|
|
|
|
},
|
|
|
|
|
2013-04-12 18:46:27 +00:00
|
|
|
'Position': {
|
|
|
|
'headerFile': 'nsGeoPosition.h'
|
|
|
|
},
|
|
|
|
|
2013-04-12 18:46:32 +00:00
|
|
|
'PositionError': {
|
|
|
|
'headerFile': 'nsGeolocation.h'
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'PropertyNodeList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'headerFile': 'HTMLPropertiesCollection.h',
|
|
|
|
'resultNotAddRefed': [ 'item' ]
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2013-02-07 12:09:41 +00:00
|
|
|
'Range': {
|
|
|
|
'nativeType': 'nsRange',
|
|
|
|
'resultNotAddRefed': [ 'startContainer', 'endContainer', 'commonAncestorContainer' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'__stringifier': 'ToString'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2012-12-26 12:26:36 +00:00
|
|
|
'Rect': {
|
2013-03-02 06:08:42 +00:00
|
|
|
'nativeType': 'nsDOMCSSRect',
|
|
|
|
'resultNotAddRefed': [ 'top', 'right', 'bottom', 'left' ]
|
2012-12-26 12:26:36 +00:00
|
|
|
},
|
|
|
|
|
2012-12-14 07:51:39 +00:00
|
|
|
'RGBColor': {
|
2013-03-02 06:08:42 +00:00
|
|
|
'nativeType': 'nsDOMCSSRGBColor',
|
|
|
|
'resultNotAddRefed': [ 'alpha', 'blue', 'green', 'red' ]
|
2012-12-14 07:51:39 +00:00
|
|
|
},
|
|
|
|
|
2012-10-14 07:40:11 +00:00
|
|
|
'Screen': {
|
|
|
|
'nativeType': 'nsScreen',
|
|
|
|
},
|
|
|
|
|
2013-03-28 14:21:20 +00:00
|
|
|
'ScrollAreaEvent': {
|
|
|
|
'nativeType': 'nsDOMScrollAreaEvent',
|
|
|
|
},
|
|
|
|
|
2013-03-28 14:24:28 +00:00
|
|
|
'SimpleGestureEvent': {
|
|
|
|
'nativeType': 'nsDOMSimpleGestureEvent',
|
|
|
|
},
|
|
|
|
|
2013-06-21 03:14:42 +00:00
|
|
|
'SourceBufferList': {
|
|
|
|
'resultNotAddRefed': [ '__indexedGetter' ],
|
|
|
|
},
|
|
|
|
|
2013-03-17 14:45:01 +00:00
|
|
|
'StyleSheet': {
|
|
|
|
'nativeType': 'nsCSSStyleSheet',
|
|
|
|
},
|
|
|
|
|
2012-12-23 04:54:25 +00:00
|
|
|
'SVGAnimatedLengthList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGAnimatedLengthList',
|
2013-07-23 08:34:18 +00:00
|
|
|
'headerFile': 'DOMSVGAnimatedLengthList.h',
|
2012-12-23 04:54:25 +00:00
|
|
|
},
|
|
|
|
|
2012-12-23 04:54:21 +00:00
|
|
|
'SVGAnimatedNumberList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGAnimatedNumberList',
|
|
|
|
'headerFile': 'DOMSVGAnimatedNumberList.h'
|
|
|
|
},
|
|
|
|
|
2012-12-23 04:54:20 +00:00
|
|
|
'SVGAnimatedPreserveAspectRatio': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedPreserveAspectRatio',
|
|
|
|
'headerFile': 'SVGAnimatedPreserveAspectRatio.h'
|
|
|
|
},
|
|
|
|
|
2013-01-06 09:32:03 +00:00
|
|
|
'SVGAnimationElement': {
|
|
|
|
'resultNotAddRefed': ['targetElement'],
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-02-12 10:10:24 +00:00
|
|
|
'SVGComponentTransferFunctionElement': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-12-23 08:22:58 +00:00
|
|
|
'SVGElement': {
|
|
|
|
'nativeType': 'nsSVGElement',
|
2013-01-06 06:25:55 +00:00
|
|
|
'resultNotAddRefed': ['ownerSVGElement', 'viewportElement', 'style']
|
2012-12-23 08:22:58 +00:00
|
|
|
},
|
|
|
|
|
2013-02-12 10:10:24 +00: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-03 06:17:02 +00:00
|
|
|
'SVGGraphicsElement': {
|
2013-01-16 20:50:59 +00:00
|
|
|
'concrete': False,
|
2013-02-01 09:55:45 +00:00
|
|
|
'resultNotAddRefed': ['nearestViewportElement', 'farthestViewportElement']
|
2013-01-03 06:17:02 +00:00
|
|
|
},
|
|
|
|
|
2013-01-11 08:43:01 +00:00
|
|
|
'SVGGradientElement': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'SVGLengthList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'mozilla::DOMSVGLengthList',
|
2013-07-12 10:25:26 +00:00
|
|
|
'headerFile': 'DOMSVGLengthList.h'
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2013-01-11 08:43:01 +00:00
|
|
|
'SVGLinearGradientElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGGradientElement.h',
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'SVGNumberList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'mozilla::DOMSVGNumberList',
|
2013-07-12 10:25:26 +00:00
|
|
|
'headerFile': 'DOMSVGNumberList.h'
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2012-12-23 04:54:22 +00: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 16:58:03 +00:00
|
|
|
'SVGPathSegList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegList',
|
2013-07-12 10:25:26 +00:00
|
|
|
'headerFile': 'DOMSVGPathSegList.h'
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2012-12-23 04:54:19 +00:00
|
|
|
'SVGPoint': {
|
2012-12-23 04:54:20 +00:00
|
|
|
'nativeType': 'mozilla::nsISVGPoint',
|
|
|
|
'headerFile': 'nsISVGPoint.h'
|
2012-12-23 04:54:19 +00:00
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'SVGPointList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'mozilla::DOMSVGPointList',
|
2013-07-12 10:25:27 +00:00
|
|
|
'headerFile': 'DOMSVGPointList.h'
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2012-12-23 04:54:20 +00:00
|
|
|
'SVGPreserveAspectRatio': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPreserveAspectRatio',
|
|
|
|
'headerFile': 'SVGPreserveAspectRatio.h'
|
|
|
|
},
|
|
|
|
|
2013-01-11 08:43:01 +00:00
|
|
|
'SVGRadialGradientElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGGradientElement.h',
|
|
|
|
},
|
|
|
|
|
2013-03-26 15:53:13 +00:00
|
|
|
'SVGRect': {
|
|
|
|
'nativeType': 'mozilla::dom::SVGIRect'
|
|
|
|
},
|
|
|
|
|
2013-01-06 14:14:43 +00:00
|
|
|
'SVGTextContentElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-01-06 14:14:44 +00:00
|
|
|
'SVGTextPositioningElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2012-12-23 04:54:20 +00:00
|
|
|
'SVGTransform': {
|
2013-01-19 20:56:31 +00:00
|
|
|
'resultNotAddRefed': [ 'matrix' ]
|
2012-12-23 04:54:20 +00:00
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'SVGTransformList': {
|
2012-09-05 20:49:53 +00:00
|
|
|
'nativeType': 'mozilla::DOMSVGTransformList',
|
2013-07-12 10:25:25 +00:00
|
|
|
'headerFile': 'DOMSVGTransformList.h'
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-09-05 20:49:53 +00:00
|
|
|
|
2013-04-21 06:42:00 +00:00
|
|
|
'SVGStringList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGStringList',
|
|
|
|
'headerFile': 'DOMSVGStringList.h',
|
|
|
|
},
|
|
|
|
|
2013-01-09 23:02:47 +00:00
|
|
|
'SVGSVGElement': {
|
|
|
|
'resultNotAddRefed': [ 'getElementById' ]
|
|
|
|
},
|
|
|
|
|
2013-03-13 18:07:49 +00:00
|
|
|
'SVGUnitTypes' : {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-03-21 05:33:56 +00:00
|
|
|
'SVGZoomAndPan' : {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-07-15 08:27:19 +00:00
|
|
|
'Telephony' : {
|
|
|
|
'nativeType': 'mozilla::dom::telephony::Telephony',
|
2013-09-07 06:19:53 +00:00
|
|
|
'headerFile': 'mozilla/dom/telephony/Telephony.h',
|
2013-07-15 08:27:19 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'TelephonyCall' : {
|
|
|
|
'nativeType': 'mozilla::dom::telephony::TelephonyCall',
|
2013-09-07 06:19:53 +00:00
|
|
|
'headerFile': 'mozilla/dom/telephony/TelephonyCall.h',
|
2013-07-15 08:27:19 +00:00
|
|
|
},
|
|
|
|
|
2013-07-20 06:46:35 +00:00
|
|
|
'TelephonyCallGroup' : {
|
|
|
|
'nativeType': 'mozilla::dom::telephony::TelephonyCallGroup',
|
2013-09-07 06:19:53 +00:00
|
|
|
'headerFile': 'mozilla/dom/telephony/TelephonyCallGroup.h',
|
2013-07-20 06:46:35 +00:00
|
|
|
},
|
|
|
|
|
2013-01-04 17:02:14 +00:00
|
|
|
'Text': {
|
2013-02-22 14:56:29 +00:00
|
|
|
# Total hack to allow binding code to realize that nsTextNode can
|
|
|
|
# in fact be cast to Text.
|
|
|
|
'headerFile': 'nsTextNode.h',
|
2013-01-04 17:02:14 +00:00
|
|
|
},
|
|
|
|
|
2013-08-23 05:17:09 +00:00
|
|
|
'TextDecoder': {
|
|
|
|
'nativeOwnership': 'owned',
|
|
|
|
},
|
2012-12-22 00:16:14 +00:00
|
|
|
|
2013-08-23 05:17:10 +00:00
|
|
|
'TextEncoder': {
|
|
|
|
'nativeOwnership': 'owned',
|
|
|
|
},
|
2012-09-28 10:19:18 +00:00
|
|
|
|
2013-04-19 08:49:22 +00:00
|
|
|
'TextMetrics': {
|
|
|
|
'nativeOwnership': 'owned',
|
|
|
|
},
|
|
|
|
|
2013-05-24 22:55:19 +00:00
|
|
|
'TimeEvent': {
|
|
|
|
'nativeType': 'nsDOMTimeEvent',
|
|
|
|
},
|
|
|
|
|
|
|
|
'TimeRanges': {
|
2013-03-02 19:16:43 +00:00
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-04-15 20:33:46 +00:00
|
|
|
'TouchEvent': {
|
|
|
|
'nativeType': 'nsDOMTouchEvent',
|
|
|
|
},
|
|
|
|
|
2013-07-10 09:53:53 +00:00
|
|
|
'TouchList': {
|
|
|
|
'nativeType': 'nsDOMTouchList',
|
|
|
|
'headerFile': 'nsDOMTouchEvent.h',
|
|
|
|
},
|
|
|
|
|
2013-03-14 21:16:13 +00:00
|
|
|
'TransitionEvent': {
|
|
|
|
'nativeType': 'nsDOMTransitionEvent',
|
|
|
|
},
|
|
|
|
|
2013-04-21 06:42:26 +00:00
|
|
|
'TreeColumns': {
|
|
|
|
'nativeType': 'nsTreeColumns',
|
|
|
|
},
|
|
|
|
|
2013-02-28 17:56:42 +00:00
|
|
|
'TreeWalker': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
'resultNotAddRefed': [ 'root', 'currentNode' ],
|
|
|
|
},
|
|
|
|
|
2013-03-13 20:02:32 +00:00
|
|
|
'UIEvent': {
|
|
|
|
'nativeType': 'nsDOMUIEvent',
|
|
|
|
},
|
|
|
|
|
2013-04-26 06:48:37 +00:00
|
|
|
'UndoManager': {
|
|
|
|
'implicitJSContext' : [ 'undo', 'redo', 'transact' ],
|
|
|
|
},
|
|
|
|
|
2013-02-05 23:17:17 +00:00
|
|
|
'URL' : [{
|
2013-09-04 17:07:21 +00:00
|
|
|
'wrapperCache' : False,
|
|
|
|
'nativeOwnership': 'refcounted',
|
2012-09-25 03:24:43 +00:00
|
|
|
},
|
2013-02-05 23:17:17 +00:00
|
|
|
{
|
|
|
|
'implicitJSContext': [ 'createObjectURL', 'revokeObjectURL' ],
|
|
|
|
'workers': True,
|
|
|
|
}],
|
2012-09-25 03:24:43 +00:00
|
|
|
|
2013-08-27 20:07:00 +00:00
|
|
|
'VTTCue': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::dom::TextTrackCue'
|
2013-08-27 20:07:00 +00:00
|
|
|
},
|
|
|
|
|
2012-10-09 18:39:49 +00:00
|
|
|
'WebGLActiveInfo': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLActiveInfo',
|
|
|
|
'headerFile': 'WebGLActiveInfo.h',
|
|
|
|
'wrapperCache': False
|
2012-10-09 18:39:49 +00:00
|
|
|
},
|
|
|
|
|
2012-10-04 20:35:54 +00:00
|
|
|
'WebGLBuffer': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLBuffer',
|
|
|
|
'headerFile': 'WebGLBuffer.h'
|
2012-10-04 20:35:54 +00:00
|
|
|
},
|
|
|
|
|
2012-10-03 21:13:05 +00:00
|
|
|
'WebGLExtensionCompressedTextureATC': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureATC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 21:13:05 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionCompressedTexturePVRTC': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTexturePVRTC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 21:13:05 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionCompressedTextureS3TC': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureS3TC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 21:13:05 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionDepthTexture': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDepthTexture',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 21:13:05 +00:00
|
|
|
},
|
|
|
|
|
2012-10-17 19:11:51 +00:00
|
|
|
'WebGLExtensionDebugRendererInfo': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDebugRendererInfo',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-17 19:11:51 +00:00
|
|
|
},
|
|
|
|
|
2013-05-13 13:22:30 +00:00
|
|
|
'WebGLExtensionElementIndexUint': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionElementIndexUint',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-05-13 13:22:30 +00:00
|
|
|
},
|
|
|
|
|
2012-10-03 21:13:05 +00:00
|
|
|
'WebGLExtensionLoseContext': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionLoseContext',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 21:13:05 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionStandardDerivatives': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionStandardDerivatives',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 21:13:05 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionTextureFilterAnisotropic': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFilterAnisotropic',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 21:13:05 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLExtensionTextureFloat': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-03 21:13:05 +00:00
|
|
|
},
|
|
|
|
|
2013-06-10 20:00:52 +00:00
|
|
|
'WebGLExtensionTextureFloatLinear': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFloatLinear',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-06-10 20:00:52 +00:00
|
|
|
},
|
|
|
|
|
2013-06-21 23:44:17 +00:00
|
|
|
'WebGLExtensionDrawBuffers': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDrawBuffers',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-06-21 23:44:17 +00:00
|
|
|
},
|
|
|
|
|
2013-06-27 21:07:21 +00:00
|
|
|
'WebGLExtensionVertexArray': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionVertexArray',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-06-27 21:07:21 +00:00
|
|
|
},
|
|
|
|
|
2013-08-13 22:11:01 +00:00
|
|
|
'WebGLExtensionInstancedArrays': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionInstancedArrays',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-08-13 22:11:01 +00:00
|
|
|
},
|
|
|
|
|
2012-10-04 20:35:54 +00:00
|
|
|
'WebGLFramebuffer': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLFramebuffer',
|
|
|
|
'headerFile': 'WebGLFramebuffer.h'
|
2012-10-04 20:35:54 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLProgram': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLProgram',
|
|
|
|
'headerFile': 'WebGLProgram.h'
|
2012-10-04 20:35:54 +00:00
|
|
|
},
|
|
|
|
|
2013-08-06 21:23:46 +00:00
|
|
|
'WebGLQuery': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLQuery',
|
|
|
|
'headerFile': 'WebGLQuery.h'
|
2013-08-06 21:23:46 +00:00
|
|
|
},
|
|
|
|
|
2012-10-04 20:35:54 +00:00
|
|
|
'WebGLRenderbuffer': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLRenderbuffer',
|
|
|
|
'headerFile': 'WebGLRenderbuffer.h'
|
2012-10-04 20:35:54 +00:00
|
|
|
},
|
|
|
|
|
2012-05-31 18:16:48 +00:00
|
|
|
'WebGLRenderingContext': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLContext',
|
|
|
|
'headerFile': 'WebGLContext.h',
|
|
|
|
'resultNotAddRefed': [ 'canvas', 'getContextAttributes', 'getExtension',
|
|
|
|
'getAttachedShaders' ],
|
|
|
|
'implicitJSContext': [ 'getSupportedExtensions' ],
|
2013-07-17 13:58:09 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGL2RenderingContext': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLContext',
|
|
|
|
'headerFile': 'WebGLContext.h',
|
|
|
|
'resultNotAddRefed': [ 'canvas', 'getContextAttributes', 'getExtension',
|
|
|
|
'getAttachedShaders' ],
|
|
|
|
'implicitJSContext': [ 'getSupportedExtensions' ],
|
2012-05-31 18:16:48 +00:00
|
|
|
},
|
|
|
|
|
2012-10-04 20:35:54 +00:00
|
|
|
'WebGLShader': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLShader',
|
|
|
|
'headerFile': 'WebGLShader.h'
|
2012-10-04 20:35:54 +00:00
|
|
|
},
|
|
|
|
|
2012-10-03 21:13:05 +00:00
|
|
|
'WebGLShaderPrecisionFormat': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLShaderPrecisionFormat',
|
|
|
|
'headerFile': 'WebGLShaderPrecisionFormat.h',
|
|
|
|
'wrapperCache': False
|
2012-06-15 20:25:51 +00:00
|
|
|
},
|
|
|
|
|
2012-10-04 20:35:54 +00:00
|
|
|
'WebGLTexture': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLTexture',
|
|
|
|
'headerFile': 'WebGLTexture.h'
|
2012-10-04 20:35:54 +00:00
|
|
|
},
|
|
|
|
|
2012-10-03 21:13:05 +00:00
|
|
|
'WebGLUniformLocation': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLUniformLocation',
|
|
|
|
'headerFile': 'WebGLUniformLocation.h',
|
|
|
|
'wrapperCache': False
|
2012-10-03 21:13:05 +00:00
|
|
|
},
|
|
|
|
|
2013-06-27 21:07:21 +00:00
|
|
|
'WebGLVertexArray': {
|
2013-08-30 17:13:20 +00:00
|
|
|
'nativeType': 'mozilla::WebGLVertexArray',
|
|
|
|
'headerFile': 'WebGLVertexArray.h'
|
2013-06-27 21:07:21 +00:00
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:03 +00:00
|
|
|
'WebSocket': {
|
2012-10-13 12:50:24 +00:00
|
|
|
'headerFile': 'WebSocket.h',
|
2012-11-05 16:58:03 +00:00
|
|
|
},
|
2012-10-13 12:50:24 +00:00
|
|
|
|
2013-03-28 14:57:33 +00:00
|
|
|
'WheelEvent': {
|
|
|
|
'headerFile': 'DOMWheelEvent.h',
|
|
|
|
'nativeType': 'mozilla::dom::DOMWheelEvent',
|
|
|
|
},
|
|
|
|
|
2013-05-30 21:46:39 +00: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-07-24 07:41:55 +00:00
|
|
|
'WorkerLocation': {
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/Location.h',
|
|
|
|
'castable': True,
|
|
|
|
'workers': True,
|
|
|
|
},
|
|
|
|
|
2013-07-24 07:38:23 +00:00
|
|
|
'WorkerNavigator': {
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/Navigator.h',
|
|
|
|
'castable': True,
|
|
|
|
'workers': True,
|
|
|
|
},
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'XMLHttpRequest': [
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
2012-05-10 19:24:59 +00:00
|
|
|
'nativeType': 'nsXMLHttpRequest',
|
2012-06-20 10:18:39 +00:00
|
|
|
'implicitJSContext': [ 'constructor', ],
|
2012-05-10 19:24:59 +00:00
|
|
|
'resultNotAddRefed': [ 'upload', 'responseXML' ]
|
2012-03-31 04:42:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
|
|
|
'XMLHttpRequestEventTarget': [
|
|
|
|
{
|
|
|
|
'nativeType': 'nsXHREventTarget',
|
|
|
|
'headerFile': 'nsXMLHttpRequest.h',
|
2012-11-27 09:20:04 +00:00
|
|
|
'concrete': False
|
2012-03-31 04:42:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
'concrete': False,
|
|
|
|
}],
|
|
|
|
|
2012-05-10 19:24:59 +00:00
|
|
|
'XMLHttpRequestUpload': [
|
2012-03-31 04:42:20 +00:00
|
|
|
{
|
2012-05-10 19:24:59 +00:00
|
|
|
'nativeType': 'nsXMLHttpRequestUpload',
|
2012-11-27 09:20:04 +00:00
|
|
|
'headerFile': 'nsXMLHttpRequest.h'
|
2012-03-31 04:42:20 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-12-04 01:26:16 +00:00
|
|
|
'XMLSerializer': {
|
|
|
|
'nativeType': 'nsDOMSerializer',
|
|
|
|
},
|
|
|
|
|
2013-02-01 12:28:37 +00:00
|
|
|
'XMLStylesheetProcessingInstruction': {
|
|
|
|
'resultNotAddRefed': [ 'sheet' ]
|
|
|
|
},
|
|
|
|
|
2012-12-14 19:10:49 +00:00
|
|
|
'XPathEvaluator': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-03-26 15:31:54 +00:00
|
|
|
'XULDocument': {
|
|
|
|
'headerFile': 'XULDocument.h'
|
|
|
|
},
|
|
|
|
|
2013-03-28 14:19:10 +00:00
|
|
|
'XULCommandEvent': {
|
|
|
|
'nativeType': 'nsDOMXULCommandEvent',
|
|
|
|
},
|
|
|
|
|
2013-01-29 17:51:55 +00:00
|
|
|
'XULElement': {
|
|
|
|
'nativeType': 'nsXULElement',
|
2013-01-08 18:05:36 +00:00
|
|
|
'resultNotAddRefed': [ 'controllers', 'style' ]
|
2013-01-29 17:51:55 +00:00
|
|
|
},
|
|
|
|
|
2012-05-23 16:44:48 +00:00
|
|
|
####################################
|
|
|
|
# Test Interfaces of various sorts #
|
|
|
|
####################################
|
|
|
|
|
|
|
|
'TestInterface' : {
|
2012-10-18 01:17:16 +00:00
|
|
|
# Keep this in sync with TestExampleInterface
|
2012-05-23 16:44:48 +00:00
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-05-23 16:44:48 +00:00
|
|
|
'register': False,
|
2012-05-25 05:08:26 +00:00
|
|
|
'resultNotAddRefed': [ 'receiveWeakSelf', 'receiveWeakNullableSelf',
|
2012-07-19 18:48:58 +00:00
|
|
|
'receiveWeakOther', 'receiveWeakNullableOther',
|
|
|
|
'receiveWeakExternal', 'receiveWeakNullableExternal',
|
|
|
|
'ReceiveWeakCallbackInterface',
|
|
|
|
'ReceiveWeakNullableCallbackInterface',
|
2012-05-25 05:08:26 +00:00
|
|
|
'receiveWeakCastableObjectSequence',
|
|
|
|
'receiveWeakNullableCastableObjectSequence',
|
|
|
|
'receiveWeakCastableObjectNullableSequence',
|
2012-05-18 21:25:47 +00:00
|
|
|
'receiveWeakNullableCastableObjectNullableSequence' ],
|
|
|
|
'binaryNames': { 'methodRenamedFrom': 'methodRenamedTo',
|
|
|
|
'attributeGetterRenamedFrom': 'attributeGetterRenamedTo',
|
2013-03-04 19:08:24 +00:00
|
|
|
'attributeRenamedFrom': 'attributeRenamedTo' }
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestParentInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
2012-05-30 03:45:18 +00:00
|
|
|
},
|
|
|
|
|
2012-12-14 19:10:50 +00:00
|
|
|
'TestChildInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2013-04-04 02:22:15 +00:00
|
|
|
'TestCImplementedInterface' : {
|
|
|
|
'headerFile': 'TestCImplementedInterface.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestCImplementedInterface2' : {
|
|
|
|
'headerFile': 'TestCImplementedInterface.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2013-03-18 23:08:50 +00: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-04 02:22:15 +00:00
|
|
|
'TestJSImplInterface' : {
|
|
|
|
# Keep this in sync with TestExampleInterface
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestJSImplInterface2' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestJSImplInterface3' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-04-04 02:22:16 +00:00
|
|
|
'TestJSImplInterface4' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-04-04 02:22:16 +00:00
|
|
|
'TestJSImplInterface5' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestJSImplInterface6' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-04-30 20:30:25 +00:00
|
|
|
'TestNavigator' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register' : False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestNavigatorWithConstructor' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register' : False
|
|
|
|
},
|
|
|
|
|
2012-05-30 03:45:18 +00:00
|
|
|
'TestExternalInterface' : {
|
2012-06-15 20:25:50 +00:00
|
|
|
'nativeType': 'mozilla::dom::TestExternalInterface',
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-07-19 18:48:58 +00:00
|
|
|
'register': False
|
2012-06-15 20:25:50 +00:00
|
|
|
},
|
2012-05-30 03:45:18 +00:00
|
|
|
|
2012-06-15 20:25:50 +00:00
|
|
|
'TestNonWrapperCacheInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
2012-07-19 18:48:58 +00:00
|
|
|
|
2012-07-19 18:48:58 +00:00
|
|
|
'IndirectlyImplementedInterface': {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
2012-07-19 18:48:58 +00:00
|
|
|
'castable': False,
|
|
|
|
'concrete': False
|
2012-07-19 18:48:58 +00:00
|
|
|
},
|
2012-07-27 04:09:10 +00:00
|
|
|
|
|
|
|
'OnlyForUseInConstructor' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-03-13 18:07:49 +00: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 13:46:20 +00:00
|
|
|
|
|
|
|
'TestIndexedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-09-05 13:21:33 +00:00
|
|
|
'register': False
|
2012-05-22 13:46:20 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'TestNamedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-11-06 16:00:57 +00:00
|
|
|
'TestIndexedGetterAndSetterAndNamedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-05-22 13:46:20 +00:00
|
|
|
'TestIndexedAndNamedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-09-05 13:21:33 +00:00
|
|
|
'register': False
|
2012-05-22 13:46:20 +00: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-18 01:17:16 +00:00
|
|
|
|
2012-10-24 20:10:49 +00:00
|
|
|
'TestRenamedInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
'nativeType': 'nsRenamedInterface'
|
|
|
|
},
|
|
|
|
|
2012-11-05 16:58:02 +00: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 12:36:20 +00:00
|
|
|
'TestCppKeywordNamedMethodsInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-10-18 01:17:16 +00: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 16:24:32 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
'TestExampleProxyInterface' : {
|
|
|
|
'headerFile': 'TestExampleProxyInterface-example.h',
|
2012-12-22 08:27:27 +00:00
|
|
|
'register': False
|
2012-10-18 01:17:16 +00:00
|
|
|
}
|
2012-03-31 04:42:20 +00:00
|
|
|
}
|
2012-05-31 18:16:48 +00:00
|
|
|
|
|
|
|
# These are temporary, until they've been converted to use new DOM bindings
|
2012-11-22 11:09:41 +00:00
|
|
|
def addExternalIface(iface, nativeType=None, headerFile=None,
|
|
|
|
notflattened=False):
|
2012-10-06 07:23:25 +00:00
|
|
|
if iface in DOMInterfaces:
|
|
|
|
raise Exception('Interface declared both as WebIDL and External interface')
|
2012-05-31 18:16:48 +00:00
|
|
|
domInterface = {
|
2012-07-19 18:48:58 +00:00
|
|
|
'concrete': False
|
2012-05-31 18:16:48 +00:00
|
|
|
}
|
2012-08-28 17:10:09 +00:00
|
|
|
if not nativeType is None:
|
|
|
|
domInterface['nativeType'] = nativeType
|
2012-05-31 18:16:48 +00:00
|
|
|
if not headerFile is None:
|
|
|
|
domInterface['headerFile'] = headerFile
|
2012-11-22 11:09:41 +00:00
|
|
|
domInterface['notflattened'] = notflattened
|
2012-05-31 18:16:48 +00:00
|
|
|
DOMInterfaces[iface] = domInterface
|
|
|
|
|
2013-03-17 08:51:36 +00:00
|
|
|
addExternalIface('ActivityOptions', nativeType='nsIDOMMozActivityOptions',
|
|
|
|
headerFile='nsIDOMActivityOptions.h')
|
2013-03-02 06:08:42 +00:00
|
|
|
addExternalIface('Counter')
|
2012-08-24 04:08:09 +00:00
|
|
|
addExternalIface('CSSRule')
|
2013-04-16 13:03:46 +00:00
|
|
|
addExternalIface('DeviceAcceleration', headerFile='nsIDOMDeviceMotionEvent.h', notflattened=True)
|
|
|
|
addExternalIface('DeviceRotationRate', headerFile='nsIDOMDeviceMotionEvent.h', notflattened=True)
|
2013-06-18 18:48:45 +00:00
|
|
|
addExternalIface('mozIDOMApplication', nativeType='mozIDOMApplication', headerFile='nsIDOMApplicationRegistry.h')
|
2013-03-17 14:45:01 +00:00
|
|
|
addExternalIface('CSSRuleList')
|
2012-12-22 08:27:27 +00:00
|
|
|
addExternalIface('DOMStringList')
|
2013-05-16 23:40:23 +00:00
|
|
|
addExternalIface('RTCDataChannel', nativeType='nsIDOMDataChannel')
|
2012-09-05 20:49:53 +00:00
|
|
|
addExternalIface('File')
|
2013-04-13 07:05:51 +00:00
|
|
|
addExternalIface('FileCallback', nativeType='nsIFileCallback',
|
|
|
|
headerFile='nsIDOMHTMLCanvasElement.h')
|
2012-06-13 15:14:15 +00:00
|
|
|
addExternalIface('HitRegionOptions', nativeType='nsISupports')
|
2013-01-02 19:30:02 +00:00
|
|
|
addExternalIface('imgINotificationObserver', nativeType='imgINotificationObserver')
|
|
|
|
addExternalIface('imgIRequest', nativeType='imgIRequest', notflattened=True)
|
2012-12-02 08:58:57 +00:00
|
|
|
addExternalIface('LockedFile')
|
2013-03-17 14:45:01 +00:00
|
|
|
addExternalIface('MediaList')
|
2013-02-18 11:59:08 +00:00
|
|
|
addExternalIface('MenuBuilder', nativeType='nsIMenuBuilder', notflattened=True)
|
2013-01-29 17:51:55 +00:00
|
|
|
addExternalIface('MozBoxObject', nativeType='nsIBoxObject')
|
2013-07-12 14:35:44 +00:00
|
|
|
addExternalIface('MozConnection', headerFile='nsIDOMConnection.h')
|
2013-01-29 17:51:55 +00:00
|
|
|
addExternalIface('MozControllers', nativeType='nsIControllers')
|
|
|
|
addExternalIface('MozFrameLoader', nativeType='nsIFrameLoader', notflattened=True)
|
2013-07-12 14:36:22 +00:00
|
|
|
addExternalIface('MozIccManager', headerFile='nsIDOMIccManager.h')
|
2013-08-12 08:31:58 +00:00
|
|
|
addExternalIface('MozMediaStreamOptions', nativeType='nsIMediaStreamOptions',
|
2013-07-12 14:37:21 +00:00
|
|
|
headerFile='nsIDOMNavigatorUserMedia.h')
|
2013-07-12 14:36:22 +00:00
|
|
|
addExternalIface('MozMobileConnection', headerFile='nsIDOMMobileConnection.h')
|
2013-07-12 14:35:44 +00:00
|
|
|
addExternalIface('MozMobileMessageManager', headerFile='nsIDOMMobileMessageManager.h')
|
2013-03-26 15:31:54 +00:00
|
|
|
addExternalIface('MozObserver', nativeType='nsIObserver', notflattened=True)
|
2013-01-29 17:51:55 +00:00
|
|
|
addExternalIface('MozRDFCompositeDataSource', nativeType='nsIRDFCompositeDataSource',
|
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('MozRDFResource', nativeType='nsIRDFResource', notflattened=True)
|
2013-07-12 14:36:13 +00:00
|
|
|
addExternalIface('MozTelephony', nativeType='nsIDOMTelephony')
|
2013-04-21 06:42:26 +00:00
|
|
|
addExternalIface('MozTreeBoxObject', nativeType='nsITreeBoxObject',
|
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('MozTreeColumn', nativeType='nsITreeColumn',
|
|
|
|
headerFile='nsITreeColumns.h')
|
2013-09-03 14:38:53 +00:00
|
|
|
addExternalIface('MozVoicemailStatus')
|
2013-07-12 14:35:35 +00:00
|
|
|
addExternalIface('MozWakeLock', headerFile='nsIDOMWakeLock.h')
|
2013-09-10 23:03:56 +00:00
|
|
|
addExternalIface('MozWakeLockListener', headerFile='nsIDOMWakeLockListener.h')
|
2013-01-29 17:51:55 +00:00
|
|
|
addExternalIface('MozXULTemplateBuilder', nativeType='nsIXULTemplateBuilder')
|
2013-03-28 19:41:32 +00:00
|
|
|
addExternalIface('nsIControllers', nativeType='nsIControllers')
|
2013-04-13 07:05:51 +00:00
|
|
|
addExternalIface('nsIInputStreamCallback', nativeType='nsIInputStreamCallback',
|
|
|
|
headerFile='nsIAsyncInputStream.h')
|
2013-01-02 19:30:02 +00:00
|
|
|
addExternalIface('nsIStreamListener', nativeType='nsIStreamListener', notflattened=True)
|
2012-12-23 22:33:33 +00:00
|
|
|
addExternalIface('nsISupports', nativeType='nsISupports')
|
2013-02-19 05:54:23 +00:00
|
|
|
addExternalIface('nsIEditor', nativeType='nsIEditor', notflattened=True)
|
2013-04-09 12:43:25 +00:00
|
|
|
addExternalIface('nsIVariant', nativeType='nsIVariant', notflattened=True)
|
2012-12-04 01:26:16 +00:00
|
|
|
addExternalIface('OutputStream', nativeType='nsIOutputStream',
|
|
|
|
notflattened=True)
|
2012-10-09 12:31:24 +00:00
|
|
|
addExternalIface('Principal', nativeType='nsIPrincipal',
|
2012-11-22 11:09:41 +00:00
|
|
|
headerFile='nsIPrincipal.h', notflattened=True)
|
2013-04-13 07:05:51 +00:00
|
|
|
addExternalIface('PrintCallback', nativeType='nsIPrintCallback',
|
|
|
|
headerFile='nsIDOMHTMLCanvasElement.h')
|
2012-12-26 02:00:47 +00:00
|
|
|
addExternalIface('Selection', nativeType='nsISelection')
|
2013-09-09 03:28:49 +00:00
|
|
|
addExternalIface('StackFrame', nativeType='nsIStackFrame',
|
|
|
|
headerFile='nsIException.h', notflattened=True)
|
2012-12-22 08:27:27 +00:00
|
|
|
addExternalIface('StyleSheetList')
|
2012-09-05 20:49:53 +00:00
|
|
|
addExternalIface('SVGLength')
|
|
|
|
addExternalIface('SVGNumber')
|
2012-11-22 11:09:41 +00:00
|
|
|
addExternalIface('URI', nativeType='nsIURI', headerFile='nsIURI.h',
|
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('UserDataHandler')
|
2012-06-13 15:14:15 +00:00
|
|
|
addExternalIface('Window')
|
2012-12-14 19:10:49 +00:00
|
|
|
addExternalIface('XPathResult', nativeType='nsISupports')
|
2012-12-22 08:27:27 +00:00
|
|
|
addExternalIface('XPathExpression')
|
|
|
|
addExternalIface('XPathNSResolver')
|
2013-03-26 15:31:54 +00:00
|
|
|
addExternalIface('XULCommandDispatcher')
|
2013-04-18 23:13:35 +00:00
|
|
|
addExternalIface('DataTransfer', notflattened=True)
|
2013-05-10 06:25:25 +00:00
|
|
|
addExternalIface('GetCameraCallback', nativeType='nsICameraGetCameraCallback', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraErrorCallback', nativeType='nsICameraErrorCallback', headerFile='nsIDOMCameraManager.h')
|
2013-07-06 20:55:10 +00:00
|
|
|
addExternalIface('CameraCapabilities', nativeType='nsICameraCapabilities', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraAutoFocusCallback', nativeType='nsICameraAutoFocusCallback', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraShutterCallback', nativeType='nsICameraShutterCallback', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraClosedCallback', nativeType='nsICameraClosedCallback', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraTakePictureCallback', nativeType='nsICameraTakePictureCallback', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraReleaseCallback', nativeType='nsICameraReleaseCallback', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraStartRecordingCallback', nativeType='nsICameraStartRecordingCallback', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraPreviewStateChange', nativeType='nsICameraPreviewStateChange', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraPreviewStreamCallback', nativeType='nsICameraPreviewStreamCallback', headerFile='nsIDOMCameraManager.h')
|
|
|
|
addExternalIface('CameraRecorderStateChange', nativeType='nsICameraRecorderStateChange', headerFile='nsIDOMCameraManager.h')
|