Use single quotes in Bindings.conf, no bug, r=me

This commit is contained in:
David Zbarsky 2013-03-02 01:08:42 -05:00
parent 43107e768f
commit f361283a46

View File

@ -11,12 +11,12 @@
# Valid fields for all descriptors:
# * nativeType - The native type (concrete class or XPCOM interface) that
# instances of this interface will unwrap to. If not
# specified, defaults to "mozilla::dom::InterfaceName" for
# specified, defaults to 'mozilla::dom::InterfaceName' for
# non-worker non-external-or-callback interfaces, to
# "mozilla::dom::workers::InterfaceName" for worker
# 'mozilla::dom::workers::InterfaceName' for worker
# non-external interfaces, to 'nsIDOM' followed by the
# interface name for non-worker external-or-callback
# interfaces, and to "JSObject" for worker external-or-callback
# interfaces, and to 'JSObject' for worker external-or-callback
# interfaces.
# * headerFile - The file in which the nativeType is declared (defaults
# to an educated guess).
@ -53,9 +53,9 @@
# interfaces. Defaults to true for non-worker non-callback
# descriptors.
# * nativeOwnership: Describes how the native object is held. 4 possible
# types: worker object ("worker"), non-refcounted object
# ("owned"), refcounted non-nsISupports object
# ("refcounted") or nsISupports ("nsisupports").
# types: worker object ('worker'), non-refcounted object
# ('owned'), refcounted non-nsISupports object
# ('refcounted') or nsISupports ('nsisupports').
# Non-refcounted objects need to inherit from
# mozilla::dom::NonRefcountedDOMObject and preferably use
# MOZ_COUNT_CTOR/MOZ_COUNT_DTOR in their
@ -67,8 +67,8 @@
# call delete through XPConnect's deferred finalization
# mechanism, for a refcounted object it'll call Release
# through XPConnect's deferred finalization mechanism.
# Always "worker" for worker descriptors. Defaults to
# "nsisupports".
# Always 'worker' for worker descriptors. Defaults to
# 'nsisupports'.
#
# The following fields are either a string, an array (defaults to an empty
# array) or a dictionary with three possible keys (all, getterOnly and
@ -171,21 +171,21 @@ DOMInterfaces = {
'nativeType': 'nsDOMCSSDeclaration'
},
"CSSPrimitiveValue": {
"nativeType": "nsROCSSPrimitiveValue",
"resultNotAddRefed": ["getRGBColorValue", "getRectValue"]
'CSSPrimitiveValue': {
'nativeType': 'nsROCSSPrimitiveValue',
'resultNotAddRefed': ['getRGBColorValue', 'getRectValue']
},
'CSSStyleDeclaration': {
'nativeType': 'nsICSSDeclaration'
},
"CSSValue": {
"concrete": False
'CSSValue': {
'concrete': False
},
"CSSValueList": {
"nativeType": "nsDOMCSSValueList"
'CSSValueList': {
'nativeType': 'nsDOMCSSValueList'
},
'DelayNode': [
@ -583,14 +583,14 @@ DOMInterfaces = {
},
'Rect': {
"nativeType": "nsDOMCSSRect",
'resultNotAddRefed': [ "top", "right", "bottom", "left" ]
'nativeType': 'nsDOMCSSRect',
'resultNotAddRefed': [ 'top', 'right', 'bottom', 'left' ]
},
'RGBColor': {
"nativeOwnership": "refcounted",
"nativeType": "nsDOMCSSRGBColor",
'resultNotAddRefed': [ "alpha", "blue", "green", "red" ]
'nativeOwnership': 'refcounted',
'nativeType': 'nsDOMCSSRGBColor',
'resultNotAddRefed': [ 'alpha', 'blue', 'green', 'red' ]
},
'Screen': {
@ -1202,7 +1202,7 @@ addExternalIface('Attr')
addExternalIface('CanvasGradient', headerFile='nsIDOMCanvasRenderingContext2D.h')
addExternalIface('CanvasPattern', headerFile='nsIDOMCanvasRenderingContext2D.h')
addExternalIface('ClientRect')
addExternalIface("Counter")
addExternalIface('Counter')
addExternalIface('CSSRule')
addExternalIface('DOMRequest')
addExternalIface('DOMStringList')