2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode:Python; tab-width:8; indent-tabs-mode:nil -*- */
|
2014-10-20 08:55:43 +04:00
|
|
|
# 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.
|
|
|
|
#
|
2016-07-02 01:47:30 +03:00
|
|
|
# The WebIDL interfaces are defined in dom/webidl. For interfaces requiring
|
|
|
|
# special handling, there are corresponding entries in the configuration table
|
2016-07-08 07:37:55 +03:00
|
|
|
# below. The configuration table maps each interface name to a |descriptor|.
|
2012-03-31 08:42:20 +04:00
|
|
|
#
|
|
|
|
# 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
|
2016-07-08 07:37:55 +03:00
|
|
|
# name for external 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
|
2019-06-21 09:50:52 +03:00
|
|
|
# interfaces. Defaults to True for leaf interfaces and
|
|
|
|
# interfaces with constructors, false otherwise.
|
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-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.
|
2016-07-08 07:37:55 +03:00
|
|
|
# Defaults to true for non-callback descriptors.
|
2012-03-31 08:42:20 +04:00
|
|
|
#
|
2015-02-26 17:40:08 +03: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
|
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
|
|
|
#
|
2016-07-08 07:37:55 +03:00
|
|
|
# The value for an interface is a dictionary which specifies the
|
|
|
|
# descriptor to use when generating that interface's binding.
|
2012-03-31 08:42:20 +04:00
|
|
|
|
|
|
|
DOMInterfaces = {
|
|
|
|
|
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-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
|
|
|
},
|
|
|
|
|
2018-06-27 12:31:02 +03:00
|
|
|
'AudioWorklet': {
|
|
|
|
'nativeType': 'mozilla::dom::Worklet',
|
|
|
|
},
|
|
|
|
|
2018-10-08 22:15:13 +03:00
|
|
|
'AudioWorkletGlobalScope': {
|
|
|
|
'implicitJSContext': [ 'registerProcessor' ],
|
|
|
|
},
|
|
|
|
|
2013-06-01 12:53:00 +04:00
|
|
|
'BarProp': {
|
|
|
|
'headerFile': 'mozilla/dom/BarProps.h',
|
|
|
|
},
|
|
|
|
|
2016-12-21 12:52:50 +03:00
|
|
|
'BaseAudioContext': {
|
|
|
|
'nativeType': 'mozilla::dom::AudioContext',
|
|
|
|
},
|
|
|
|
|
2013-02-05 16:54:49 +04:00
|
|
|
'BatteryManager': {
|
|
|
|
'nativeType': 'mozilla::dom::battery::BatteryManager',
|
|
|
|
'headerFile': 'BatteryManager.h'
|
|
|
|
},
|
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'BrowsingContext': {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
|
2015-03-02 16:20:00 +03:00
|
|
|
'Cache': {
|
2017-08-11 04:04:55 +03:00
|
|
|
'implicitJSContext': [ 'add', 'addAll', 'match', 'matchAll', 'put',
|
|
|
|
'delete', 'keys' ],
|
2015-03-02 16:20:00 +03:00
|
|
|
'nativeType': 'mozilla::dom::cache::Cache',
|
|
|
|
},
|
|
|
|
|
|
|
|
'CacheStorage': {
|
2017-08-11 04:04:55 +03:00
|
|
|
'implicitJSContext': [ 'match' ],
|
2015-03-02 16:20:00 +03:00
|
|
|
'nativeType': 'mozilla::dom::cache::CacheStorage',
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'CanvasRenderingContext2D': {
|
2012-06-13 19:14:15 +04:00
|
|
|
'implicitJSContext': [
|
2017-08-22 09:23:41 +03:00
|
|
|
'createImageData', 'getImageData', 'isPointInPath', 'isPointInStroke'
|
2012-06-13 19:14:15 +04:00
|
|
|
],
|
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
|
|
|
|
2017-09-07 00:38:23 +03:00
|
|
|
'ChannelWrapper': {
|
|
|
|
'nativeType': 'mozilla::extensions::ChannelWrapper',
|
|
|
|
},
|
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'Client' : {
|
|
|
|
'concrete': True,
|
2013-01-04 21:02:14 +04:00
|
|
|
},
|
|
|
|
|
2018-05-31 18:57:57 +03:00
|
|
|
'Clipboard' : {
|
|
|
|
'implicitJSContext' : ['write', 'writeText', 'read', 'readText'],
|
|
|
|
},
|
|
|
|
|
2019-12-07 21:59:14 +03:00
|
|
|
'ClonedErrorHolder': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2016-06-04 10:32:51 +03:00
|
|
|
'console': {
|
|
|
|
'nativeType': 'mozilla::dom::Console',
|
2014-02-28 03:39:00 +04:00
|
|
|
},
|
|
|
|
|
2018-01-04 21:19:43 +03:00
|
|
|
'ConsoleInstance': {
|
2018-05-22 12:34:41 +03:00
|
|
|
'implicitJSContext': ['clear', 'count', 'countReset', 'groupEnd', 'time', 'timeEnd'],
|
2018-01-04 21:19:43 +03:00
|
|
|
},
|
|
|
|
|
2013-06-11 00:07:55 +04:00
|
|
|
'ConvolverNode': {
|
|
|
|
'implicitJSContext': [ 'buffer' ],
|
|
|
|
},
|
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'Credential' : {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
|
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-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
|
|
|
},
|
|
|
|
|
2017-01-13 18:41:03 +03:00
|
|
|
'CSSConditionRule': {
|
|
|
|
'nativeType': 'mozilla::css::ConditionRule',
|
|
|
|
'headerFile': 'mozilla/css/GroupRule.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'CSSGroupingRule': {
|
|
|
|
'nativeType': 'mozilla::css::GroupRule',
|
|
|
|
},
|
|
|
|
|
2015-05-04 17:28:00 +03:00
|
|
|
'CSSLexer': {
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2017-01-13 18:41:03 +03:00
|
|
|
'CSSRule': {
|
|
|
|
'nativeType': 'mozilla::css::Rule'
|
|
|
|
},
|
|
|
|
|
2012-08-24 08:08:09 +04:00
|
|
|
'CSSStyleDeclaration': {
|
2019-05-24 13:43:37 +03:00
|
|
|
'nativeType': 'nsICSSDeclaration',
|
|
|
|
# Concrete because of the font-face mess.
|
|
|
|
'concrete': True,
|
2012-08-24 08:08:09 +04:00
|
|
|
},
|
|
|
|
|
2017-01-13 18:41:03 +03:00
|
|
|
'CSSStyleRule': {
|
|
|
|
'nativeType': 'mozilla::BindingStyleRule',
|
|
|
|
},
|
|
|
|
|
2013-03-17 18:45:01 +04:00
|
|
|
'CSSStyleSheet': {
|
2016-10-14 14:25:38 +03:00
|
|
|
'nativeType': 'mozilla::StyleSheet',
|
2013-03-17 18:45:01 +04:00
|
|
|
},
|
|
|
|
|
2018-05-18 23:18:19 +03:00
|
|
|
'CustomElementRegistry': {
|
|
|
|
'implicitJSContext': ['define'],
|
|
|
|
},
|
|
|
|
|
2019-06-17 07:36:29 +03:00
|
|
|
'DebuggerNotification': {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
'CallbackDebuggerNotification': {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
|
2013-11-05 18:16:26 +04:00
|
|
|
'DedicatedWorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
2015-11-19 01:12:23 +03:00
|
|
|
'DominatorTree': {
|
|
|
|
'nativeType': 'mozilla::devtools::DominatorTree'
|
|
|
|
},
|
|
|
|
|
2013-09-09 07:28:49 +04:00
|
|
|
'DOMException': {
|
2016-03-22 20:50:35 +03:00
|
|
|
'implicitJSContext': [ 'filename', 'lineNumber', 'stack' ],
|
2013-09-09 07:28:49 +04:00
|
|
|
},
|
|
|
|
|
2019-06-25 22:43:50 +03:00
|
|
|
'DOMLocalization': {
|
|
|
|
'implicitJSContext': [ 'getAttributes' ],
|
|
|
|
},
|
|
|
|
|
2014-06-24 22:15:00 +04:00
|
|
|
'DOMMatrixReadOnly': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMMatrix.h',
|
|
|
|
},
|
|
|
|
|
2013-09-20 14:21:03 +04:00
|
|
|
'DOMPointReadOnly': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMPoint.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'DOMRectList': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMRect.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'DOMRectReadOnly': {
|
|
|
|
'headerFile': 'mozilla/dom/DOMRect.h',
|
|
|
|
},
|
|
|
|
|
2014-10-11 17:46:01 +04:00
|
|
|
'DOMRequest': {
|
|
|
|
'implicitJSContext': [ 'then' ],
|
2019-05-24 13:43:37 +03:00
|
|
|
'concrete': True,
|
2014-10-11 17:46:01 +04:00
|
|
|
},
|
|
|
|
|
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
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'Element': {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
|
2013-11-05 18:16:26 +04:00
|
|
|
'Event': {
|
2016-11-16 22:10:22 +03:00
|
|
|
'implicitJSContext': [ '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': {
|
2016-04-07 15:49:12 +03:00
|
|
|
'jsImplParent': 'mozilla::DOMEventTargetHelper',
|
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',
|
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',
|
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',
|
|
|
|
},
|
|
|
|
|
2015-02-19 04:34:29 +03:00
|
|
|
'FetchEvent': {
|
|
|
|
'headerFile': 'ServiceWorkerEvents.h',
|
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
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'FileSystemEntry': {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
|
2015-06-27 04:41:10 +03:00
|
|
|
'FontFaceSet': {
|
|
|
|
'implicitJSContext': [ 'load' ],
|
|
|
|
},
|
|
|
|
|
2015-03-31 06:05:33 +03:00
|
|
|
'FontFaceSetIterator': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2017-08-19 10:55:00 +03:00
|
|
|
'FrameLoader': {
|
|
|
|
'nativeType': 'nsFrameLoader',
|
|
|
|
},
|
|
|
|
|
2017-02-22 22:05:50 +03:00
|
|
|
'FuzzingFunctions': {
|
|
|
|
# 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/FuzzingFunctions.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-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',
|
2019-05-24 13:43:37 +03:00
|
|
|
'concrete': True,
|
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',
|
2019-05-24 13:43:37 +03:00
|
|
|
'concrete': True,
|
2012-12-26 06:00:47 +04:00
|
|
|
},
|
|
|
|
|
2012-11-26 18:19:02 +04:00
|
|
|
'HTMLElement': {
|
|
|
|
'nativeType': 'nsGenericHTMLElement',
|
|
|
|
},
|
|
|
|
|
2013-02-08 16:20:11 +04:00
|
|
|
'HTMLHeadElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
|
|
|
'HTMLHtmlElement': {
|
|
|
|
'nativeType': 'mozilla::dom::HTMLSharedElement'
|
|
|
|
},
|
|
|
|
|
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-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' ],
|
2019-05-24 13:43:37 +03:00
|
|
|
'concrete': True,
|
2013-08-01 02:28:13 +04:00
|
|
|
},
|
|
|
|
|
|
|
|
'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-09-28 15:25:46 +04:00
|
|
|
'IDBKeyRange': {
|
2015-09-04 22:12:52 +03:00
|
|
|
'wrapperCache': False,
|
2019-05-24 13:43:37 +03:00
|
|
|
'concrete': True,
|
2015-09-04 22:12:52 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
'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': {
|
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'
|
|
|
|
},
|
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'IDBRequest': {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
|
2013-03-12 21:45:59 +04:00
|
|
|
'IDBVersionChangeEvent': {
|
|
|
|
'headerFile': 'IDBEvents.h',
|
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
2018-01-11 07:38:01 +03:00
|
|
|
'InspectorFontFace': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2016-10-28 17:24:00 +03:00
|
|
|
'IntersectionObserver': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMIntersectionObserver',
|
|
|
|
},
|
|
|
|
|
|
|
|
'IntersectionObserverEntry': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMIntersectionObserverEntry',
|
|
|
|
'headerFile': 'DOMIntersectionObserver.h',
|
|
|
|
},
|
|
|
|
|
2019-09-20 04:50:49 +03:00
|
|
|
'KeyEvent' : {
|
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2015-03-25 17:35:59 +03:00
|
|
|
'LegacyMozTCPSocket': {
|
|
|
|
'headerFile': 'TCPSocket.h',
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2019-06-25 22:39:53 +03:00
|
|
|
'Localization': {
|
2019-06-25 22:43:50 +03:00
|
|
|
'implicitJSContext': [ 'formatValue', 'formatValues', 'formatMessages' ],
|
2019-06-25 22:39:53 +03:00
|
|
|
'nativeType': 'mozilla::intl::Localization',
|
|
|
|
},
|
|
|
|
|
Bug 1322235: Part 1 - Add native MatchPattern and MatchGlob bindings. r=billm,aswan
Bill, can you please review the binding code, and the general sanity of the
platform code. Andrew and zombie, can you please matching algorithms and
tests.
Change summary:
The existing JavaScript matching code works well overall, but it needs to be
called a lot, particularly from hot code paths. In most cases, the overhead of
the matching code on its own adds up enough to cause a problem. When we have
to call out to JavaScript via XPConnect to make a policy decision, it adds up
even more.
These classes solve both of these problems by a) being very fast, and b) being
accessible directly from C++. They are particularly optimized for the common
cases where only literal or prefix matches are required, and they take special
steps to avoid virtual calls wherever possible, and caching computed URL
values so that they can be reused across many match operations without
additional overhead.
MozReview-Commit-ID: BZzPZDQRnl
--HG--
rename : toolkit/modules/tests/xpcshell/test_MatchPattern.js => toolkit/components/extensions/test/xpcshell/test_MatchPattern.js
extra : rebase_source : c93c4c6c36460eb5ad0fc3aa86ad42a72e76bb6c
2017-05-25 00:57:29 +03:00
|
|
|
'MatchGlob': {
|
|
|
|
'nativeType': 'mozilla::extensions::MatchGlob',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MatchPattern': {
|
|
|
|
'nativeType': 'mozilla::extensions::MatchPattern',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MatchPatternSet': {
|
|
|
|
'headerFile': 'mozilla/extensions/MatchPattern.h',
|
|
|
|
'nativeType': 'mozilla::extensions::MatchPatternSet',
|
|
|
|
},
|
|
|
|
|
2018-05-31 15:32:51 +03:00
|
|
|
'MediaCapabilitiesInfo' : {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
2012-09-13 20:04:31 +04:00
|
|
|
'MediaStreamList': {
|
|
|
|
'headerFile': 'MediaStreamList.h',
|
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
2018-04-19 00:02:15 +03:00
|
|
|
'MozDocumentMatcher': {
|
|
|
|
'nativeType': 'mozilla::extensions::MozDocumentMatcher',
|
|
|
|
'headerFile': 'mozilla/extensions/WebExtensionContentScript.h',
|
|
|
|
},
|
|
|
|
|
2018-08-01 07:50:34 +03:00
|
|
|
'MozDocumentObserver': {
|
|
|
|
'nativeType': 'mozilla::extensions::DocumentObserver',
|
|
|
|
},
|
|
|
|
|
Bug 1463587: Part 3 - Add bindings for SharedMap, and expose it via process message managers. r=erahm,baku,bz
This is the first basic implementation of a shared-memory key-value store for
JS message managers. It has one read-write endpoint in the parent process, and
separate read-only endpoints for each child-process message manager.
Changes to the parent endpoint are broadcast to the children as snapshots.
Each snapshot triggers a "change" event with a list of changed keys.
It currently has the following limitations:
- It only supports basic structured clone data. There's no support for blobs,
input streams, message ports... Blob support will be added in a follow-up
patch.
- Changes are currently only broadcast to child endpoints when flush() is
explicitly called in the parent, or when new child processes are launched.
In a follow-up, this will be changed to automatically flush after changes
when the event loop is idle.
- All set operations clone their inputs synchronously, which means that
there's no trivial way for callers to batch multiple changes to a single key
without some additional effort. It might be useful to add a
delayed-serialization option to the .set() call in a follow-up, for callers
who are sure they know what they're doing.
MozReview-Commit-ID: IM8a3UgejXU
--HG--
extra : rebase_source : 66c92d538a5485349bc789028fdc3a6806bc5d5a
extra : source : 2ebaf5f8c6055b11b11d7ec334d54ee941115d48
2018-06-30 00:55:27 +03:00
|
|
|
'MozSharedMap': {
|
|
|
|
'nativeType': 'mozilla::dom::ipc::SharedMap',
|
2019-05-24 13:43:37 +03:00
|
|
|
'concrete': True,
|
Bug 1463587: Part 3 - Add bindings for SharedMap, and expose it via process message managers. r=erahm,baku,bz
This is the first basic implementation of a shared-memory key-value store for
JS message managers. It has one read-write endpoint in the parent process, and
separate read-only endpoints for each child-process message manager.
Changes to the parent endpoint are broadcast to the children as snapshots.
Each snapshot triggers a "change" event with a list of changed keys.
It currently has the following limitations:
- It only supports basic structured clone data. There's no support for blobs,
input streams, message ports... Blob support will be added in a follow-up
patch.
- Changes are currently only broadcast to child endpoints when flush() is
explicitly called in the parent, or when new child processes are launched.
In a follow-up, this will be changed to automatically flush after changes
when the event loop is idle.
- All set operations clone their inputs synchronously, which means that
there's no trivial way for callers to batch multiple changes to a single key
without some additional effort. It might be useful to add a
delayed-serialization option to the .set() call in a follow-up, for callers
who are sure they know what they're doing.
MozReview-Commit-ID: IM8a3UgejXU
--HG--
extra : rebase_source : 66c92d538a5485349bc789028fdc3a6806bc5d5a
extra : source : 2ebaf5f8c6055b11b11d7ec334d54ee941115d48
2018-06-30 00:55:27 +03:00
|
|
|
},
|
|
|
|
|
|
|
|
'MozWritableSharedMap': {
|
|
|
|
'headerFile': 'mozilla/dom/ipc/SharedMap.h',
|
|
|
|
'nativeType': 'mozilla::dom::ipc::WritableSharedMap',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MozSharedMapChangeEvent': {
|
|
|
|
'nativeType': 'mozilla::dom::ipc::SharedMapChangeEvent',
|
|
|
|
},
|
|
|
|
|
2017-08-24 11:52:52 +03:00
|
|
|
'MozStorageAsyncStatementParams': {
|
|
|
|
'headerFile': 'mozilla/storage/mozStorageAsyncStatementParams.h',
|
|
|
|
'nativeType': 'mozilla::storage::AsyncStatementParams',
|
|
|
|
},
|
|
|
|
|
|
|
|
'MozStorageStatementParams': {
|
|
|
|
'headerFile': 'mozilla/storage/mozStorageStatementParams.h',
|
|
|
|
'nativeType': 'mozilla::storage::StatementParams',
|
|
|
|
},
|
|
|
|
|
2017-08-22 10:25:37 +03:00
|
|
|
'MozStorageStatementRow': {
|
|
|
|
'headerFile': 'mozilla/storage/mozStorageStatementRow.h',
|
|
|
|
'nativeType': 'mozilla::storage::StatementRow',
|
|
|
|
},
|
2013-09-11 03:03:56 +04:00
|
|
|
|
2018-04-23 06:32:11 +03:00
|
|
|
'MozQueryInterface': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
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-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',
|
2019-05-24 13:43:37 +03:00
|
|
|
'concrete': True,
|
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
|
|
|
|
},
|
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'PerformanceResourceTiming' : {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
|
|
|
|
'PlacesBookmark' : {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
|
|
|
|
'PlacesEvent' : {
|
|
|
|
'concrete': True,
|
|
|
|
},
|
|
|
|
|
2017-08-23 23:47:54 +03:00
|
|
|
'TransceiverImpl': {
|
|
|
|
'nativeType': 'mozilla::TransceiverImpl',
|
|
|
|
'headerFile': 'TransceiverImpl.h',
|
|
|
|
'wrapperCache': False
|
|
|
|
},
|
|
|
|
|
2013-07-09 18:54:05 +04:00
|
|
|
'Plugin': {
|
|
|
|
'headerFile' : 'nsPluginArray.h',
|
|
|
|
'nativeType': 'nsPluginElement',
|
|
|
|
},
|
|
|
|
|
|
|
|
'PluginArray': {
|
|
|
|
'nativeType': 'nsPluginArray',
|
|
|
|
},
|
|
|
|
|
2015-08-04 02:24:35 +03:00
|
|
|
'PluginTag': {
|
|
|
|
'nativeType': 'nsIPluginTag',
|
|
|
|
},
|
|
|
|
|
2018-10-01 09:09:44 +03:00
|
|
|
'Policy': {
|
|
|
|
'nativeType': 'mozilla::dom::FeaturePolicy',
|
|
|
|
},
|
|
|
|
|
2016-02-10 01:40:31 +03:00
|
|
|
'PromiseNativeHandler': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2015-04-11 06:19:28 +03:00
|
|
|
'PushEvent': {
|
|
|
|
'headerFile': 'ServiceWorkerEvents.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'PushMessageData': {
|
|
|
|
'headerFile': 'ServiceWorkerEvents.h',
|
|
|
|
},
|
|
|
|
|
2013-02-07 16:09:41 +04:00
|
|
|
'Range': {
|
|
|
|
'nativeType': 'nsRange',
|
|
|
|
},
|
|
|
|
|
2014-07-25 04:53:03 +04:00
|
|
|
'Request': {
|
2017-08-11 04:04:54 +03:00
|
|
|
'implicitJSContext': [ 'arrayBuffer', 'blob', 'formData', 'json', 'text' ],
|
2014-07-25 04:53:03 +04:00
|
|
|
},
|
|
|
|
|
2019-04-26 23:29:14 +03:00
|
|
|
'ResizeObserverEntry': {
|
|
|
|
'nativeType': 'mozilla::dom::ResizeObserverEntry',
|
|
|
|
'headerFile': 'mozilla/dom/ResizeObserver.h',
|
|
|
|
},
|
|
|
|
|
2019-05-08 23:54:36 +03:00
|
|
|
'ResizeObserverSize': {
|
|
|
|
'nativeType': 'mozilla::dom::ResizeObserverSize',
|
|
|
|
'headerFile': 'mozilla/dom/ResizeObserver.h',
|
|
|
|
},
|
|
|
|
|
2014-07-25 04:50:32 +04:00
|
|
|
'Response': {
|
2017-08-11 04:04:55 +03:00
|
|
|
'implicitJSContext': [ 'arrayBuffer', 'blob', 'formData', 'json', 'text',
|
|
|
|
'clone', 'cloneUnfiltered' ],
|
2014-07-25 04:50:32 +04:00
|
|
|
},
|
|
|
|
|
2018-02-10 01:36:48 +03:00
|
|
|
'RTCDataChannel': {
|
|
|
|
'nativeType': 'nsDOMDataChannel',
|
|
|
|
},
|
|
|
|
|
2019-11-08 02:07:05 +03:00
|
|
|
'RTCStatsReport': {
|
|
|
|
'headerFile': 'RTCStatsReport.h'
|
|
|
|
},
|
|
|
|
|
2012-10-14 11:40:11 +04:00
|
|
|
'Screen': {
|
|
|
|
'nativeType': 'nsScreen',
|
|
|
|
},
|
|
|
|
|
2014-05-14 01:28:01 +04:00
|
|
|
'ServiceWorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
},
|
|
|
|
|
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-11-05 18:16:26 +04:00
|
|
|
'SharedWorkerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
},
|
|
|
|
|
2017-08-28 05:51:36 +03:00
|
|
|
'StreamFilter': {
|
|
|
|
'nativeType': 'mozilla::extensions::StreamFilter',
|
|
|
|
},
|
|
|
|
|
|
|
|
'StreamFilterDataEvent': {
|
|
|
|
'nativeType': 'mozilla::extensions::StreamFilterDataEvent',
|
|
|
|
'headerFile': 'mozilla/extensions/StreamFilterEvents.h',
|
|
|
|
},
|
|
|
|
|
2017-05-21 01:09:24 +03:00
|
|
|
'StructuredCloneHolder': {
|
|
|
|
'nativeType': 'mozilla::dom::StructuredCloneBlob',
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2013-03-17 18:45:01 +04:00
|
|
|
'StyleSheet': {
|
2016-10-14 14:25:38 +03:00
|
|
|
'nativeType': 'mozilla::StyleSheet',
|
|
|
|
'headerFile': 'mozilla/StyleSheetInlines.h',
|
2013-03-17 18:45:01 +04:00
|
|
|
},
|
|
|
|
|
2019-03-19 03:01:03 +03:00
|
|
|
'SVGAnimatedAngle': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedAngle',
|
|
|
|
'headerFile': 'DOMSVGAnimatedAngle.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGAnimatedBoolean': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedBoolean',
|
|
|
|
'headerFile': 'DOMSVGAnimatedBoolean.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGAnimatedEnumeration': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedEnumeration',
|
|
|
|
'headerFile': 'DOMSVGAnimatedEnumeration.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGAnimatedInteger': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedInteger',
|
|
|
|
'headerFile': 'DOMSVGAnimatedInteger.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGAnimatedPreserveAspectRatio': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedPreserveAspectRatio',
|
|
|
|
'headerFile': 'SVGAnimatedPreserveAspectRatio.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGAnimatedLength': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedLength',
|
|
|
|
'headerFile': 'DOMSVGAnimatedLength.h',
|
|
|
|
},
|
|
|
|
|
2012-12-23 08:54:25 +04:00
|
|
|
'SVGAnimatedLengthList': {
|
2018-12-28 16:42:46 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedLengthList',
|
2013-07-23 12:34:18 +04:00
|
|
|
'headerFile': 'DOMSVGAnimatedLengthList.h',
|
2012-12-23 08:54:25 +04:00
|
|
|
},
|
|
|
|
|
2019-03-19 03:01:03 +03:00
|
|
|
'SVGAnimatedNumber': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedNumber',
|
|
|
|
'headerFile': 'DOMSVGAnimatedNumber.h',
|
|
|
|
},
|
|
|
|
|
2012-12-23 08:54:21 +04:00
|
|
|
'SVGAnimatedNumberList': {
|
2018-12-28 16:42:46 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedNumberList',
|
2012-12-23 08:54:21 +04:00
|
|
|
'headerFile': 'DOMSVGAnimatedNumberList.h'
|
|
|
|
},
|
|
|
|
|
2019-03-19 03:01:03 +03:00
|
|
|
'SVGAnimatedString': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedString',
|
|
|
|
'headerFile': 'DOMSVGAnimatedString.h',
|
|
|
|
},
|
|
|
|
|
2018-12-23 14:08:14 +03:00
|
|
|
'SVGAnimatedTransformList': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAnimatedTransformList',
|
|
|
|
'headerFile': 'DOMSVGAnimatedTransformList.h'
|
|
|
|
},
|
|
|
|
|
2018-12-30 21:18:30 +03:00
|
|
|
'SVGAngle': {
|
|
|
|
'nativeType': 'mozilla::dom::DOMSVGAngle',
|
|
|
|
'headerFile': 'DOMSVGAngle.h'
|
|
|
|
},
|
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'SVGElement': {
|
|
|
|
'concrete': True,
|
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',
|
|
|
|
},
|
|
|
|
|
2014-04-12 01:26:29 +04:00
|
|
|
'SVGLength': {
|
2018-12-28 16:42:46 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGLength',
|
2014-04-12 01:26:29 +04:00
|
|
|
'headerFile': 'DOMSVGLength.h'
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'SVGLengthList': {
|
2018-12-28 16:42:46 +03:00
|
|
|
'nativeType': 'mozilla::dom::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': {
|
2018-12-28 16:42:46 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGNumber',
|
2014-05-30 11:36:52 +04:00
|
|
|
'headerFile': 'DOMSVGNumber.h',
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'SVGNumberList': {
|
2018-12-28 16:42:46 +03:00
|
|
|
'nativeType': 'mozilla::dom::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': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSeg',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h',
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegClosePath': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegClosePath',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegMovetoAbs': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegMovetoAbs',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegMovetoRel': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegMovetoRel',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoAbs': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegLinetoAbs',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoRel': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegLinetoRel',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoCubicAbs': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegCurvetoCubicAbs',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoCubicRel': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegCurvetoCubicRel',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoQuadraticAbs': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegCurvetoQuadraticAbs',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoQuadraticRel': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegCurvetoQuadraticRel',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegArcAbs': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegArcAbs',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegArcRel': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegArcRel',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoHorizontalAbs': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegLinetoHorizontalAbs',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoHorizontalRel': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegLinetoHorizontalRel',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoVerticalAbs': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegLinetoVerticalAbs',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegLinetoVerticalRel': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegLinetoVerticalRel',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoCubicSmoothAbs': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegCurvetoCubicSmoothAbs',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoCubicSmoothRel': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegCurvetoCubicSmoothRel',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoQuadraticSmoothAbs': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegCurvetoQuadraticSmoothAbs',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'SVGPathSegCurvetoQuadraticSmoothRel': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGPathSegCurvetoQuadraticSmoothRel',
|
2012-12-23 08:54:22 +04:00
|
|
|
'headerFile': 'DOMSVGPathSeg.h'
|
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'SVGPathSegList': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::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': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::nsISVGPoint',
|
2012-12-23 08:54:20 +04:00
|
|
|
'headerFile': 'nsISVGPoint.h'
|
2012-12-23 08:54:19 +04:00
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'SVGPointList': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::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',
|
|
|
|
},
|
|
|
|
|
2019-03-19 03:01:03 +03:00
|
|
|
'SVGStringList': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGStringList',
|
2019-03-19 03:01:03 +03:00
|
|
|
'headerFile': 'DOMSVGStringList.h',
|
|
|
|
},
|
|
|
|
|
2012-12-23 08:54:20 +04:00
|
|
|
'SVGTransform': {
|
2018-12-28 20:20:15 +03:00
|
|
|
'nativeType': 'mozilla::dom::DOMSVGTransform',
|
|
|
|
'headerFile': 'DOMSVGTransform.h',
|
2012-12-23 08:54:20 +04:00
|
|
|
},
|
|
|
|
|
2012-11-05 20:58:03 +04:00
|
|
|
'SVGTransformList': {
|
2019-09-21 17:38:56 +03:00
|
|
|
'nativeType': 'mozilla::dom::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-03-13 22:07:49 +04:00
|
|
|
'SVGUnitTypes' : {
|
2019-05-24 13:43:37 +03:00
|
|
|
# Maybe should be a namespace.
|
2013-03-13 22:07:49 +04:00
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2013-03-21 09:33:56 +04:00
|
|
|
'SVGZoomAndPan' : {
|
2019-05-24 13:43:37 +03:00
|
|
|
# Part of a kinda complicated legacy setup for putting some constants on
|
|
|
|
# both interfaces and this thing, which ideally should be a namespace.
|
2017-06-20 12:09:50 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
2018-10-26 23:17:55 +03:00
|
|
|
'TelemetryStopwatch': {
|
|
|
|
'nativeType': 'mozilla::telemetry::Stopwatch',
|
|
|
|
},
|
|
|
|
|
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']
|
|
|
|
},
|
|
|
|
|
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',
|
|
|
|
},
|
|
|
|
|
2017-06-08 22:04:02 +03:00
|
|
|
'TreeContentView': {
|
|
|
|
'nativeType': 'nsTreeContentView',
|
|
|
|
},
|
|
|
|
|
2013-02-28 21:56:42 +04:00
|
|
|
'TreeWalker': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2018-08-20 23:28:42 +03:00
|
|
|
'VisualViewport': {
|
|
|
|
'nativeType': 'mozilla::dom::VisualViewport',
|
|
|
|
},
|
|
|
|
|
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',
|
|
|
|
},
|
|
|
|
|
2017-01-09 23:22:49 +03:00
|
|
|
'WebAuthentication': {
|
|
|
|
'implicitJSContext': 'makeCredential',
|
|
|
|
},
|
|
|
|
|
2017-06-04 08:03:19 +03:00
|
|
|
'WebExtensionContentScript': {
|
|
|
|
'nativeType': 'mozilla::extensions::WebExtensionContentScript',
|
|
|
|
},
|
|
|
|
|
2017-05-25 01:58:19 +03:00
|
|
|
'WebExtensionPolicy': {
|
|
|
|
'nativeType': 'mozilla::extensions::WebExtensionPolicy',
|
|
|
|
},
|
|
|
|
|
2015-03-06 16:04:49 +03:00
|
|
|
'WindowClient': {
|
2017-12-12 23:44:47 +03:00
|
|
|
'nativeType': 'mozilla::dom::Client',
|
2015-03-06 16:04:49 +03:00
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
2019-02-01 02:39:12 +03:00
|
|
|
'EXT_float_blend': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionFloatBlend',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2018-09-28 02:37:40 +03:00
|
|
|
'EXT_texture_compression_bptc': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureBPTC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
|
|
|
'EXT_texture_compression_rgtc': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureRGTC',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2019-02-22 22:25:20 +03:00
|
|
|
'OES_fbo_render_mipmap': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionFBORenderMipmap',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2019-05-23 23:48:21 +03:00
|
|
|
'OVR_multiview2': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionMultiview',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2018-10-10 08:15:09 +03:00
|
|
|
'WEBGL_compressed_texture_astc': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureASTC',
|
2018-09-28 02:37:40 +03:00
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2016-11-11 03:37:17 +03:00
|
|
|
'WEBGL_compressed_texture_etc': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureES3',
|
2014-03-11 02:42:58 +04:00
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
2016-11-11 03:37:17 +03:00
|
|
|
'WEBGL_compressed_texture_etc1': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureETC1',
|
2016-01-08 05:12:22 +03:00
|
|
|
'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
|
|
|
},
|
|
|
|
|
2017-05-30 18:21:33 +03:00
|
|
|
'WEBGL_compressed_texture_s3tc_srgb': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionCompressedTextureS3TC_SRGB',
|
|
|
|
'headerFile': 'WebGLExtensions.h'
|
|
|
|
},
|
|
|
|
|
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'
|
|
|
|
},
|
|
|
|
|
2019-06-25 22:48:24 +03:00
|
|
|
'WEBGL_explicit_present': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionExplicitPresent',
|
|
|
|
'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'
|
|
|
|
},
|
|
|
|
|
2017-04-11 11:50:59 +03:00
|
|
|
'MOZ_debug': {
|
|
|
|
'nativeType': 'mozilla::WebGLExtensionMOZDebug',
|
2017-01-31 05:58:52 +03:00
|
|
|
'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',
|
2013-07-17 17:58:09 +04:00
|
|
|
},
|
|
|
|
|
|
|
|
'WebGL2RenderingContext': {
|
2014-09-18 02:08:41 +04:00
|
|
|
'nativeType': 'mozilla::WebGL2Context',
|
|
|
|
'headerFile': 'WebGL2Context.h',
|
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
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
2016-11-18 03:46:28 +03:00
|
|
|
'WebGLVertexArrayObject': {
|
2013-08-30 21:13:20 +04:00
|
|
|
'nativeType': 'mozilla::WebGLVertexArray',
|
|
|
|
'headerFile': 'WebGLVertexArray.h'
|
2013-06-28 01:07:21 +04:00
|
|
|
},
|
|
|
|
|
2018-06-13 20:43:48 +03:00
|
|
|
# WebGPU
|
|
|
|
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPU': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::Instance',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUAdapter': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::Adapter',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUBindGroup': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::BindGroup',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUBindGroupLayout': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::BindGroupLayout',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUBuffer': {
|
2019-10-02 06:04:25 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::Buffer',
|
2019-10-02 04:42:07 +03:00
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUCanvasContext': {
|
|
|
|
'nativeType': 'mozilla::webgpu::CanvasContext',
|
|
|
|
},
|
|
|
|
'GPUCommandBuffer': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::CommandBuffer',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUCommandEncoder': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::CommandEncoder',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUComputePassEncoder': {
|
|
|
|
'nativeType': 'mozilla::webgpu::ComputePassEncoder',
|
2018-06-13 20:43:48 +03:00
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUComputePipeline': {
|
|
|
|
'nativeType': 'mozilla::webgpu::ComputePipeline',
|
2018-06-13 20:43:48 +03:00
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUDevice': {
|
2019-10-02 06:04:25 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::Device',
|
2018-06-13 20:43:48 +03:00
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUDeviceLostInfo': {
|
|
|
|
'nativeType': 'mozilla::webgpu::DeviceLostInfo',
|
2018-06-13 20:43:48 +03:00
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUFence': {
|
|
|
|
'nativeType': 'mozilla::webgpu::Fence',
|
2018-06-13 20:43:48 +03:00
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUOutOfMemoryError': {
|
|
|
|
'nativeType': 'mozilla::webgpu::OutOfMemoryError',
|
2018-06-13 20:43:48 +03:00
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUPipelineLayout': {
|
2019-10-02 06:04:25 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::PipelineLayout',
|
2019-10-02 04:42:07 +03:00
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUProgrammablePassEncoder': {
|
|
|
|
'nativeType': 'mozilla::webgpu::ProgrammablePassEncoder',
|
|
|
|
},
|
|
|
|
'GPUQueue': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::Queue',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPURenderBundle': {
|
|
|
|
'nativeType': 'mozilla::webgpu::RenderBundle',
|
|
|
|
},
|
|
|
|
'GPURenderBundleEncoder': {
|
|
|
|
'nativeType': 'mozilla::webgpu::RenderBundleEncoder',
|
|
|
|
},
|
|
|
|
'GPURenderEncoderBase': {
|
|
|
|
'nativeType': 'mozilla::webgpu::RenderEncoderBase',
|
|
|
|
},
|
|
|
|
'GPURenderPassEncoder': {
|
|
|
|
'nativeType': 'mozilla::webgpu::RenderPassEncoder',
|
|
|
|
},
|
|
|
|
'GPURenderPipeline': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::RenderPipeline',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUSampler': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::Sampler',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUShaderModule': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::ShaderModule',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUSwapChain': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::SwapChain',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUTexture': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::Texture',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUTextureView': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'nativeType': 'mozilla::webgpu::TextureView',
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUValidationError': {
|
|
|
|
'nativeType': 'mozilla::webgpu::ValidationError',
|
2019-10-02 06:04:25 +03:00
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
|
|
|
|
'GPUBindingType': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUBlendFactor': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUBlendOperation': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUBufferUsage': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUColorWrite': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUCompareFunction': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUFilterMode': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUIndexFormat': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUInputStepMode': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPULoadOp': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUPrimitiveTopology': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUShaderStage': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUStencilOperation': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUStoreOp': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUTextureDimension': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUTextureFormat': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUTextureUsage': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
2019-10-02 19:46:03 +03:00
|
|
|
'GPUVertexFormat': {
|
2018-06-13 20:43:48 +03:00
|
|
|
'concrete': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
# WebRTC
|
|
|
|
|
2014-02-20 21:35:35 +04:00
|
|
|
'WebrtcGlobalInformation': {
|
|
|
|
'nativeType': 'mozilla::dom::WebrtcGlobalInformation',
|
|
|
|
'headerFile': 'WebrtcGlobalInformation.h',
|
|
|
|
},
|
|
|
|
|
2013-10-08 19:51:42 +04:00
|
|
|
'Window': {
|
2017-11-07 01:52:14 +03:00
|
|
|
'nativeType': 'nsGlobalWindowInner',
|
|
|
|
'headerFile': 'nsGlobalWindow.h',
|
2016-08-22 15:52:45 +03:00
|
|
|
'implicitJSContext': [
|
2017-03-18 03:36:13 +03:00
|
|
|
'createImageBitmap',
|
2016-08-22 15:52:45 +03:00
|
|
|
'requestIdleCallback'
|
|
|
|
],
|
2013-10-08 19:51:42 +04:00
|
|
|
},
|
|
|
|
|
2015-02-25 00:04:22 +03:00
|
|
|
'WindowProxy': {
|
2019-09-11 17:25:18 +03:00
|
|
|
'nativeType': 'mozilla::dom::WindowProxyHolder',
|
2019-01-02 16:27:05 +03:00
|
|
|
'headerFile': 'mozilla/dom/WindowProxyHolder.h',
|
2013-05-31 01:46:39 +04:00
|
|
|
'concrete': False
|
|
|
|
},
|
|
|
|
|
2014-10-18 03:05:16 +04:00
|
|
|
'WindowRoot': {
|
|
|
|
'nativeType': 'nsWindowRoot'
|
|
|
|
},
|
|
|
|
|
2015-03-04 02:51:53 +03:00
|
|
|
'WorkerDebuggerGlobalScope': {
|
|
|
|
'headerFile': 'mozilla/dom/WorkerScope.h',
|
|
|
|
'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',
|
2019-05-02 21:34:27 +03:00
|
|
|
'implicitJSContext': [ 'createImageBitmap', 'importScripts' ],
|
2014-01-26 16:35:17 +04:00
|
|
|
},
|
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'Worklet': {
|
|
|
|
# Paint worklets just use the Worklet interface.
|
|
|
|
'concrete': True,
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
|
2019-05-24 13:43:37 +03:00
|
|
|
'XMLHttpRequest': {
|
|
|
|
'implicitJSContext': [ 'send'],
|
2012-03-31 08:42:20 +04:00
|
|
|
},
|
|
|
|
|
2012-12-04 05:26:16 +04:00
|
|
|
'XMLSerializer': {
|
|
|
|
'nativeType': 'nsDOMSerializer',
|
2018-04-09 23:30:33 +03:00
|
|
|
'wrapperCache': False
|
2012-12-04 05:26:16 +04:00
|
|
|
},
|
|
|
|
|
2012-12-14 23:10:49 +04:00
|
|
|
'XPathEvaluator': {
|
2019-05-24 13:43:37 +03:00
|
|
|
'wrapperCache': False,
|
|
|
|
'concrete': True,
|
2012-12-14 23:10:49 +04:00
|
|
|
},
|
|
|
|
|
2014-06-27 23:39:50 +04:00
|
|
|
'XPathExpression': {
|
|
|
|
'wrapperCache': False,
|
|
|
|
},
|
|
|
|
|
2014-10-10 16:21:54 +04:00
|
|
|
'XSLTProcessor': {
|
|
|
|
'nativeType': 'txMozillaXSLTProcessor',
|
|
|
|
},
|
|
|
|
|
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,
|
2013-03-04 23:08:24 +04:00
|
|
|
},
|
|
|
|
|
|
|
|
'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,
|
|
|
|
},
|
|
|
|
|
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,
|
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',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
|
|
|
'ImplementedInterfaceParent' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondImplements' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondBranch1A' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondBranch1B' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondBranch2A' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'DiamondBranch2B' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'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
|
|
|
'TestNamedDeleterInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False
|
|
|
|
},
|
|
|
|
|
|
|
|
'TestNamedDeleterWithRetvalInterface' : {
|
|
|
|
'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,
|
2012-11-09 20:24:32 +04:00
|
|
|
},
|
|
|
|
|
2016-11-12 00:09:05 +03:00
|
|
|
'TestExampleWorkerInterface' : {
|
|
|
|
'headerFile': 'TestExampleWorkerInterface-example.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
2019-09-12 21:39:26 +03:00
|
|
|
'TestExampleThrowingConstructorInterface' : {
|
|
|
|
'headerFile': 'TestExampleThrowingConstructorInterface-example.h',
|
|
|
|
'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,
|
|
|
|
},
|
|
|
|
|
2016-11-12 00:09:05 +03:00
|
|
|
'TestWorkerExposedInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2016-11-17 18:31:50 +03:00
|
|
|
'TestHTMLConstructorInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2019-09-12 21:39:26 +03:00
|
|
|
'TestThrowingConstructorInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
|
|
|
|
2017-03-08 12:11:48 +03:00
|
|
|
'TestCEReactionsInterface' : {
|
|
|
|
'headerFile': 'TestBindingHeader.h',
|
|
|
|
'register': False,
|
|
|
|
},
|
2019-03-02 07:21:24 +03:00
|
|
|
|
|
|
|
'TestAttributesOnTypes' : {
|
|
|
|
'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
|
|
|
|
|
2019-05-31 12:36:44 +03:00
|
|
|
addExternalIface('Cookie', nativeType='nsICookie',
|
|
|
|
headerFile='nsICookie.h', notflattened=True)
|
2019-02-21 18:00:32 +03:00
|
|
|
addExternalIface('ContentSecurityPolicy', nativeType='nsIContentSecurityPolicy',
|
|
|
|
notflattened=True)
|
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)
|
2017-08-19 10:55:00 +03:00
|
|
|
addExternalIface('LoadContext', nativeType='nsILoadContext', notflattened=True)
|
2017-06-04 08:03:19 +03:00
|
|
|
addExternalIface('LoadInfo', nativeType='nsILoadInfo',
|
|
|
|
headerFile='nsILoadInfo.h', notflattened=True)
|
2013-02-18 15:59:08 +04:00
|
|
|
addExternalIface('MenuBuilder', nativeType='nsIMenuBuilder', notflattened=True)
|
2017-05-18 10:07:25 +03:00
|
|
|
addExternalIface('XULControllers', nativeType='nsIControllers', notflattened=True)
|
2013-03-26 19:31:54 +04:00
|
|
|
addExternalIface('MozObserver', nativeType='nsIObserver', 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')
|
2014-02-06 08:37:30 +04:00
|
|
|
addExternalIface('nsIBrowserDOMWindow', nativeType='nsIBrowserDOMWindow',
|
|
|
|
notflattened=True)
|
2018-07-25 02:47:40 +03:00
|
|
|
addExternalIface('nsIDOMWindowUtils', nativeType='nsIDOMWindowUtils', notflattened=True)
|
2017-07-19 15:59:02 +03:00
|
|
|
addExternalIface('nsIEventTarget', nativeType='nsIEventTarget', notflattened=True)
|
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)
|
2017-08-19 10:55:00 +03:00
|
|
|
addExternalIface('nsIPrintSettings', nativeType='nsIPrintSettings',
|
|
|
|
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)
|
2016-07-29 17:01:00 +03:00
|
|
|
addExternalIface('nsITransportProvider', nativeType='nsITransportProvider')
|
2017-05-24 12:51:10 +03:00
|
|
|
addExternalIface('nsITreeSelection', nativeType='nsITreeSelection',
|
|
|
|
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)
|
2019-06-06 10:23:37 +03:00
|
|
|
addExternalIface('nsIReferrerInfo', nativeType='nsIReferrerInfo', notflattened=True)
|
2018-07-06 03:14:18 +03:00
|
|
|
addExternalIface('nsIWebNavigation', nativeType='nsIWebNavigation', 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)
|
2017-08-20 00:16:16 +03:00
|
|
|
addExternalIface('nsIWebBrowserPersistDocumentReceiver',
|
|
|
|
nativeType='nsIWebBrowserPersistDocumentReceiver',
|
|
|
|
headerFile='nsIWebBrowserPersistDocument.h',
|
|
|
|
notflattened=True)
|
2017-08-19 10:55:00 +03:00
|
|
|
addExternalIface('nsIWebProgressListener', nativeType='nsIWebProgressListener',
|
|
|
|
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)
|
2019-04-09 23:59:37 +03:00
|
|
|
addExternalIface('RemoteTab', nativeType='nsIRemoteTab',
|
2017-08-19 10:55:00 +03:00
|
|
|
notflattened=True)
|
2012-11-22 15:09:41 +04:00
|
|
|
addExternalIface('URI', nativeType='nsIURI', headerFile='nsIURI.h',
|
|
|
|
notflattened=True)
|
2017-05-18 10:07:25 +03:00
|
|
|
addExternalIface('XULCommandDispatcher', notflattened=True)
|
2018-02-02 01:38:07 +03:00
|
|
|
addExternalIface('nsISHistory', nativeType='nsISHistory', notflattened=True)
|
2019-02-12 22:35:32 +03:00
|
|
|
addExternalIface('ReferrerInfo', nativeType='nsIReferrerInfo')
|
2019-12-04 18:39:26 +03:00
|
|
|
addExternalIface('nsIPermissionDelegateHandler',
|
|
|
|
nativeType='nsIPermissionDelegateHandler',
|
|
|
|
notflattened=True)
|