2014-10-20 08:55:43 +04:00
|
|
|
# -*- Mode:Python; tab-width:8; indent-tabs-mode:nil; c-basic-offset:8 -*- */
|
|
|
|
# vim: set ts=8 sts=4 et sw=4 tw=80: */
|
2012-05-21 15:12:37 +04: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 08:42:20 +04: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 21:10:09 +04:00
|
|
|
# instances of this interface will unwrap to. If not
|
2015-02-25 00:04:22 +03:00
|
|
|
# specified, defaults to 'nsIDOM' followed by the interface
|
|
|
|
# name for external interfaces,
|
2013-03-02 10:08:42 +04:00
|
|
|
# 'mozilla::dom::workers::InterfaceName' for worker
|
2015-02-25 00:04:22 +03:00
|
|
|
# non-callback interfaces, and 'mozilla::dom::InterfaceName'
|
|
|
|
# for everything else.
|
2012-03-31 08:42:20 +04:00
|
|
|
# * headerFile - The file in which the nativeType is declared (defaults
|
|
|
|
# to an educated guess).
|
2013-08-22 17:46:26 +04: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-30 08:15:37 +04: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-31 08:42:20 +04:00
|
|
|
# * notflattened - The native type does not have nsIClassInfo, so when
|
|
|
|
# wrapping it the right IID needs to be passed in.
|
2015-02-25 00:04:22 +03:00
|
|
|
# Only relevant for callback interfaces.
|
2012-05-23 20:44:48 +04:00
|
|
|
# * register - True if this binding should be registered. Defaults to true.
|
2012-05-19 01:25:47 +04: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-16 00:25:50 +04: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 23:57:57 +04:00
|
|
|
# XPConnect wrapping. Always false for callback interfaces.
|
|
|
|
# Always true for worker descriptors for non-callback
|
|
|
|
# interfaces. Defaults to true for non-worker non-callback
|
|
|
|
# descriptors.
|
2012-03-31 08:42:20 +04:00
|
|
|
#
|
2015-02-26 17:40:08 +03:00
|
|
|
# A non-worker descriptor can have 'wantsXrays': False specified if it
|
|
|
|
# should not have Xray hooks generated. Make sure to have someone
|
|
|
|
# familiar with Xrays review any use of this!
|
|
|
|
#
|
|
|
|
# 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
|
2012-03-31 08:42:20 +04:00
|
|
|
#
|
|
|
|
# * implicitJSContext - attributes and methods specified in the .webidl file
|
|
|
|
# that require a JSContext as the first argument
|
2012-11-05 20:58:04 +04: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-11-01 02:28:22 +04: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-31 08:42:20 +04:00
|
|
|
|
|
|
|
DOMInterfaces = {
|
|
|
|
|
2013-03-17 12:51:36 +04:00
|
|
|
'MozActivity': {
|
|
|
|
'nativeType': 'mozilla::dom::Activity',
|
|
|
|
},
|
|
|
|
|
2013-06-05 18:04:23 +04:00
|
|
|
'AbstractWorker': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2015-04-30 16:06:43 +03:00
|
|
|
'AnimationEffectReadOnly': {
|
2015-04-15 02:48:21 +03:00
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2016-04-14 03:08:08 +03:00
|
|
|
'AnimationEffectTiming': {
|
|
|
|
'implicitJSContext': {
|
|
|
|
'setterOnly': [ 'easing' ]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2015-04-10 04:34:22 +03:00
|
|
|
'AnimationTimeline': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2014-10-28 13:15:21 +03:00
|
|
|
'AnonymousContent': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-03-10 11:57:14 +04:00
|
|
|
'ArchiveReader': {
|
2014-05-07 18:32:12 +04:00
|
|
|
'nativeType': 'mozilla::dom::archivereader::ArchiveReader',
|
2013-03-10 11:57:14 +04:00
|
|
|
},
|
|
|
|
|
2013-03-17 12:51:36 +04:00
|
|
|
'ArchiveRequest': {
|
2014-05-07 18:32:12 +04:00
|
|
|
'nativeType': 'mozilla::dom::archivereader::ArchiveRequest',
|
2013-03-17 12:51:36 +04:00
|
|
|
},
|
|
|
|
|
2013-02-08 20:34:47 +04:00
|
|
|
'AudioChannelManager': {
|
|
|
|
'nativeType': 'mozilla::dom::system::AudioChannelManager',
|
|
|
|
'headerFile': 'AudioChannelManager.h'
|
|
|
|
},
|
|
|
|
|
2013-09-17 15:30:32 +04:00
|
|
|
'AudioBuffer': {
|
|
|
|
'implicitJSContext': [ 'copyToChannel' ],
|
|
|
|
},
|
|
|
|
|
2013-01-24 04:50:18 +04:00
|
|
|
'AudioBufferSourceNode': {
|
2013-04-23 01:01:22 +04:00
|
|
|
'implicitJSContext': [ 'buffer' ],
|
2013-01-24 04:50:18 +04:00
|
|
|
},
|
|
|
|
|
2012-09-19 03:07:33 +04:00
|
|
|
'AudioNode' : {
|
|
|
|
'concrete': False,
|
2013-04-28 02:44:50 +04:00
|
|
|
'binaryNames': {
|
|
|
|
'channelCountMode': 'channelCountModeValue',
|
|
|
|
'channelInterpretation': 'channelInterpretationValue',
|
|
|
|
},
|
2012-09-19 03:07:33 +04:00
|
|
|
},
|
|
|
|
|
2013-06-01 12:53:00 +04:00
|
|
|
'BarProp': {
|
|
|
|
'headerFile': 'mozilla/dom/BarProps.h',
|
|
|
|
},
|
|
|
|
|
2014-10-08 20:15:22 +04:00
|
|
|
'Blob': {
|
2014-10-08 20:15:23 +04:00
|
|
|
'headerFile': 'mozilla/dom/File.h',
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
|
2013-02-05 16:54:49 +04:00
|
|
|
'BatteryManager': {
|
|
|
|
'nativeType': 'mozilla::dom::battery::BatteryManager',
|
|
|
|
'headerFile': 'BatteryManager.h'
|
|
|
|
},
|
|
|
|
|
2013-08-12 12:32:53 +04:00
|
|
|
'BluetoothAdapter': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothAdapter',
|
|
|
|
},
|
|
|
|
|
2014-07-29 00:09:00 +04:00
|
|
|
'BluetoothClassOfDevice': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothClassOfDevice',
|
2013-08-12 12:34:28 +04:00
|
|
|
},
|
|
|
|
|
2014-07-29 00:09:00 +04:00
|
|
|
'BluetoothDevice': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothDevice',
|
2013-08-12 12:31:58 +04:00
|
|
|
},
|
|
|
|
|
2014-07-02 07:16:26 +04:00
|
|
|
'BluetoothDiscoveryHandle': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothDiscoveryHandle',
|
|
|
|
},
|
|
|
|
|
2015-02-13 19:13:00 +03:00
|
|
|
'BluetoothGatt': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothGatt',
|
|
|
|
},
|
|
|
|
|
2015-09-23 09:16:27 +03:00
|
|
|
'BluetoothGattAttributeEvent': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothGattAttributeEvent',
|
|
|
|
},
|
|
|
|
|
2015-03-23 10:27:00 +03:00
|
|
|
'BluetoothGattCharacteristic': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothGattCharacteristic',
|
|
|
|
},
|
|
|
|
|
|
|
|
'BluetoothGattDescriptor': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothGattDescriptor',
|
|
|
|
},
|
|
|
|
|
2015-07-24 11:32:35 +03:00
|
|
|
'BluetoothGattServer': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothGattServer',
|
|
|
|
},
|
|
|
|
|
2015-03-23 10:27:00 +03:00
|
|
|
'BluetoothGattService': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothGattService',
|
|
|
|
},
|
|
|
|
|
2015-05-04 13:59:02 +03:00
|
|
|
'BluetoothLeDeviceEvent': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothLeDeviceEvent',
|
|
|
|
},
|
|
|
|
|
2014-07-29 00:09:00 +04:00
|
|
|
'BluetoothManager': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothManager',
|
|
|
|
},
|
|
|
|
|
2015-11-10 06:34:11 +03:00
|
|
|
'BluetoothObexAuthHandle': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothObexAuthHandle',
|
|
|
|
},
|
|
|
|
|
2014-07-29 00:09:00 +04:00
|
|
|
'BluetoothPairingHandle': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothPairingHandle',
|
2014-07-10 10:42:10 +04:00
|
|
|
},
|
|
|
|
|
2014-08-05 14:25:42 +04:00
|
|
|
'BluetoothPairingListener': {
|
|
|
|
'nativeType':
|
|
|
|
'mozilla::dom::bluetooth::BluetoothPairingListener',
|
|
|
|
},
|
|
|
|
|
2015-08-24 05:29:56 +03:00
|
|
|
'BluetoothPbapRequestHandle': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothPbapRequestHandle',
|
|
|
|
},
|
|
|
|
|
2015-10-09 13:23:20 +03:00
|
|
|
'BluetoothMapRequestHandle': {
|
|
|
|
'nativeType': 'mozilla::dom::bluetooth::BluetoothMapRequestHandle',
|
|
|
|
},
|
|
|
|
|
2014-10-15 00:15:21 +04:00
|
|
|
'BoxObject': {
|
|
|
|
'resultNotAddRefed': ['element'],
|
|
|
|
},
|
|
|
|
|
2015-03-02 16:20:00 +03:00
|
|
|
'Cache': {
|
2015-04-29 18:59:43 +03:00
|
|
|
'implicitJSContext': [ 'add', 'addAll' ],
|
2015-03-02 16:20:00 +03:00
|
|
|
'nativeType': 'mozilla::dom::cache::Cache',
|
|
|
|
},
|
|
|
|
|
|
|
|
'CacheStorage': {
|
|
|
|
'nativeType': 'mozilla::dom::cache::CacheStorage',
|
|
|
|
},
|
|
|
|
|
2014-02-15 02:41:07 +04:00
|
|
|
'CameraCapabilities': {
|
|
|
|
'nativeType': 'mozilla::dom::CameraCapabilities',
|
|
|
|
'headerFile': 'DOMCameraCapabilities.h'
|
|
|
|
},
|
|
|
|
|
2013-07-07 00:55:10 +04:00
|
|
|
'CameraControl': {
|
|
|
|
'nativeType': 'mozilla::nsDOMCameraControl',
|
|
|
|
'headerFile': 'DOMCameraControl.h',
|
|
|
|
'binaryNames': {
|
|
|
|
"release": "ReleaseHardware"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2014-04-09 19:52:10 +04:00
|
|
|
'CameraDetectedFace': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMCameraDetectedFace',
|
|
|
|
'headerFile': 'DOMCameraDetectedFace.h'
|
|
|
|
},
|
|
|
|
|
2013-05-10 10:25:25 +04:00
|
|
|
'CameraManager': {
|
|
|
|
'nativeType': 'nsDOMCameraManager',
|
|
|
|
'headerFile': 'DOMCameraManager.h'
|
|
|
|
},
|
|
|
|
|
2014-10-31 20:19:06 +03:00
|
|
|
'CameraRecorderAudioProfile': {
|
|
|
|
'headerFile': 'DOMCameraCapabilities.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'CameraRecorderProfile': {
|
|
|
|
'headerFile': 'DOMCameraCapabilities.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'CameraRecorderProfiles': {
|
|
|
|
'headerFile': 'DOMCameraCapabilities.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'CameraRecorderVideoProfile': {
|
|
|
|
'headerFile': 'DOMCameraCapabilities.h'
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'CanvasRenderingContext2D': {
|
2012-06-13 19:14:15 +04:00
|
|
|
'implicitJSContext': [
|
2013-08-23 13:22:29 +04:00
|
|
|
'createImageData', 'getImageData'
|
2012-06-13 19:14:15 +04:00
|
|
|
],
|
|
|
|
'binaryNames': {
|
|
|
|
'mozImageSmoothingEnabled': 'imageSmoothingEnabled',
|
|
|
|
'mozFillRule': 'fillRule'
|
|
|
|
}
|
2012-11-05 20:58:03 +04:00
|
|
|
},
|
2012-06-13 19:14:15 +04:00
|
|
|
|
2013-02-05 16:54:49 +04:00
|
|
|
'CaretPosition' : {
|
|
|
|
'nativeType': 'nsDOMCaretPosition',
|
|
|
|
},
|
2012-12-28 21:11:06 +04:00
|
|
|
|
2013-01-04 21:02:14 +04:00
|
|
|
'CharacterData': {
|
|
|
|
'nativeType': 'nsGenericDOMDataNode',
|
2013-01-04 21:02:14 +04:00
|
|
|
'concrete': False
|
2013-01-04 21:02:14 +04:00
|
|
|
},
|
|
|
|
|
2015-05-28 17:37:42 +03:00
|
|
|
'ChromeUtils': {
|
|
|
|
# The codegen is dumb, and doesn't understand that this interface is only a
|
|
|
|
# collection of static methods, so we have this `concrete: False` hack.
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2014-02-06 08:36:57 +04:00
|
|
|
'ChromeWindow': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-11-05 18:16:24 +04:00
|
|
|
'ChromeWorker': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerPrivate.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::ChromeWorkerPrivate',
|
|
|
|
},
|
|
|
|
|
2015-02-20 18:16:17 +03:00
|
|
|
'Client': {
|
|
|
|
'nativeType': 'mozilla::dom::workers::ServiceWorkerClient',
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/ServiceWorkerClient.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'Clients': {
|
|
|
|
'nativeType': 'mozilla::dom::workers::ServiceWorkerClients',
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/ServiceWorkerClients.h',
|
|
|
|
},
|
|
|
|
|
2016-06-04 10:32:51 +03:00
|
|
|
'console': {
|
|
|
|
'nativeType': 'mozilla::dom::Console',
|
2014-02-28 03:39:00 +04:00
|
|
|
},
|
|
|
|
|
2013-06-11 00:07:55 +04:00
|
|
|
'ConvolverNode': {
|
|
|
|
'implicitJSContext': [ 'buffer' ],
|
|
|
|
},
|
|
|
|
|
2013-04-12 22:46:27 +04:00
|
|
|
'Coordinates': {
|
|
|
|
'headerFile': 'nsGeoPosition.h'
|
|
|
|
},
|
|
|
|
|
2013-08-01 10:57:25 +04:00
|
|
|
'Crypto' : {
|
2013-08-30 21:13:20 +04:00
|
|
|
'headerFile': 'Crypto.h'
|
2013-08-01 10:57:25 +04:00
|
|
|
},
|
|
|
|
|
2012-11-25 04:26:07 +04:00
|
|
|
'CSS': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-08-24 08:08:09 +04:00
|
|
|
'CSS2Properties': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'nsDOMCSSDeclaration'
|
2012-08-24 08:08:09 +04:00
|
|
|
},
|
|
|
|
|
2015-05-04 17:28:00 +03:00
|
|
|
'CSSLexer': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-03-02 10:08:42 +04:00
|
|
|
'CSSPrimitiveValue': {
|
|
|
|
'nativeType': 'nsROCSSPrimitiveValue',
|
2012-10-01 20:49:41 +04:00
|
|
|
},
|
|
|
|
|
2012-08-24 08:08:09 +04:00
|
|
|
'CSSStyleDeclaration': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'nsICSSDeclaration'
|
2012-08-24 08:08:09 +04:00
|
|
|
},
|
|
|
|
|
2013-03-17 18:45:01 +04:00
|
|
|
'CSSStyleSheet': {
|
2014-06-20 14:32:49 +04:00
|
|
|
'nativeType': 'mozilla::CSSStyleSheet',
|
2013-03-17 18:45:01 +04:00
|
|
|
'binaryNames': { 'ownerRule': 'DOMOwnerRule' },
|
|
|
|
},
|
|
|
|
|
2013-03-02 10:08:42 +04:00
|
|
|
'CSSValue': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'concrete': False
|
2012-10-01 20:49:41 +04:00
|
|
|
},
|
|
|
|
|
2013-03-02 10:08:42 +04:00
|
|
|
'CSSValueList': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'nsDOMCSSValueList'
|
2012-10-01 20:49:41 +04:00
|
|
|
},
|
|
|
|
|
2013-05-20 11:19:45 +04:00
|
|
|
'DataChannel': {
|
|
|
|
'nativeType': 'nsDOMDataChannel',
|
|
|
|
},
|
|
|
|
|
2013-11-05 18:16:26 +04:00
|
|
|
'DedicatedWorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
'workers': True,
|
|
|
|
},
|
|
|
|
|
2014-01-02 02:52:47 +04:00
|
|
|
'DeviceAcceleration': {
|
2014-02-27 14:51:12 +04:00
|
|
|
'headerFile': 'mozilla/dom/DeviceMotionEvent.h',
|
2013-04-16 17:03:46 +04:00
|
|
|
},
|
|
|
|
|
2014-01-02 02:52:47 +04:00
|
|
|
'DeviceRotationRate': {
|
2014-02-27 14:51:12 +04:00
|
|
|
'headerFile': 'mozilla/dom/DeviceMotionEvent.h',
|
2014-01-02 02:52:47 +04:00
|
|
|
},
|
|
|
|
|
2013-06-01 10:56:00 +04:00
|
|
|
'DeviceStorage': {
|
|
|
|
'nativeType': 'nsDOMDeviceStorage',
|
|
|
|
'headerFile': 'DeviceStorage.h',
|
|
|
|
},
|
|
|
|
|
2015-01-21 00:44:14 +03:00
|
|
|
'Document': {
|
2012-05-10 23:24:59 +04:00
|
|
|
'nativeType': 'nsIDocument',
|
2013-09-25 01:56:52 +04:00
|
|
|
'binaryNames': {
|
|
|
|
'documentURI': 'documentURIFromJS',
|
|
|
|
'URL': 'documentURIFromJS'
|
|
|
|
}
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
|
2015-11-19 01:12:23 +03:00
|
|
|
'DominatorTree': {
|
|
|
|
'nativeType': 'mozilla::devtools::DominatorTree'
|
|
|
|
},
|
|
|
|
|
2013-09-09 07:28:49 +04:00
|
|
|
'DOMException': {
|
|
|
|
'binaryNames': {
|
|
|
|
'message': 'messageMoz',
|
|
|
|
},
|
2016-03-22 20:50:35 +03:00
|
|
|
'implicitJSContext': [ 'filename', 'lineNumber', 'stack' ],
|
2013-09-09 07:28:49 +04:00
|
|
|
},
|
|
|
|
|
2014-06-24 22:15:00 +04:00
|
|
|
'DOMMatrixReadOnly': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMMatrix.h',
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-09-20 14:21:03 +04:00
|
|
|
'DOMPointReadOnly': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMPoint.h',
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'DOMRectList': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMRect.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'DOMRectReadOnly': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMRect.h',
|
|
|
|
},
|
|
|
|
|
2014-10-11 17:46:01 +04:00
|
|
|
'DOMRequest': {
|
|
|
|
'implicitJSContext': [ 'then' ],
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'DOMStringMap': {
|
|
|
|
'nativeType': 'nsDOMStringMap'
|
|
|
|
},
|
|
|
|
|
|
|
|
'DOMTokenList': {
|
2012-09-06 00:49:53 +04:00
|
|
|
'nativeType': 'nsDOMTokenList',
|
2012-11-05 20:58:03 +04:00
|
|
|
},
|
2012-09-06 00:49:53 +04:00
|
|
|
|
2013-01-29 08:30:17 +04:00
|
|
|
'DummyInterface': {
|
|
|
|
'skipGen': True,
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'DummyInterfaceWorkers': {
|
|
|
|
'skipGen': True,
|
|
|
|
'register': False,
|
|
|
|
'workers': True
|
|
|
|
},
|
|
|
|
|
2013-01-24 04:50:18 +04:00
|
|
|
'DynamicsCompressorNode': {
|
2012-11-07 05:01:11 +04:00
|
|
|
'binaryNames': {
|
|
|
|
'release': 'getRelease'
|
2013-01-24 04:50:18 +04:00
|
|
|
},
|
|
|
|
},
|
2012-11-07 05:01:11 +04:00
|
|
|
|
2013-11-05 18:16:26 +04:00
|
|
|
'Event': {
|
2013-12-08 19:51:16 +04:00
|
|
|
'implicitJSContext': [ 'defaultPrevented', 'preventDefault' ],
|
2013-03-09 15:34:29 +04:00
|
|
|
},
|
2012-03-31 08:42:20 +04:00
|
|
|
|
2013-11-05 18:16:26 +04:00
|
|
|
'EventTarget': {
|
2014-03-19 20:35:45 +04:00
|
|
|
# When we get rid of hasXPConnectImpls, we can get rid of the
|
2014-11-26 22:25:20 +03:00
|
|
|
# couldBeDOMBinding stuff in GetOrCreateDOMReflector.
|
2014-10-22 19:40:48 +04:00
|
|
|
#
|
|
|
|
# We can also get rid of the UnwrapArg bits in
|
2014-10-22 19:40:50 +04:00
|
|
|
# the dom QueryInterface (in BindingUtils.cpp) at that point.
|
2012-12-07 05:39:51 +04:00
|
|
|
'hasXPConnectImpls': True,
|
2012-05-10 23:24:59 +04:00
|
|
|
'concrete': False,
|
2016-04-07 15:49:12 +03:00
|
|
|
'jsImplParent': 'mozilla::DOMEventTargetHelper',
|
|
|
|
'implicitJSContext': [ 'dispatchEvent' ]
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
|
2013-09-09 07:28:49 +04:00
|
|
|
'Exception': {
|
2013-09-09 07:28:50 +04:00
|
|
|
'headerFile': 'mozilla/dom/DOMException.h',
|
2013-09-09 07:28:49 +04:00
|
|
|
'binaryNames': {
|
|
|
|
'message': 'messageMoz',
|
2013-09-09 07:29:21 +04:00
|
|
|
},
|
2016-03-22 20:50:35 +03:00
|
|
|
'implicitJSContext': [ '__stringifier', 'filename', 'lineNumber', 'stack' ],
|
2013-09-09 07:28:49 +04:00
|
|
|
},
|
|
|
|
|
2014-11-06 18:57:57 +03:00
|
|
|
'ExtendableEvent': {
|
|
|
|
'headerFile': 'mozilla/dom/ServiceWorkerEvents.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::ExtendableEvent',
|
2015-11-20 00:15:17 +03:00
|
|
|
'implicitJSContext': [ 'waitUntil' ],
|
2014-11-06 18:57:57 +03:00
|
|
|
},
|
|
|
|
|
2015-11-10 09:31:41 +03:00
|
|
|
'ExtendableMessageEvent': {
|
|
|
|
'headerFile': 'mozilla/dom/ServiceWorkerEvents.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::ExtendableMessageEvent',
|
|
|
|
},
|
|
|
|
|
2015-02-19 04:34:29 +03:00
|
|
|
'FetchEvent': {
|
|
|
|
'headerFile': 'ServiceWorkerEvents.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::FetchEvent',
|
|
|
|
'binaryNames': {
|
|
|
|
'request': 'request_'
|
|
|
|
},
|
2015-10-30 05:53:25 +03:00
|
|
|
'implicitJSContext': [ 'respondWith' ],
|
2015-02-19 04:34:29 +03:00
|
|
|
},
|
|
|
|
|
2013-04-13 11:06:31 +04:00
|
|
|
'FileReader': {
|
|
|
|
'implicitJSContext': [ 'readAsArrayBuffer' ],
|
|
|
|
},
|
|
|
|
|
2012-10-01 16:56:31 +04:00
|
|
|
'FileReaderSync': {
|
2013-09-30 08:15:37 +04:00
|
|
|
'wrapperCache': False,
|
2012-10-01 16:56:31 +04:00
|
|
|
},
|
2012-09-21 06:47:47 +04:00
|
|
|
|
2016-06-02 09:47:00 +03:00
|
|
|
'FlyWebFetchEvent': {
|
|
|
|
'headerFile': 'FlyWebServerEvents.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'FlyWebWebSocketEvent': {
|
|
|
|
'headerFile': 'FlyWebServerEvents.h',
|
|
|
|
},
|
|
|
|
|
2015-06-27 04:41:10 +03:00
|
|
|
'FontFaceSet': {
|
|
|
|
'implicitJSContext': [ 'load' ],
|
|
|
|
},
|
|
|
|
|
2015-03-31 06:05:33 +03:00
|
|
|
'FontFaceSetIterator': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2013-04-26 10:48:37 +04:00
|
|
|
'Geolocation': {
|
|
|
|
'headerFile': 'nsGeolocation.h'
|
|
|
|
},
|
|
|
|
|
2015-05-28 17:37:42 +03:00
|
|
|
'HeapSnapshot': {
|
|
|
|
'nativeType': 'mozilla::devtools::HeapSnapshot'
|
|
|
|
},
|
|
|
|
|
2013-08-10 10:47:59 +04:00
|
|
|
'History': {
|
|
|
|
'headerFile': 'nsHistory.h',
|
|
|
|
'nativeType': 'nsHistory'
|
|
|
|
},
|
|
|
|
|
2013-03-17 18:42:03 +04:00
|
|
|
'HTMLAppletElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedObjectElement'
|
|
|
|
},
|
|
|
|
|
2013-02-08 16:20:11 +04:00
|
|
|
'HTMLBaseElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'HTMLCollection': {
|
2012-09-06 00:49:53 +04:00
|
|
|
'nativeType': 'nsIHTMLCollection',
|
2013-05-30 07:15:31 +04:00
|
|
|
# nsContentList.h pulls in nsIHTMLCollection.h
|
|
|
|
'headerFile': 'nsContentList.h',
|
2012-12-21 18:07:28 +04:00
|
|
|
},
|
|
|
|
|
2013-02-08 16:20:11 +04:00
|
|
|
'HTMLDirectoryElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2013-01-04 21:02:14 +04:00
|
|
|
'HTMLDListElement': {
|
2013-02-08 16:20:11 +04:00
|
|
|
'nativeType' : 'mozilla::dom::HTMLSharedListElement'
|
2013-01-04 21:02:14 +04:00
|
|
|
},
|
|
|
|
|
2012-12-26 06:00:47 +04:00
|
|
|
'HTMLDocument': {
|
|
|
|
'nativeType': 'nsHTMLDocument',
|
|
|
|
'implicitJSContext': [ 'open', 'write', 'writeln' ]
|
|
|
|
},
|
|
|
|
|
2012-11-26 18:19:02 +04:00
|
|
|
'HTMLElement': {
|
|
|
|
'nativeType': 'nsGenericHTMLElement',
|
|
|
|
},
|
|
|
|
|
2013-03-17 18:42:03 +04:00
|
|
|
'HTMLEmbedElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedObjectElement'
|
|
|
|
},
|
|
|
|
|
2013-02-08 16:20:11 +04:00
|
|
|
'HTMLHeadElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
|
|
|
'HTMLHtmlElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2013-03-19 16:29:32 +04:00
|
|
|
'HTMLMediaElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-01-04 21:02:14 +04:00
|
|
|
'HTMLOListElement': {
|
2013-01-08 22:05:36 +04:00
|
|
|
'nativeType' : 'mozilla::dom::HTMLSharedListElement'
|
2013-02-08 20:34:48 +04:00
|
|
|
},
|
|
|
|
|
2013-02-08 16:20:11 +04:00
|
|
|
'HTMLParamElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
|
|
|
'HTMLQuoteElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
2013-02-19 09:54:23 +04:00
|
|
|
'HTMLTextAreaElement': {
|
|
|
|
'binaryNames': {
|
|
|
|
'textLength': 'getTextLength'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-01-04 21:02:14 +04:00
|
|
|
'HTMLUListElement': {
|
2013-02-08 16:20:11 +04:00
|
|
|
'nativeType' : 'mozilla::dom::HTMLSharedListElement'
|
2013-01-04 21:02:14 +04:00
|
|
|
},
|
|
|
|
|
2013-08-01 02:28:13 +04:00
|
|
|
'IDBCursor': {
|
|
|
|
'implicitJSContext': [ 'delete' ],
|
|
|
|
'binaryNames': {
|
|
|
|
'direction': 'getDirection'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
'IDBCursorWithValue': {
|
2016-02-17 00:46:08 +03:00
|
|
|
'nativeType': 'mozilla::dom::IDBCursor',
|
2014-07-17 20:40:54 +04:00
|
|
|
},
|
|
|
|
|
2016-03-23 18:02:57 +03:00
|
|
|
'IDBDatabase': {
|
|
|
|
'implicitJSContext': [ 'transaction', 'createMutableFile',
|
|
|
|
'mozCreateFileHandle' ],
|
|
|
|
},
|
|
|
|
|
|
|
|
'IDBFactory': {
|
|
|
|
'implicitJSContext': [ 'open', 'deleteDatabase', 'openForPrincipal',
|
|
|
|
'deleteForPrincipal' ],
|
|
|
|
},
|
|
|
|
|
2013-07-31 19:48:40 +04:00
|
|
|
'IDBIndex': {
|
|
|
|
'binaryNames': {
|
|
|
|
'mozGetAll': 'getAll',
|
|
|
|
'mozGetAllKeys': 'getAllKeys',
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-09-28 15:25:46 +04:00
|
|
|
'IDBKeyRange': {
|
2015-09-04 22:12:52 +03:00
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'IDBLocaleAwareKeyRange': {
|
2016-02-17 00:46:08 +03:00
|
|
|
'headerFile': 'IDBKeyRange.h',
|
2013-09-28 15:25:46 +04:00
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2013-07-31 19:48:36 +04:00
|
|
|
'IDBObjectStore': {
|
|
|
|
'binaryNames': {
|
|
|
|
'mozGetAll': 'getAll'
|
2016-03-23 18:02:57 +03:00
|
|
|
},
|
|
|
|
'implicitJSContext': [ 'clear' ],
|
2013-07-31 19:48:36 +04:00
|
|
|
},
|
|
|
|
|
2013-08-01 02:28:15 +04:00
|
|
|
'IDBOpenDBRequest': {
|
|
|
|
'headerFile': 'IDBRequest.h'
|
|
|
|
},
|
|
|
|
|
2013-03-12 21:45:59 +04:00
|
|
|
'IDBVersionChangeEvent': {
|
|
|
|
'headerFile': 'IDBEvents.h',
|
|
|
|
},
|
|
|
|
|
2015-02-25 00:04:22 +03:00
|
|
|
'IID': {
|
2012-10-16 07:12:03 +04:00
|
|
|
'nativeType': 'nsIJSID',
|
2012-05-10 23:24:59 +04:00
|
|
|
'headerFile': 'xpcjsid.h',
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
|
2016-04-27 08:03:01 +03:00
|
|
|
'ImageBitmap': {
|
|
|
|
'implicitJSContext': [ 'mapDataInto' ],
|
|
|
|
},
|
|
|
|
|
2013-09-16 06:50:24 +04:00
|
|
|
'ImageCapture': {
|
|
|
|
'binaryNames': { 'videoStreamTrack': 'GetVideoStreamTrack' }
|
|
|
|
},
|
|
|
|
|
2013-11-01 02:28:22 +04:00
|
|
|
'ImageData': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'wrapperCache': False,
|
2013-11-01 02:28:22 +04:00
|
|
|
},
|
2012-10-22 21:08:52 +04:00
|
|
|
|
2015-02-25 00:04:22 +03:00
|
|
|
'InputStream': {
|
2012-05-10 23:24:59 +04:00
|
|
|
'nativeType': 'nsIInputStream',
|
|
|
|
'notflattened': True
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
|
2013-05-19 05:28:47 +04:00
|
|
|
'KeyEvent': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2015-03-25 17:35:59 +03:00
|
|
|
'LegacyMozTCPSocket': {
|
|
|
|
'headerFile': 'TCPSocket.h',
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2013-03-27 05:32:51 +04:00
|
|
|
'LocalMediaStream': {
|
|
|
|
'headerFile': 'DOMMediaStream.h',
|
|
|
|
'nativeType': 'mozilla::DOMLocalMediaStream'
|
|
|
|
},
|
|
|
|
|
2012-12-22 12:27:27 +04:00
|
|
|
'Location': {
|
2014-07-12 03:30:27 +04:00
|
|
|
'nativeType': 'nsLocation',
|
2012-12-22 12:27:27 +04:00
|
|
|
},
|
|
|
|
|
2013-11-11 12:03:17 +04:00
|
|
|
'MediaList': {
|
|
|
|
'nativeType': 'nsMediaList',
|
|
|
|
'headerFile': 'nsIMediaList.h',
|
|
|
|
},
|
|
|
|
|
2015-02-01 21:12:00 +03:00
|
|
|
'MediaKeys' : {
|
|
|
|
'implicitJSContext': [ 'createSession']
|
|
|
|
},
|
|
|
|
|
2015-01-21 00:44:14 +03:00
|
|
|
'MediaStream': {
|
2013-02-15 12:04:11 +04:00
|
|
|
'headerFile': 'DOMMediaStream.h',
|
|
|
|
'nativeType': 'mozilla::DOMMediaStream'
|
2013-02-06 03:17:17 +04:00
|
|
|
},
|
|
|
|
|
2013-05-21 23:17:47 +04:00
|
|
|
'MediaStreamAudioDestinationNode': {
|
|
|
|
'binaryNames': { 'stream': 'DOMStream' }
|
|
|
|
},
|
|
|
|
|
2012-09-13 20:04:31 +04:00
|
|
|
'MediaStreamList': {
|
|
|
|
'headerFile': 'MediaStreamList.h',
|
|
|
|
},
|
|
|
|
|
2013-03-27 05:32:51 +04:00
|
|
|
'MediaStreamTrack': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-07-05 05:50:25 +04:00
|
|
|
'MediaRecorder': {
|
|
|
|
'headerFile': 'MediaRecorder.h',
|
|
|
|
},
|
|
|
|
|
2013-07-09 18:54:05 +04:00
|
|
|
'MimeType': {
|
|
|
|
'headerFile' : 'nsMimeTypeArray.h',
|
|
|
|
'nativeType': 'nsMimeType',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MimeTypeArray': {
|
|
|
|
'nativeType': 'nsMimeTypeArray',
|
|
|
|
},
|
|
|
|
|
2013-09-12 02:35:51 +04:00
|
|
|
'MozCanvasPrintState': {
|
|
|
|
'headerFile': 'mozilla/dom/HTMLCanvasElement.h',
|
|
|
|
'nativeType': 'mozilla::dom::HTMLCanvasPrintState',
|
|
|
|
},
|
2013-04-16 00:37:52 +04:00
|
|
|
|
2014-08-05 06:20:34 +04:00
|
|
|
'MozChannel': {
|
2012-05-10 23:24:59 +04:00
|
|
|
'nativeType': 'nsIChannel',
|
|
|
|
'notflattened': True
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
|
2014-09-19 11:53:05 +04:00
|
|
|
'MozCdmaIccInfo': {
|
|
|
|
'headerFile': 'mozilla/dom/IccInfo.h',
|
|
|
|
'nativeType': 'mozilla::dom::CdmaIccInfo',
|
|
|
|
},
|
|
|
|
|
2013-08-27 07:38:37 +04:00
|
|
|
'MozCellBroadcast': {
|
|
|
|
'nativeType': 'mozilla::dom::CellBroadcast',
|
|
|
|
},
|
|
|
|
|
2014-08-15 09:13:05 +04:00
|
|
|
'MozCellBroadcastEtwsInfo': {
|
|
|
|
'nativeType': 'mozilla::dom::CellBroadcastEtwsInfo',
|
|
|
|
'headerFile': 'CellBroadcastMessage.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'MozCellBroadcastMessage': {
|
|
|
|
'nativeType': 'mozilla::dom::CellBroadcastMessage',
|
|
|
|
},
|
|
|
|
|
2014-09-19 11:53:05 +04:00
|
|
|
'MozGsmIccInfo': {
|
|
|
|
'headerFile': 'mozilla/dom/IccInfo.h',
|
|
|
|
'nativeType': 'mozilla::dom::GsmIccInfo',
|
|
|
|
},
|
|
|
|
|
2013-10-09 13:40:12 +04:00
|
|
|
'MozIcc': {
|
|
|
|
'nativeType': 'mozilla::dom::Icc',
|
|
|
|
},
|
|
|
|
|
2014-09-19 11:53:05 +04:00
|
|
|
'MozIccInfo': {
|
|
|
|
'nativeType': 'mozilla::dom::IccInfo',
|
|
|
|
},
|
|
|
|
|
2014-04-16 11:30:28 +04:00
|
|
|
'MozIccManager': {
|
|
|
|
'nativeType': 'mozilla::dom::IccManager',
|
|
|
|
},
|
|
|
|
|
2014-05-05 10:36:20 +04:00
|
|
|
'MozMobileCellInfo': {
|
|
|
|
'nativeType': 'mozilla::dom::MobileCellInfo',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MozMobileConnection': {
|
|
|
|
'nativeType': 'mozilla::dom::MobileConnection',
|
|
|
|
},
|
|
|
|
|
2013-11-13 12:50:11 +04:00
|
|
|
'MozMobileConnectionArray': {
|
2014-01-02 07:06:17 +04:00
|
|
|
'nativeType': 'mozilla::dom::MobileConnectionArray',
|
2013-11-13 12:50:11 +04:00
|
|
|
},
|
|
|
|
|
2014-05-05 10:36:20 +04:00
|
|
|
'MozMobileConnectionInfo': {
|
|
|
|
'nativeType': 'mozilla::dom::MobileConnectionInfo',
|
|
|
|
},
|
|
|
|
|
2014-06-25 07:57:13 +04:00
|
|
|
'MozMobileMessageManager': {
|
|
|
|
'nativeType': 'mozilla::dom::MobileMessageManager',
|
|
|
|
},
|
|
|
|
|
2014-05-05 10:36:20 +04:00
|
|
|
'MozMobileNetworkInfo': {
|
|
|
|
'nativeType': 'mozilla::dom::MobileNetworkInfo',
|
|
|
|
},
|
|
|
|
|
2013-11-25 03:50:03 +04:00
|
|
|
'MozSpeakerManager': {
|
|
|
|
'nativeType': 'mozilla::dom::SpeakerManager',
|
|
|
|
'headerFile': 'SpeakerManager.h'
|
|
|
|
},
|
|
|
|
|
2013-09-11 03:03:56 +04:00
|
|
|
'MozPowerManager': {
|
2013-09-11 18:35:04 +04:00
|
|
|
'nativeType': 'mozilla::dom::PowerManager',
|
2013-06-12 11:00:07 +04:00
|
|
|
},
|
|
|
|
|
2014-01-07 16:16:07 +04:00
|
|
|
'MozWakeLock': {
|
|
|
|
'nativeType': 'mozilla::dom::WakeLock',
|
|
|
|
},
|
|
|
|
|
2013-09-11 03:03:56 +04:00
|
|
|
'MozTimeManager': {
|
|
|
|
'nativeType': 'mozilla::dom::time::TimeManager',
|
|
|
|
},
|
|
|
|
|
2013-09-03 18:38:53 +04:00
|
|
|
'MozVoicemail': {
|
|
|
|
'nativeType': 'mozilla::dom::Voicemail',
|
|
|
|
},
|
|
|
|
|
2014-09-26 09:00:24 +04:00
|
|
|
'MozVoicemailStatus': {
|
|
|
|
'nativeType': 'mozilla::dom::VoicemailStatus',
|
|
|
|
},
|
|
|
|
|
2012-12-18 18:50:52 +04:00
|
|
|
'MutationObserver': {
|
|
|
|
'nativeType': 'nsDOMMutationObserver',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MutationRecord': {
|
|
|
|
'nativeType': 'nsDOMMutationRecord',
|
|
|
|
'headerFile': 'nsDOMMutationObserver.h',
|
|
|
|
},
|
|
|
|
|
2014-08-25 13:25:34 +04:00
|
|
|
'NamedNodeMap': {
|
|
|
|
'nativeType': 'nsDOMAttributeMap',
|
|
|
|
},
|
|
|
|
|
2014-03-05 07:54:55 +04:00
|
|
|
'NetworkInformation': {
|
|
|
|
'nativeType': 'mozilla::dom::network::Connection',
|
|
|
|
},
|
|
|
|
|
2012-11-22 15:09:41 +04:00
|
|
|
'Node': {
|
|
|
|
'nativeType': 'nsINode',
|
2013-01-04 21:02:14 +04:00
|
|
|
'concrete': False,
|
2013-09-25 01:56:52 +04:00
|
|
|
'binaryNames': {
|
|
|
|
'baseURI': 'baseURIFromJS'
|
|
|
|
}
|
2012-11-22 15:09:41 +04:00
|
|
|
},
|
|
|
|
|
2013-02-28 21:56:42 +04:00
|
|
|
'NodeIterator': {
|
|
|
|
'wrapperCache': False,
|
2013-01-28 17:34:31 +04:00
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'NodeList': {
|
2012-09-06 00:49:53 +04:00
|
|
|
'nativeType': 'nsINodeList',
|
2013-05-17 03:30:41 +04:00
|
|
|
},
|
|
|
|
|
2015-06-26 04:50:24 +03:00
|
|
|
'NotificationEvent': {
|
|
|
|
'headerFile': 'mozilla/dom/NotificationEvent.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::NotificationEvent',
|
|
|
|
'binaryNames': {
|
|
|
|
'notification': 'notification_'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2013-05-17 03:30:41 +04:00
|
|
|
'OfflineAudioContext': {
|
|
|
|
'nativeType': 'mozilla::dom::AudioContext',
|
|
|
|
},
|
|
|
|
|
2013-06-01 10:53:44 +04:00
|
|
|
'OfflineResourceList': {
|
|
|
|
'nativeType': 'nsDOMOfflineResourceList',
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'PaintRequestList': {
|
2014-04-03 08:18:37 +04:00
|
|
|
'headerFile': 'mozilla/dom/PaintRequest.h',
|
2013-11-01 02:28:22 +04:00
|
|
|
},
|
2012-11-06 06:14:13 +04:00
|
|
|
|
2014-03-18 16:03:06 +04:00
|
|
|
'Path2D': {
|
|
|
|
'nativeType': 'mozilla::dom::CanvasPath',
|
2015-03-03 18:57:51 +03:00
|
|
|
'headerFile': 'CanvasPath.h'
|
2014-03-18 16:03:06 +04:00
|
|
|
},
|
|
|
|
|
2013-10-14 20:53:56 +04:00
|
|
|
'PeerConnectionImpl': {
|
2014-11-20 03:16:29 +03:00
|
|
|
'nativeType': 'mozilla::PeerConnectionImpl',
|
2013-10-14 20:53:56 +04:00
|
|
|
'headerFile': 'PeerConnectionImpl.h',
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-07-09 18:54:05 +04:00
|
|
|
'Plugin': {
|
|
|
|
'headerFile' : 'nsPluginArray.h',
|
|
|
|
'nativeType': 'nsPluginElement',
|
|
|
|
},
|
|
|
|
|
|
|
|
'PluginArray': {
|
|
|
|
'nativeType': 'nsPluginArray',
|
|
|
|
},
|
|
|
|
|
2014-10-15 00:15:21 +04:00
|
|
|
'PopupBoxObject': {
|
|
|
|
'resultNotAddRefed': ['triggerNode', 'anchorNode'],
|
|
|
|
},
|
|
|
|
|
2013-04-12 22:46:27 +04:00
|
|
|
'Position': {
|
|
|
|
'headerFile': 'nsGeoPosition.h'
|
|
|
|
},
|
|
|
|
|
2013-04-12 22:46:32 +04:00
|
|
|
'PositionError': {
|
|
|
|
'headerFile': 'nsGeolocation.h'
|
|
|
|
},
|
|
|
|
|
2014-04-09 12:30:24 +04:00
|
|
|
'Promise': {
|
|
|
|
'implicitJSContext': [ 'then', 'catch' ],
|
|
|
|
},
|
|
|
|
|
2014-07-02 08:19:48 +04:00
|
|
|
'PromiseDebugging': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2016-02-10 01:40:31 +03:00
|
|
|
'PromiseNativeHandler': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2015-04-11 06:19:28 +03:00
|
|
|
'PushEvent': {
|
|
|
|
'headerFile': 'ServiceWorkerEvents.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::PushEvent',
|
|
|
|
},
|
|
|
|
|
|
|
|
'PushMessageData': {
|
|
|
|
'headerFile': 'ServiceWorkerEvents.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::PushMessageData',
|
|
|
|
},
|
|
|
|
|
2013-02-07 16:09:41 +04:00
|
|
|
'Range': {
|
|
|
|
'nativeType': 'nsRange',
|
|
|
|
'binaryNames': {
|
|
|
|
'__stringifier': 'ToString'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2012-12-26 16:26:36 +04:00
|
|
|
'Rect': {
|
2013-03-02 10:08:42 +04:00
|
|
|
'nativeType': 'nsDOMCSSRect',
|
2012-12-26 16:26:36 +04:00
|
|
|
},
|
|
|
|
|
2014-07-25 04:53:03 +04:00
|
|
|
'Request': {
|
2016-02-27 01:36:45 +03:00
|
|
|
'binaryNames': {
|
|
|
|
'headers': 'headers_',
|
|
|
|
'referrerPolicy': 'referrerPolicy_'
|
|
|
|
},
|
2014-07-25 04:53:03 +04:00
|
|
|
},
|
|
|
|
|
2014-07-25 04:50:32 +04:00
|
|
|
'Response': {
|
|
|
|
'binaryNames': { 'headers': 'headers_' },
|
|
|
|
},
|
|
|
|
|
2012-12-14 11:51:39 +04:00
|
|
|
'RGBColor': {
|
2013-03-02 10:08:42 +04:00
|
|
|
'nativeType': 'nsDOMCSSRGBColor',
|
2014-05-15 14:20:00 +04:00
|
|
|
},
|
|
|
|
|
2012-10-14 11:40:11 +04:00
|
|
|
'Screen': {
|
|
|
|
'nativeType': 'nsScreen',
|
|
|
|
},
|
|
|
|
|
2013-11-20 03:14:07 +04:00
|
|
|
'ServiceWorker': {
|
|
|
|
'nativeType': 'mozilla::dom::workers::ServiceWorker',
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/ServiceWorker.h',
|
|
|
|
},
|
|
|
|
|
2014-05-14 01:28:01 +04:00
|
|
|
'ServiceWorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
'workers': True,
|
|
|
|
},
|
|
|
|
|
2016-06-12 17:26:51 +03:00
|
|
|
'ServiceWorkerRegistration': {
|
2016-04-02 01:25:49 +03:00
|
|
|
'implicitJSContext': [ 'pushManager' ],
|
2016-06-12 17:26:51 +03:00
|
|
|
},
|
2015-04-04 01:18:55 +03:00
|
|
|
|
2013-06-05 18:04:23 +04:00
|
|
|
'SharedWorker': {
|
|
|
|
'nativeType': 'mozilla::dom::workers::SharedWorker',
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/SharedWorker.h',
|
|
|
|
'implicitJSContext': [ 'constructor' ],
|
|
|
|
},
|
|
|
|
|
2013-11-05 18:16:26 +04:00
|
|
|
'SharedWorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
'workers': True,
|
|
|
|
},
|
|
|
|
|
2014-07-23 09:07:12 +04:00
|
|
|
'Storage': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMStorage',
|
|
|
|
},
|
|
|
|
|
2013-03-17 18:45:01 +04:00
|
|
|
'StyleSheet': {
|
2014-06-20 14:32:49 +04:00
|
|
|
'nativeType': 'mozilla::CSSStyleSheet',
|
2013-03-17 18:45:01 +04:00
|
|
|
},
|
|
|
|
|
2012-12-23 08:54:25 +04:00
|
|
|
'SVGAnimatedLengthList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGAnimatedLengthList',
|
2013-07-23 12:34:18 +04:00
|
|
|
'headerFile': 'DOMSVGAnimatedLengthList.h',
|
2012-12-23 08:54:25 +04:00
|
|
|
},
|
|
|
|
|
2012-12-23 08:54:21 +04:00
|
|
|
'SVGAnimatedNumberList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGAnimatedNumberList',
|
|
|
|
'headerFile': 'DOMSVGAnimatedNumberList.h'
|
|
|
|
},
|
|
|
|
|
2012-12-23 08:54:20 +04:00
|
|
|
'SVGAnimatedPreserveAspectRatio': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedPreserveAspectRatio',
|
|
|
|
'headerFile': 'SVGAnimatedPreserveAspectRatio.h'
|
|
|
|
},
|
|
|
|
|
2013-01-06 13:32:03 +04:00
|
|
|
'SVGAnimationElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-02-12 14:10:24 +04:00
|
|
|
'SVGComponentTransferFunctionElement': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2012-12-23 12:22:58 +04:00
|
|
|
'SVGElement': {
|
|
|
|
'nativeType': 'nsSVGElement',
|
|
|
|
},
|
|
|
|
|
2013-02-12 14:10:24 +04: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 10:17:02 +04:00
|
|
|
'SVGGraphicsElement': {
|
2013-01-17 00:50:59 +04:00
|
|
|
'concrete': False,
|
2013-01-03 10:17:02 +04:00
|
|
|
},
|
|
|
|
|
2013-01-11 12:43:01 +04:00
|
|
|
'SVGGradientElement': {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2014-04-12 01:26:29 +04:00
|
|
|
'SVGLength': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGLength',
|
|
|
|
'headerFile': 'DOMSVGLength.h'
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'SVGLengthList': {
|
2012-09-06 00:49:53 +04:00
|
|
|
'nativeType': 'mozilla::DOMSVGLengthList',
|
2013-07-12 14:25:26 +04:00
|
|
|
'headerFile': 'DOMSVGLengthList.h'
|
2012-11-05 20:58:03 +04:00
|
|
|
},
|
2012-09-06 00:49:53 +04:00
|
|
|
|
2013-01-11 12:43:01 +04:00
|
|
|
'SVGLinearGradientElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGGradientElement.h',
|
|
|
|
},
|
|
|
|
|
2014-05-30 11:36:52 +04:00
|
|
|
'SVGNumber': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGNumber',
|
|
|
|
'headerFile': 'DOMSVGNumber.h',
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'SVGNumberList': {
|
2012-09-06 00:49:53 +04:00
|
|
|
'nativeType': 'mozilla::DOMSVGNumberList',
|
2013-07-12 14:25:26 +04:00
|
|
|
'headerFile': 'DOMSVGNumberList.h'
|
2012-11-05 20:58:03 +04:00
|
|
|
},
|
2012-09-06 00:49:53 +04:00
|
|
|
|
2012-12-23 08:54:22 +04: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 20:58:03 +04:00
|
|
|
'SVGPathSegList': {
|
2012-09-06 00:49:53 +04:00
|
|
|
'nativeType': 'mozilla::DOMSVGPathSegList',
|
2013-07-12 14:25:26 +04:00
|
|
|
'headerFile': 'DOMSVGPathSegList.h'
|
2012-11-05 20:58:03 +04:00
|
|
|
},
|
2012-09-06 00:49:53 +04:00
|
|
|
|
2012-12-23 08:54:19 +04:00
|
|
|
'SVGPoint': {
|
2012-12-23 08:54:20 +04:00
|
|
|
'nativeType': 'mozilla::nsISVGPoint',
|
|
|
|
'headerFile': 'nsISVGPoint.h'
|
2012-12-23 08:54:19 +04:00
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'SVGPointList': {
|
2012-09-06 00:49:53 +04:00
|
|
|
'nativeType': 'mozilla::DOMSVGPointList',
|
2013-07-12 14:25:27 +04:00
|
|
|
'headerFile': 'DOMSVGPointList.h'
|
2012-11-05 20:58:03 +04:00
|
|
|
},
|
2012-09-06 00:49:53 +04:00
|
|
|
|
2012-12-23 08:54:20 +04:00
|
|
|
'SVGPreserveAspectRatio': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPreserveAspectRatio',
|
|
|
|
'headerFile': 'SVGPreserveAspectRatio.h'
|
|
|
|
},
|
|
|
|
|
2013-01-11 12:43:01 +04:00
|
|
|
'SVGRadialGradientElement': {
|
|
|
|
'headerFile': 'mozilla/dom/SVGGradientElement.h',
|
|
|
|
},
|
|
|
|
|
2013-03-26 19:53:13 +04:00
|
|
|
'SVGRect': {
|
|
|
|
'nativeType': 'mozilla::dom::SVGIRect'
|
|
|
|
},
|
|
|
|
|
2013-01-06 18:14:43 +04:00
|
|
|
'SVGTextContentElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-01-06 18:14:44 +04:00
|
|
|
'SVGTextPositioningElement': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2012-12-23 08:54:20 +04:00
|
|
|
'SVGTransform': {
|
2014-03-18 06:41:35 +04:00
|
|
|
'binaryNames': {
|
|
|
|
"matrix": "GetMatrix"
|
|
|
|
}
|
2012-12-23 08:54:20 +04:00
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'SVGTransformList': {
|
2012-09-06 00:49:53 +04:00
|
|
|
'nativeType': 'mozilla::DOMSVGTransformList',
|
2013-07-12 14:25:25 +04:00
|
|
|
'headerFile': 'DOMSVGTransformList.h'
|
2012-11-05 20:58:03 +04:00
|
|
|
},
|
2012-09-06 00:49:53 +04:00
|
|
|
|
2013-04-21 10:42:00 +04:00
|
|
|
'SVGStringList': {
|
|
|
|
'nativeType': 'mozilla::DOMSVGStringList',
|
|
|
|
'headerFile': 'DOMSVGStringList.h',
|
|
|
|
},
|
|
|
|
|
2013-03-13 22:07:49 +04:00
|
|
|
'SVGUnitTypes' : {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-03-21 09:33:56 +04:00
|
|
|
'SVGZoomAndPan' : {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2016-03-10 12:50:56 +03:00
|
|
|
'TestFunctions': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-01-04 21:02:14 +04:00
|
|
|
'Text': {
|
2013-02-22 18:56:29 +04:00
|
|
|
# Total hack to allow binding code to realize that nsTextNode can
|
|
|
|
# in fact be cast to Text.
|
|
|
|
'headerFile': 'nsTextNode.h',
|
2013-01-04 21:02:14 +04:00
|
|
|
},
|
|
|
|
|
2013-08-23 09:17:09 +04:00
|
|
|
'TextDecoder': {
|
2014-11-01 17:22:21 +03:00
|
|
|
'wrapperCache': False
|
2013-08-23 09:17:09 +04:00
|
|
|
},
|
2012-12-22 04:16:14 +04:00
|
|
|
|
2013-08-23 09:17:10 +04:00
|
|
|
'TextEncoder': {
|
2014-11-01 17:22:21 +03:00
|
|
|
'wrapperCache': False
|
2013-08-23 09:17:10 +04:00
|
|
|
},
|
2012-09-28 14:19:18 +04:00
|
|
|
|
2013-04-19 12:49:22 +04:00
|
|
|
'TextMetrics': {
|
2014-11-01 17:22:21 +03:00
|
|
|
'wrapperCache': False
|
2013-04-19 12:49:22 +04:00
|
|
|
},
|
|
|
|
|
2015-03-25 17:36:56 +03:00
|
|
|
'TCPSocket': {
|
|
|
|
'implicitJSContext': ['send']
|
|
|
|
},
|
|
|
|
|
2015-06-17 21:12:23 +03:00
|
|
|
'ThreadSafeChromeUtils': {
|
|
|
|
# The codegen is dumb, and doesn't understand that this interface is only a
|
|
|
|
# collection of static methods, so we have this `concrete: False` hack.
|
|
|
|
'concrete': False,
|
|
|
|
'headerFile': 'mozilla/dom/ChromeUtils.h',
|
|
|
|
},
|
|
|
|
|
2013-07-10 13:53:53 +04:00
|
|
|
'TouchList': {
|
2014-02-28 18:58:42 +04:00
|
|
|
'headerFile': 'mozilla/dom/TouchEvent.h',
|
2013-07-10 13:53:53 +04:00
|
|
|
},
|
|
|
|
|
2014-10-17 13:13:41 +04:00
|
|
|
'TreeColumn': {
|
|
|
|
'nativeType': 'nsTreeColumn',
|
|
|
|
'headerFile': 'nsTreeColumns.h',
|
|
|
|
},
|
|
|
|
|
2013-04-21 10:42:26 +04:00
|
|
|
'TreeColumns': {
|
|
|
|
'nativeType': 'nsTreeColumns',
|
|
|
|
},
|
|
|
|
|
2013-02-28 21:56:42 +04:00
|
|
|
'TreeWalker': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2013-04-26 10:48:37 +04:00
|
|
|
'UndoManager': {
|
|
|
|
'implicitJSContext' : [ 'undo', 'redo', 'transact' ],
|
|
|
|
},
|
|
|
|
|
2015-06-29 19:03:47 +03:00
|
|
|
'URL' : [{},
|
2013-02-06 03:17:17 +04:00
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
2012-09-25 07:24:43 +04:00
|
|
|
|
2014-07-09 23:24:49 +04:00
|
|
|
'VRDevice': {
|
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2013-08-28 00:07:00 +04:00
|
|
|
'VTTCue': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::dom::TextTrackCue'
|
2013-08-28 00:07:00 +04:00
|
|
|
},
|
|
|
|
|
2013-09-20 22:42:35 +04:00
|
|
|
'VTTRegion': {
|
|
|
|
'nativeType': 'mozilla::dom::TextTrackRegion',
|
|
|
|
},
|
|
|
|
|
2015-03-06 16:04:49 +03:00
|
|
|
'WindowClient': {
|
|
|
|
'nativeType': 'mozilla::dom::workers::ServiceWorkerWindowClient',
|
|
|
|
'headerFile': 'mozilla/dom/workers/bindings/ServiceWorkerWindowClient.h',
|
|
|
|
},
|
|
|
|
|
2012-10-09 22:39:49 +04:00
|
|
|
'WebGLActiveInfo': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLActiveInfo',
|
2015-01-16 02:40:39 +03:00
|
|
|
'headerFile': 'WebGLActiveInfo.h'
|
2012-10-09 22:39:49 +04:00
|
|
|
},
|
|
|
|
|
2012-10-05 00:35:54 +04:00
|
|
|
'WebGLBuffer': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLBuffer',
|
|
|
|
'headerFile': 'WebGLBuffer.h'
|
2012-10-05 00:35:54 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_compressed_texture_atc': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureATC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-04 01:13:05 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_compressed_texture_etc1': {
|
2014-03-11 02:42:58 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureETC1',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2016-01-08 05:12:22 +03:00
|
|
|
'WEBGL_compressed_texture_es3': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureES3',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_compressed_texture_pvrtc': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTexturePVRTC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-04 01:13:05 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_compressed_texture_s3tc': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureS3TC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-04 01:13:05 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_depth_texture': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDepthTexture',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-04 01:13:05 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_debug_renderer_info': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDebugRendererInfo',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-17 23:11:51 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_debug_shaders': {
|
2014-02-12 02:37:06 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDebugShaders',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'OES_element_index_uint': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionElementIndexUint',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-05-13 17:22:30 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'EXT_frag_depth': {
|
2014-02-14 03:00:12 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionFragDepth',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_lose_context': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionLoseContext',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-04 01:13:05 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'EXT_sRGB': {
|
2013-11-05 01:05:04 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionSRGB',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'OES_standard_derivatives': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionStandardDerivatives',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-04 01:13:05 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'EXT_shader_texture_lod': {
|
2014-07-24 19:58:43 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionShaderTextureLod',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'EXT_texture_filter_anisotropic': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFilterAnisotropic',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-04 01:13:05 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'OES_texture_float': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2012-10-04 01:13:05 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'OES_texture_float_linear': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureFloatLinear',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-06-11 00:00:52 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'OES_texture_half_float': {
|
2014-01-24 01:47:37 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureHalfFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'OES_texture_half_float_linear': {
|
2014-02-13 18:53:53 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionTextureHalfFloatLinear',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_color_buffer_float': {
|
2014-03-08 01:26:17 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionColorBufferFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'EXT_color_buffer_half_float': {
|
2014-03-08 01:26:17 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionColorBufferHalfFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2016-05-05 01:48:11 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
'EXT_color_buffer_float': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionEXTColorBufferFloat',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2014-03-08 01:26:17 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WEBGL_draw_buffers': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDrawBuffers',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-06-22 03:44:17 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'OES_vertex_array_object': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionVertexArray',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-06-28 01:07:21 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'ANGLE_instanced_arrays': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionInstancedArrays',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
2013-08-14 02:11:01 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'EXT_blend_minmax': {
|
2014-06-14 20:07:53 +04:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionBlendMinMax',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'EXT_disjoint_timer_query': {
|
2015-05-27 14:12:00 +03:00
|
|
|
'nativeType': 'mozilla::WebGLExtensionDisjointTimerQuery',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2012-10-05 00:35:54 +04:00
|
|
|
'WebGLFramebuffer': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLFramebuffer',
|
|
|
|
'headerFile': 'WebGLFramebuffer.h'
|
2012-10-05 00:35:54 +04:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGLProgram': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLProgram',
|
|
|
|
'headerFile': 'WebGLProgram.h'
|
2012-10-05 00:35:54 +04:00
|
|
|
},
|
|
|
|
|
2013-08-07 01:23:46 +04:00
|
|
|
'WebGLQuery': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLQuery',
|
|
|
|
'headerFile': 'WebGLQuery.h'
|
2013-08-07 01:23:46 +04:00
|
|
|
},
|
|
|
|
|
2012-10-05 00:35:54 +04:00
|
|
|
'WebGLRenderbuffer': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLRenderbuffer',
|
|
|
|
'headerFile': 'WebGLRenderbuffer.h'
|
2012-10-05 00:35:54 +04:00
|
|
|
},
|
|
|
|
|
2012-05-31 22:16:48 +04:00
|
|
|
'WebGLRenderingContext': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLContext',
|
|
|
|
'headerFile': 'WebGLContext.h',
|
|
|
|
'implicitJSContext': [ 'getSupportedExtensions' ],
|
2013-07-17 17:58:09 +04:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGL2RenderingContext': {
|
2014-09-18 02:08:41 +04:00
|
|
|
'nativeType': 'mozilla::WebGL2Context',
|
|
|
|
'headerFile': 'WebGL2Context.h',
|
2013-08-30 21:13:20 +04:00
|
|
|
'implicitJSContext': [ 'getSupportedExtensions' ],
|
2012-05-31 22:16:48 +04:00
|
|
|
},
|
|
|
|
|
2014-09-18 02:08:41 +04:00
|
|
|
'WebGLSampler': {
|
|
|
|
'nativeType': 'mozilla::WebGLSampler',
|
|
|
|
'headerFile': 'WebGLSampler.h'
|
|
|
|
},
|
|
|
|
|
2012-10-05 00:35:54 +04:00
|
|
|
'WebGLShader': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLShader',
|
|
|
|
'headerFile': 'WebGLShader.h'
|
2012-10-05 00:35:54 +04:00
|
|
|
},
|
|
|
|
|
2012-10-04 01:13:05 +04:00
|
|
|
'WebGLShaderPrecisionFormat': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLShaderPrecisionFormat',
|
|
|
|
'headerFile': 'WebGLShaderPrecisionFormat.h',
|
|
|
|
'wrapperCache': False
|
2012-06-16 00:25:51 +04:00
|
|
|
},
|
|
|
|
|
2014-09-18 02:08:41 +04:00
|
|
|
'WebGLSync': {
|
|
|
|
'nativeType': 'mozilla::WebGLSync',
|
|
|
|
'headerFile': 'WebGLSync.h'
|
|
|
|
},
|
|
|
|
|
2012-10-05 00:35:54 +04:00
|
|
|
'WebGLTexture': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLTexture',
|
|
|
|
'headerFile': 'WebGLTexture.h'
|
2012-10-05 00:35:54 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WebGLTimerQueryEXT': {
|
2015-05-27 14:12:00 +03:00
|
|
|
'nativeType': 'mozilla::WebGLTimerQuery',
|
|
|
|
'headerFile': 'WebGLTimerQuery.h'
|
|
|
|
},
|
|
|
|
|
2014-09-18 02:08:41 +04:00
|
|
|
'WebGLTransformFeedback': {
|
|
|
|
'nativeType': 'mozilla::WebGLTransformFeedback',
|
|
|
|
'headerFile': 'WebGLTransformFeedback.h'
|
|
|
|
},
|
|
|
|
|
2012-10-04 01:13:05 +04:00
|
|
|
'WebGLUniformLocation': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLUniformLocation',
|
2015-01-16 02:40:39 +03:00
|
|
|
'headerFile': 'WebGLUniformLocation.h'
|
2012-10-04 01:13:05 +04:00
|
|
|
},
|
|
|
|
|
2015-06-01 17:17:00 +03:00
|
|
|
'WebGLVertexArrayObjectOES': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLVertexArray',
|
|
|
|
'headerFile': 'WebGLVertexArray.h'
|
2013-06-28 01:07:21 +04:00
|
|
|
},
|
|
|
|
|
2014-02-20 21:35:35 +04:00
|
|
|
'WebrtcGlobalInformation': {
|
|
|
|
'nativeType': 'mozilla::dom::WebrtcGlobalInformation',
|
|
|
|
'headerFile': 'WebrtcGlobalInformation.h',
|
|
|
|
'wrapperCache': False,
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-10-08 19:51:42 +04:00
|
|
|
'Window': {
|
|
|
|
'nativeType': 'nsGlobalWindow',
|
|
|
|
'binaryNames': {
|
|
|
|
'postMessage': 'postMessageMoz',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2015-02-25 00:04:22 +03:00
|
|
|
'WindowProxy': {
|
2016-01-30 20:05:36 +03:00
|
|
|
'nativeType': 'nsPIDOMWindowOuter',
|
|
|
|
'headerFile': 'nsPIDOMWindow.h',
|
2013-05-31 01:46:39 +04:00
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2014-10-18 03:05:16 +04:00
|
|
|
'WindowRoot': {
|
|
|
|
'nativeType': 'nsWindowRoot'
|
|
|
|
},
|
|
|
|
|
2013-11-05 18:16:24 +04:00
|
|
|
'Worker': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerPrivate.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::WorkerPrivate',
|
|
|
|
},
|
|
|
|
|
2015-03-04 02:51:53 +03:00
|
|
|
'WorkerDebuggerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
'nativeType': 'mozilla::dom::workers::WorkerDebuggerGlobalScope',
|
|
|
|
'implicitJSContext': [
|
2016-03-24 00:55:07 +03:00
|
|
|
'dump', 'global', 'reportError', 'setConsoleEventHandler',
|
2015-03-04 02:51:53 +03:00
|
|
|
],
|
|
|
|
},
|
|
|
|
|
2013-11-05 18:16:26 +04:00
|
|
|
'WorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
2013-07-24 11:41:55 +04:00
|
|
|
'workers': True,
|
2013-11-05 18:16:26 +04:00
|
|
|
'concrete': False,
|
|
|
|
'implicitJSContext': [
|
2016-02-29 22:52:42 +03:00
|
|
|
'close',
|
2013-11-05 18:16:26 +04:00
|
|
|
],
|
2014-08-30 03:50:06 +04:00
|
|
|
# Rename a few things so we don't have both classes and methods
|
|
|
|
# with the same name
|
|
|
|
'binaryNames': {
|
|
|
|
'performance': 'getPerformance',
|
|
|
|
},
|
2014-01-26 16:35:17 +04:00
|
|
|
},
|
|
|
|
|
2012-05-10 23:24:59 +04:00
|
|
|
'XMLHttpRequest': [
|
2012-03-31 08:42:20 +04:00
|
|
|
{
|
2012-05-10 23:24:59 +04:00
|
|
|
'nativeType': 'nsXMLHttpRequest',
|
2016-03-09 22:28:33 +03:00
|
|
|
'implicitJSContext': [ 'send'],
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2013-11-05 18:16:26 +04:00
|
|
|
'XMLHttpRequestEventTarget': {
|
2012-03-31 08:42:20 +04:00
|
|
|
'nativeType': 'nsXHREventTarget',
|
|
|
|
'headerFile': 'nsXMLHttpRequest.h',
|
2012-11-27 13:20:04 +04:00
|
|
|
'concrete': False
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
|
2012-05-10 23:24:59 +04:00
|
|
|
'XMLHttpRequestUpload': [
|
2012-03-31 08:42:20 +04:00
|
|
|
{
|
2012-05-10 23:24:59 +04:00
|
|
|
'nativeType': 'nsXMLHttpRequestUpload',
|
2012-11-27 13:20:04 +04:00
|
|
|
'headerFile': 'nsXMLHttpRequest.h'
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
{
|
|
|
|
'workers': True,
|
|
|
|
}],
|
|
|
|
|
2012-12-04 05:26:16 +04:00
|
|
|
'XMLSerializer': {
|
|
|
|
'nativeType': 'nsDOMSerializer',
|
|
|
|
},
|
|
|
|
|
2012-12-14 23:10:49 +04:00
|
|
|
'XPathEvaluator': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2014-06-27 23:39:50 +04:00
|
|
|
'XPathExpression': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2014-10-10 16:21:54 +04:00
|
|
|
'XSLTProcessor': {
|
|
|
|
'nativeType': 'txMozillaXSLTProcessor',
|
|
|
|
},
|
|
|
|
|
2013-03-26 19:31:54 +04:00
|
|
|
'XULDocument': {
|
|
|
|
'headerFile': 'XULDocument.h'
|
|
|
|
},
|
|
|
|
|
2013-01-29 21:51:55 +04:00
|
|
|
'XULElement': {
|
|
|
|
'nativeType': 'nsXULElement',
|
|
|
|
},
|
|
|
|
|
2012-05-23 20:44:48 +04:00
|
|
|
####################################
|
|
|
|
# Test Interfaces of various sorts #
|
|
|
|
####################################
|
|
|
|
|
|
|
|
'TestInterface' : {
|
2012-10-18 05:17:16 +04:00
|
|
|
# Keep this in sync with TestExampleInterface
|
2012-05-23 20:44:48 +04:00
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-05-23 20:44:48 +04:00
|
|
|
'register': False,
|
2012-05-19 01:25:47 +04:00
|
|
|
'binaryNames': { 'methodRenamedFrom': 'methodRenamedTo',
|
|
|
|
'attributeGetterRenamedFrom': 'attributeGetterRenamedTo',
|
2013-03-04 23:08:24 +04:00
|
|
|
'attributeRenamedFrom': 'attributeRenamedTo' }
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestParentInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
2012-05-30 07:45:18 +04:00
|
|
|
},
|
|
|
|
|
2012-12-14 23:10:50 +04:00
|
|
|
'TestChildInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2013-04-04 06:22:15 +04:00
|
|
|
'TestCImplementedInterface' : {
|
|
|
|
'headerFile': 'TestCImplementedInterface.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestCImplementedInterface2' : {
|
|
|
|
'headerFile': 'TestCImplementedInterface.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2013-03-19 03:08:50 +04:00
|
|
|
'TestJSImplInterface' : {
|
|
|
|
# Keep this in sync with TestExampleInterface
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False,
|
|
|
|
'binaryNames': { 'methodRenamedFrom': 'methodRenamedTo',
|
|
|
|
'attributeGetterRenamedFrom': 'attributeGetterRenamedTo',
|
|
|
|
'attributeRenamedFrom': 'attributeRenamedTo' }
|
|
|
|
},
|
|
|
|
|
2013-04-04 06:22:15 +04:00
|
|
|
'TestJSImplInterface2' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestJSImplInterface3' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-04-04 06:22:16 +04:00
|
|
|
'TestJSImplInterface4' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-04-04 06:22:16 +04:00
|
|
|
'TestJSImplInterface5' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestJSImplInterface6' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-05-01 00:30:25 +04:00
|
|
|
'TestNavigator' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register' : False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestNavigatorWithConstructor' : {
|
|
|
|
'headerFile': 'TestJSImplGenBinding.h',
|
|
|
|
'register' : False
|
|
|
|
},
|
|
|
|
|
2012-05-30 07:45:18 +04:00
|
|
|
'TestExternalInterface' : {
|
2012-06-16 00:25:50 +04:00
|
|
|
'nativeType': 'mozilla::dom::TestExternalInterface',
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-07-19 22:48:58 +04:00
|
|
|
'register': False
|
2012-06-16 00:25:50 +04:00
|
|
|
},
|
2012-05-30 07:45:18 +04:00
|
|
|
|
2012-06-16 00:25:50 +04:00
|
|
|
'TestNonWrapperCacheInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
2012-07-19 22:48:58 +04:00
|
|
|
|
2012-07-19 22:48:58 +04:00
|
|
|
'IndirectlyImplementedInterface': {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
2012-07-19 22:48:58 +04:00
|
|
|
'castable': False,
|
|
|
|
'concrete': False
|
2012-07-19 22:48:58 +04:00
|
|
|
},
|
2012-07-27 08:09:10 +04:00
|
|
|
|
|
|
|
'OnlyForUseInConstructor' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2013-03-13 22:07:49 +04: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 17:46:20 +04:00
|
|
|
|
|
|
|
'TestIndexedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-09-05 17:21:33 +04:00
|
|
|
'register': False
|
2012-05-22 17:46:20 +04:00
|
|
|
},
|
|
|
|
|
|
|
|
'TestNamedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-11-06 20:00:57 +04:00
|
|
|
'TestIndexedGetterAndSetterAndNamedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-05-22 17:46:20 +04:00
|
|
|
'TestIndexedAndNamedGetterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
2012-09-05 17:21:33 +04:00
|
|
|
'register': False
|
2012-05-22 17:46:20 +04: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 05:17:16 +04:00
|
|
|
|
2012-10-25 00:10:49 +04:00
|
|
|
'TestRenamedInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
'nativeType': 'nsRenamedInterface'
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:02 +04: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 16:36:20 +04:00
|
|
|
'TestCppKeywordNamedMethodsInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
2012-10-18 05:17:16 +04:00
|
|
|
'TestExampleInterface' : {
|
|
|
|
# Keep this in sync with TestInterface
|
|
|
|
'headerFile': 'TestExampleInterface-example.h',
|
|
|
|
'register': False,
|
|
|
|
'binaryNames': { 'methodRenamedFrom': 'methodRenamedTo',
|
|
|
|
'attributeGetterRenamedFrom': 'attributeGetterRenamedTo',
|
|
|
|
'attributeRenamedFrom': 'attributeRenamedTo' }
|
2012-11-09 20:24:32 +04:00
|
|
|
},
|
|
|
|
|
|
|
|
'TestExampleProxyInterface' : {
|
|
|
|
'headerFile': 'TestExampleProxyInterface-example.h',
|
2012-12-22 12:27:27 +04:00
|
|
|
'register': False
|
2015-09-28 21:25:04 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
'TestDeprecatedInterface' : {
|
|
|
|
# Keep this in sync with TestExampleInterface
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
2015-11-25 23:48:09 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
'TestInterfaceWithPromiseConstructorArg' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2016-05-16 12:04:38 +03:00
|
|
|
'TestSecureContextInterface' : {
|
|
|
|
# Keep this in sync with TestExampleInterface
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
2016-06-02 17:34:39 +03:00
|
|
|
|
|
|
|
'TestNamespace' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestRenamedNamespace' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2016-06-02 17:34:39 +03:00
|
|
|
'TestProtoObjectHackedNamespace' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2012-03-31 08:42:20 +04:00
|
|
|
}
|
2012-05-31 22:16:48 +04:00
|
|
|
|
|
|
|
# These are temporary, until they've been converted to use new DOM bindings
|
2012-11-22 15:09:41 +04:00
|
|
|
def addExternalIface(iface, nativeType=None, headerFile=None,
|
|
|
|
notflattened=False):
|
2012-10-06 11:23:25 +04:00
|
|
|
if iface in DOMInterfaces:
|
|
|
|
raise Exception('Interface declared both as WebIDL and External interface')
|
2012-05-31 22:16:48 +04:00
|
|
|
domInterface = {
|
2012-07-19 22:48:58 +04:00
|
|
|
'concrete': False
|
2012-05-31 22:16:48 +04:00
|
|
|
}
|
2012-08-28 21:10:09 +04:00
|
|
|
if not nativeType is None:
|
|
|
|
domInterface['nativeType'] = nativeType
|
2012-05-31 22:16:48 +04:00
|
|
|
if not headerFile is None:
|
|
|
|
domInterface['headerFile'] = headerFile
|
2012-11-22 15:09:41 +04:00
|
|
|
domInterface['notflattened'] = notflattened
|
2012-05-31 22:16:48 +04:00
|
|
|
DOMInterfaces[iface] = domInterface
|
|
|
|
|
2013-10-08 19:51:42 +04:00
|
|
|
addExternalIface('ApplicationCache', nativeType='nsIDOMOfflineResourceList')
|
2013-03-02 10:08:42 +04:00
|
|
|
addExternalIface('Counter')
|
2012-08-24 08:08:09 +04:00
|
|
|
addExternalIface('CSSRule')
|
2013-05-17 03:40:23 +04:00
|
|
|
addExternalIface('RTCDataChannel', nativeType='nsIDOMDataChannel')
|
2012-06-13 19:14:15 +04:00
|
|
|
addExternalIface('HitRegionOptions', nativeType='nsISupports')
|
2013-01-02 23:30:02 +04:00
|
|
|
addExternalIface('imgINotificationObserver', nativeType='imgINotificationObserver')
|
|
|
|
addExternalIface('imgIRequest', nativeType='imgIRequest', notflattened=True)
|
2013-02-18 15:59:08 +04:00
|
|
|
addExternalIface('MenuBuilder', nativeType='nsIMenuBuilder', notflattened=True)
|
2013-01-29 21:51:55 +04:00
|
|
|
addExternalIface('MozControllers', nativeType='nsIControllers')
|
|
|
|
addExternalIface('MozFrameLoader', nativeType='nsIFrameLoader', notflattened=True)
|
2013-03-26 19:31:54 +04:00
|
|
|
addExternalIface('MozObserver', nativeType='nsIObserver', notflattened=True)
|
2013-01-29 21:51:55 +04:00
|
|
|
addExternalIface('MozRDFCompositeDataSource', nativeType='nsIRDFCompositeDataSource',
|
|
|
|
notflattened=True)
|
|
|
|
addExternalIface('MozRDFResource', nativeType='nsIRDFResource', notflattened=True)
|
2014-10-15 00:15:21 +04:00
|
|
|
addExternalIface('MozTreeView', nativeType='nsITreeView',
|
2015-01-26 15:05:15 +03:00
|
|
|
headerFile='nsITreeView.h', notflattened=True)
|
2013-09-11 03:03:56 +04:00
|
|
|
addExternalIface('MozWakeLockListener', headerFile='nsIDOMWakeLockListener.h')
|
2013-01-29 21:51:55 +04:00
|
|
|
addExternalIface('MozXULTemplateBuilder', nativeType='nsIXULTemplateBuilder')
|
2014-02-06 08:37:30 +04:00
|
|
|
addExternalIface('nsIBrowserDOMWindow', nativeType='nsIBrowserDOMWindow',
|
|
|
|
notflattened=True)
|
2013-03-28 23:41:32 +04:00
|
|
|
addExternalIface('nsIControllers', nativeType='nsIControllers')
|
2013-10-08 19:51:42 +04:00
|
|
|
addExternalIface('nsIDOMCrypto', nativeType='nsIDOMCrypto',
|
|
|
|
headerFile='Crypto.h')
|
2013-04-13 11:05:51 +04:00
|
|
|
addExternalIface('nsIInputStreamCallback', nativeType='nsIInputStreamCallback',
|
|
|
|
headerFile='nsIAsyncInputStream.h')
|
2014-10-08 20:15:22 +04:00
|
|
|
addExternalIface('nsIFile', nativeType='nsIFile', notflattened=True)
|
2015-04-16 00:19:21 +03:00
|
|
|
addExternalIface('nsILoadGroup', nativeType='nsILoadGroup',
|
|
|
|
headerFile='nsILoadGroup.h', notflattened=True)
|
2014-02-06 08:37:30 +04:00
|
|
|
addExternalIface('nsIMessageBroadcaster', nativeType='nsIMessageBroadcaster',
|
|
|
|
headerFile='nsIMessageManager.h', notflattened=True)
|
2013-12-17 18:12:33 +04:00
|
|
|
addExternalIface('nsISelectionListener', nativeType='nsISelectionListener')
|
2013-01-02 23:30:02 +04:00
|
|
|
addExternalIface('nsIStreamListener', nativeType='nsIStreamListener', notflattened=True)
|
2012-12-24 02:33:33 +04:00
|
|
|
addExternalIface('nsISupports', nativeType='nsISupports')
|
2013-12-06 01:28:21 +04:00
|
|
|
addExternalIface('nsIDocShell', nativeType='nsIDocShell', notflattened=True)
|
2013-02-19 09:54:23 +04:00
|
|
|
addExternalIface('nsIEditor', nativeType='nsIEditor', notflattened=True)
|
2013-04-09 16:43:25 +04:00
|
|
|
addExternalIface('nsIVariant', nativeType='nsIVariant', notflattened=True)
|
2014-10-15 00:15:21 +04:00
|
|
|
addExternalIface('nsIScriptableRegion', nativeType='nsIScriptableRegion', notflattened=True)
|
2012-12-04 05:26:16 +04:00
|
|
|
addExternalIface('OutputStream', nativeType='nsIOutputStream',
|
|
|
|
notflattened=True)
|
2012-10-09 16:31:24 +04:00
|
|
|
addExternalIface('Principal', nativeType='nsIPrincipal',
|
2012-11-22 15:09:41 +04:00
|
|
|
headerFile='nsIPrincipal.h', notflattened=True)
|
2013-09-09 07:28:49 +04:00
|
|
|
addExternalIface('StackFrame', nativeType='nsIStackFrame',
|
|
|
|
headerFile='nsIException.h', notflattened=True)
|
2012-11-22 15:09:41 +04:00
|
|
|
addExternalIface('URI', nativeType='nsIURI', headerFile='nsIURI.h',
|
|
|
|
notflattened=True)
|
2013-03-26 19:31:54 +04:00
|
|
|
addExternalIface('XULCommandDispatcher')
|