+2012-02-09 Kentaro Hara <haraken@chromium.org>
+
+ Unreviewed. Fixed typo in the following files. [TreatReturnedNullStringTo=] => [TreatReturnedNullStringAs=].
+
+ * bindings/scripts/test/TestObj.idl:
+ * css/CSSCharsetRule.idl:
+ * css/CSSImportRule.idl:
+ * css/CSSPageRule.idl:
+ * css/CSSRule.idl:
+ * css/CSSStyleDeclaration.idl:
+ * css/CSSStyleRule.idl:
+ * css/CSSValue.idl:
+ * css/MediaList.idl:
+ * css/StyleSheet.idl:
+ * css/WebKitCSSKeyframesRule.idl:
+ * dom/Attr.idl:
+ * dom/CharacterData.idl:
+ * dom/Clipboard.idl:
+ * dom/DOMStringList.idl:
+ * dom/Document.idl:
+ * dom/DocumentType.idl:
+ * dom/Element.idl:
+ * dom/Entity.idl:
+ * dom/MutationRecord.idl:
+ * dom/Node.idl:
+ * dom/Notation.idl:
+ * dom/ProcessingInstruction.idl:
+ * html/DOMTokenList.idl:
+ * html/DOMURL.idl:
+ * html/HTMLMediaElement.idl:
+ * html/canvas/WebGLDebugShaders.idl:
+ * html/canvas/WebGLRenderingContext.idl:
+ * page/DOMWindow.idl:
+ * storage/IDBObjectStore.idl:
+ * storage/IDBRequest.idl:
+ * storage/Storage.idl:
+ * storage/StorageEvent.idl:
+ * websockets/WebSocket.idl:
+ * xml/XMLHttpRequest.idl:
+ * xml/XPathNSResolver.idl:
+ * xml/XSLTProcessor.idl:
+
2012-02-08 Kentaro Hara <haraken@chromium.org>
Rename [ConvertNullStringTo=] to [TreatReturnedNullStringAs=]
[CheckAccessToNode] SVGDocument getSVGDocument()
raises(DOMException);
- void convert1(in [TreatReturnedNullStringTo=Null] a);
- void convert2(in [TreatReturnedNullStringTo=Undefined] b);
- void convert3(in [TreatReturnedNullStringTo=False] c);
+ void convert1(in [TreatReturnedNullStringAs=Null] a);
+ void convert2(in [TreatReturnedNullStringAs=Undefined] b);
+ void convert3(in [TreatReturnedNullStringAs=False] c);
void convert4(in [TreatNullAs=NullString] d);
void convert5(in [TreatNullAs=NullString, TreatUndefinedAs=NullString] e);
// Introduced in DOM Level 2:
interface CSSCharsetRule : CSSRule {
#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString encoding;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString encoding;
#else
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString encoding
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString encoding
setter raises(DOMException);
#endif
};
// Introduced in DOM Level 2:
interface CSSImportRule : CSSRule {
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString href;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString href;
readonly attribute MediaList media;
readonly attribute CSSStyleSheet styleSheet;
};
// Introduced in DOM Level 2:
interface CSSPageRule : CSSRule {
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString selectorText;
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString selectorText;
readonly attribute CSSStyleDeclaration style;
readonly attribute unsigned short type;
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString cssText
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString cssText
setter raises (DOMException);
readonly attribute CSSStyleSheet parentStyleSheet;
CustomGetPropertyNames,
V8DependentLifetime
] CSSStyleDeclaration {
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString cssText
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString cssText
setter raises(DOMException);
- [TreatReturnedNullStringTo=Null] DOMString getPropertyValue(in [Optional=TreatAsUndefined] DOMString propertyName);
+ [TreatReturnedNullStringAs=Null] DOMString getPropertyValue(in [Optional=TreatAsUndefined] DOMString propertyName);
[JSCustom] CSSValue getPropertyCSSValue(in [Optional=TreatAsUndefined] DOMString propertyName);
- [TreatReturnedNullStringTo=Null] DOMString removeProperty(in [Optional=TreatAsUndefined] DOMString propertyName)
+ [TreatReturnedNullStringAs=Null] DOMString removeProperty(in [Optional=TreatAsUndefined] DOMString propertyName)
raises(DOMException);
- [TreatReturnedNullStringTo=Null] DOMString getPropertyPriority(in [Optional=TreatAsUndefined] DOMString propertyName);
+ [TreatReturnedNullStringAs=Null] DOMString getPropertyPriority(in [Optional=TreatAsUndefined] DOMString propertyName);
[ObjCLegacyUnnamedParameters] void setProperty(in [Optional=TreatAsUndefined] DOMString propertyName,
in [TreatNullAs=NullString,Optional=TreatAsUndefined] DOMString value,
in [Optional=TreatAsUndefined] DOMString priority)
readonly attribute CSSRule parentRule;
// Extensions
- [TreatReturnedNullStringTo=Null] DOMString getPropertyShorthand(in [Optional=TreatAsUndefined] DOMString propertyName);
+ [TreatReturnedNullStringAs=Null] DOMString getPropertyShorthand(in [Optional=TreatAsUndefined] DOMString propertyName);
boolean isPropertyImplicit(in [Optional=TreatAsUndefined] DOMString propertyName);
};
// Introduced in DOM Level 2:
interface CSSStyleRule : CSSRule {
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString selectorText;
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString selectorText;
readonly attribute CSSStyleDeclaration style;
const unsigned short CSS_VALUE_LIST = 2;
const unsigned short CSS_CUSTOM = 3;
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString cssText
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString cssText
setter raises(DOMException);
readonly attribute unsigned short cssValueType;
IndexedGetter
] MediaList {
- attribute [TreatNullAs=NullString, TreatReturnedNullStringTo=Null] DOMString mediaText
+ attribute [TreatNullAs=NullString, TreatReturnedNullStringAs=Null] DOMString mediaText
setter raises(DOMException);
readonly attribute unsigned long length;
- [TreatReturnedNullStringTo=Null] DOMString item(in [Optional=TreatAsUndefined] unsigned long index);
+ [TreatReturnedNullStringAs=Null] DOMString item(in [Optional=TreatAsUndefined] unsigned long index);
void deleteMedium(in [Optional=TreatAsUndefined] DOMString oldMedium)
raises(DOMException);
void appendMedium(in [Optional=TreatAsUndefined] DOMString newMedium)
ObjCPolymorphic,
V8DependentLifetime
] StyleSheet {
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString type;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString type;
attribute boolean disabled;
readonly attribute Node ownerNode;
readonly attribute StyleSheet parentStyleSheet;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString href;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString title;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString href;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString title;
readonly attribute MediaList media;
#if defined(LANGUAGE_CPP) && LANGUAGE_CPP
IndexedGetter
] WebKitCSSKeyframesRule : CSSRule {
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString name;
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString name;
readonly attribute CSSRuleList cssRules;
void insertRule(in [Optional=TreatAsUndefined] DOMString rule);
// DOM Level 1
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString name;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString name;
readonly attribute boolean specified;
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString value
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString value
setter raises(DOMException);
// DOM Level 2
readonly attribute unsigned long length;
- [TreatReturnedNullStringTo=Null, ObjCLegacyUnnamedParameters] DOMString substringData(in [IsIndex,Optional=TreatAsUndefined] unsigned long offset,
+ [TreatReturnedNullStringAs=Null, ObjCLegacyUnnamedParameters] DOMString substringData(in [IsIndex,Optional=TreatAsUndefined] unsigned long offset,
in [IsIndex,Optional=TreatAsUndefined] unsigned long length)
raises(DOMException);
module core {
interface Clipboard {
- attribute [TreatReturnedNullStringTo=Undefined] DOMString dropEffect;
- attribute [TreatReturnedNullStringTo=Undefined] DOMString effectAllowed;
+ attribute [TreatReturnedNullStringAs=Undefined] DOMString dropEffect;
+ attribute [TreatReturnedNullStringAs=Undefined] DOMString effectAllowed;
readonly attribute [CustomGetter] Array types;
readonly attribute FileList files;
IndexedGetter
] DOMStringList {
readonly attribute unsigned long length;
- [TreatReturnedNullStringTo=Null] DOMString item(in [IsIndex,Optional=TreatAsUndefined] unsigned long index);
+ [TreatReturnedNullStringAs=Null] DOMString item(in [IsIndex,Optional=TreatAsUndefined] unsigned long index);
boolean contains(in [Optional=TreatAsUndefined] DOMString string);
};
// DOM Level 3 Core
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString inputEncoding;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString inputEncoding;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString xmlEncoding;
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString xmlVersion
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString xmlEncoding;
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString xmlVersion
setter raises (DOMException);
attribute boolean xmlStandalone
setter raises (DOMException);
Node adoptNode(in [Optional=TreatAsUndefined] Node source)
raises (DOMException);
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString documentURI;
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString documentURI;
// DOM Level 2 Events (DocumentEvents interface)
boolean queryCommandIndeterm(in [Optional=TreatAsUndefined] DOMString command);
boolean queryCommandState(in [Optional=TreatAsUndefined] DOMString command);
boolean queryCommandSupported(in [Optional=TreatAsUndefined] DOMString command);
- [TreatReturnedNullStringTo=False] DOMString queryCommandValue(in [Optional=TreatAsUndefined] DOMString command);
+ [TreatReturnedNullStringAs=False] DOMString queryCommandValue(in [Optional=TreatAsUndefined] DOMString command);
// Moved down from HTMLDocument
// IE extensions
- attribute [TreatReturnedNullStringTo=Undefined, TreatNullAs=NullString] DOMString charset;
- readonly attribute [TreatReturnedNullStringTo=Undefined] DOMString defaultCharset;
- readonly attribute [TreatReturnedNullStringTo=Undefined] DOMString readyState;
+ attribute [TreatReturnedNullStringAs=Undefined, TreatNullAs=NullString] DOMString charset;
+ readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString defaultCharset;
+ readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString readyState;
Element elementFromPoint(in [Optional=TreatAsUndefined] long x,
in [Optional=TreatAsUndefined] long y);
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
DOMSelection getSelection();
#endif
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString characterSet;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString characterSet;
// WebKit extensions
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString preferredStylesheetSet;
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString selectedStylesheetSet;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString preferredStylesheetSet;
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString selectedStylesheetSet;
#if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT
CSSStyleDeclaration createCSSStyleDeclaration();
// DOM Level 2
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString publicId;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString systemId;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString internalSubset;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString publicId;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString systemId;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString internalSubset;
};
// DOM Level 1 Core
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString tagName;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString tagName;
- [TreatReturnedNullStringTo=Null] DOMString getAttribute(in [Optional=TreatAsUndefined] DOMString name);
+ [TreatReturnedNullStringAs=Null] DOMString getAttribute(in [Optional=TreatAsUndefined] DOMString name);
[ObjCLegacyUnnamedParameters] void setAttribute(in [Optional=TreatAsUndefined] DOMString name,
in [Optional=TreatAsUndefined] DOMString value)
raises(DOMException);
module core {
interface Entity : Node {
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString publicId;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString systemId;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString notationName;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString publicId;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString systemId;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString notationName;
};
}
readonly attribute Node nextSibling;
readonly attribute DOMString attributeName;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString attributeNamespace;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString attributeNamespace;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString oldValue;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString oldValue;
};
}
const unsigned short DOCUMENT_FRAGMENT_NODE = 11;
const unsigned short NOTATION_NODE = 12;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString nodeName;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString nodeName;
// FIXME: the spec says this can also raise on retrieval.
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString nodeValue
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString nodeValue
setter raises(DOMException);
readonly attribute unsigned short nodeType;
[ObjCLegacyUnnamedParameters] boolean isSupported(in [Optional=TreatAsUndefined] DOMString feature,
in [TreatNullAs=NullString,Optional=TreatAsUndefined] DOMString version);
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString namespaceURI;
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString prefix
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString namespaceURI;
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString prefix
setter raises(DOMException);
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString localName;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString localName;
boolean hasAttributes();
// Introduced in DOM Level 3:
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString baseURI;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString baseURI;
// FIXME: the spec says this can also raise on retrieval.
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString textContent
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString textContent
setter raises(DOMException);
boolean isSameNode(in [Optional=TreatAsUndefined] Node other);
boolean isEqualNode(in [Optional=TreatAsUndefined] Node other);
- [TreatReturnedNullStringTo=Null] DOMString lookupPrefix(in [TreatNullAs=NullString,Optional=TreatAsUndefined] DOMString namespaceURI);
+ [TreatReturnedNullStringAs=Null] DOMString lookupPrefix(in [TreatNullAs=NullString,Optional=TreatAsUndefined] DOMString namespaceURI);
boolean isDefaultNamespace(in [TreatNullAs=NullString,Optional=TreatAsUndefined] DOMString namespaceURI);
- [TreatReturnedNullStringTo=Null] DOMString lookupNamespaceURI(in [TreatNullAs=NullString,Optional=TreatAsUndefined] DOMString prefix);
+ [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI(in [TreatNullAs=NullString,Optional=TreatAsUndefined] DOMString prefix);
// DocumentPosition
const unsigned short DOCUMENT_POSITION_DISCONNECTED = 0x01;
module core {
interface Notation : Node {
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString publicId;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString systemId;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString publicId;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString systemId;
};
}
// DOM Level 1
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString target;
- attribute [TreatReturnedNullStringTo=Null, TreatNullAs=NullString] DOMString data
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString target;
+ attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] DOMString data
setter raises(DOMException);
// interface LinkStyle from DOM Level 2 Style Sheets
IndexedGetter
] DOMTokenList {
readonly attribute unsigned long length;
- [TreatReturnedNullStringTo=Null] DOMString item(in unsigned long index);
+ [TreatReturnedNullStringAs=Null] DOMString item(in unsigned long index);
boolean contains(in DOMString token) raises(DOMException);
void add(in DOMString token) raises(DOMException);
void remove(in DOMString token) raises(DOMException);
JSNoStaticTables
] DOMURL {
#if defined(ENABLE_MEDIA_STREAM) && ENABLE_MEDIA_STREAM
- static [CallWith=ScriptExecutionContext,TreatReturnedNullStringTo=Undefined] DOMString createObjectURL(in MediaStream stream);
+ static [CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Undefined] DOMString createObjectURL(in MediaStream stream);
#endif
- static [CallWith=ScriptExecutionContext,TreatReturnedNullStringTo=Undefined] DOMString createObjectURL(in Blob blob);
+ static [CallWith=ScriptExecutionContext,TreatReturnedNullStringAs=Undefined] DOMString createObjectURL(in Blob blob);
static [CallWith=ScriptExecutionContext] void revokeObjectURL(in DOMString url);
};
}
readonly attribute [V8EnabledAtRuntime=webkitVideoTrack] TextTrackList textTracks;
#endif
- attribute [Reflect, TreatNullAs=NullString, TreatReturnedNullStringToNull] DOMString mediaGroup;
+ attribute [Reflect, TreatNullAs=NullString, TreatReturnedNullStringAsNull] DOMString mediaGroup;
attribute [CustomSetter] MediaController controller;
};
}
JSGenerateIsReachable=ImplContext,
OmitConstructor
] WebGLDebugShaders {
- [StrictTypeChecking, TreatReturnedNullStringTo=Null] DOMString getTranslatedShaderSource(in WebGLShader shader) raises(DOMException);
+ [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getTranslatedShaderSource(in WebGLShader shader) raises(DOMException);
};
}
[StrictTypeChecking, Custom] void getParameter();
// any getProgramParameter(in WebGLProgram program, in unsigned long pname) raises(DOMException);
[StrictTypeChecking, Custom] void getProgramParameter();
- [StrictTypeChecking, TreatReturnedNullStringTo=Null] DOMString getProgramInfoLog(in WebGLProgram program) raises(DOMException);
+ [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getProgramInfoLog(in WebGLProgram program) raises(DOMException);
// any getRenderbufferParameter(in unsigned long target, in unsigned long pname) raises(DOMException);
[StrictTypeChecking, Custom] void getRenderbufferParameter();
// any getShaderParameter(in WebGLShader shader, in unsigned long pname) raises(DOMException);
[StrictTypeChecking, Custom] void getShaderParameter() raises(DOMException);
- [StrictTypeChecking, TreatReturnedNullStringTo=Null] DOMString getShaderInfoLog(in WebGLShader shader) raises(DOMException);
+ [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getShaderInfoLog(in WebGLShader shader) raises(DOMException);
// TBD
// void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);
- [StrictTypeChecking, TreatReturnedNullStringTo=Null] DOMString getShaderSource(in WebGLShader shader) raises(DOMException);
+ [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getShaderSource(in WebGLShader shader) raises(DOMException);
// DOMString[] getSupportedExtensions()
[StrictTypeChecking, Custom] void getSupportedExtensions();
void alert(in [Optional=TreatAsUndefined] DOMString message);
boolean confirm(in [Optional=TreatAsUndefined] DOMString message);
- [TreatReturnedNullStringTo=Null] DOMString prompt(in [Optional=TreatAsUndefined] DOMString message,
+ [TreatReturnedNullStringAs=Null] DOMString prompt(in [Optional=TreatAsUndefined] DOMString message,
in [TreatNullAs=NullString, TreatUndefinedAs=NullString,Optional=TreatAsUndefined] DOMString defaultValue);
boolean find(in [Optional=TreatAsUndefined] DOMString string,
interface [
Conditional=INDEXED_DATABASE
] IDBObjectStore {
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString name;
- readonly attribute [TreatReturnedNullStringTo=Null] DOMString keyPath;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString name;
+ readonly attribute [TreatReturnedNullStringAs=Null] DOMString keyPath;
readonly attribute DOMStringList indexNames;
readonly attribute IDBTransaction transaction;
getter raises (IDBDatabaseException);
readonly attribute unsigned short errorCode
getter raises (IDBDatabaseException);
- readonly attribute [TreatReturnedNullStringTo=Undefined] DOMString webkitErrorMessage
+ readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString webkitErrorMessage
getter raises (IDBDatabaseException);
readonly attribute IDBAny source;
readonly attribute IDBTransaction transaction;
CustomNamedSetter,
] Storage {
readonly attribute [NotEnumerable] unsigned long length;
- [NotEnumerable, TreatReturnedNullStringTo=Null] DOMString key(in unsigned long index);
- [NotEnumerable, TreatReturnedNullStringTo=Null] DOMString getItem(in DOMString key);
+ [NotEnumerable, TreatReturnedNullStringAs=Null] DOMString key(in unsigned long index);
+ [NotEnumerable, TreatReturnedNullStringAs=Null] DOMString getItem(in DOMString key);
[NotEnumerable] void setItem(in DOMString key, in DOMString data)
raises(DOMException);
[NotEnumerable] void removeItem(in DOMString key);
ConstructorTemplate=Event
] StorageEvent : Event {
readonly attribute [InitializedByEventConstructor] DOMString key;
- readonly attribute [InitializedByEventConstructor, TreatReturnedNullStringTo=Null] DOMString oldValue;
- readonly attribute [InitializedByEventConstructor, TreatReturnedNullStringTo=Null] DOMString newValue;
+ readonly attribute [InitializedByEventConstructor, TreatReturnedNullStringAs=Null] DOMString oldValue;
+ readonly attribute [InitializedByEventConstructor, TreatReturnedNullStringAs=Null] DOMString newValue;
readonly attribute [InitializedByEventConstructor] DOMString url;
readonly attribute [InitializedByEventConstructor] Storage storageArea;
attribute EventListener onerror;
attribute EventListener onclose;
- readonly attribute [TreatReturnedNullStringTo=Undefined] DOMString protocol;
- readonly attribute [TreatReturnedNullStringTo=Undefined] DOMString extensions;
+ readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString protocol;
+ readonly attribute [TreatReturnedNullStringAs=Undefined] DOMString extensions;
- attribute [TreatReturnedNullStringTo=Undefined] DOMString binaryType
+ attribute [TreatReturnedNullStringAs=Undefined] DOMString binaryType
setter raises(DOMException);
// FIXME: Use overloading provided by our IDL code generator.
readonly attribute XMLHttpRequestUpload upload;
// response
- [TreatReturnedNullStringTo=Undefined] DOMString getAllResponseHeaders()
+ [TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders()
raises(DOMException);
- [TreatReturnedNullStringTo=Null] DOMString getResponseHeader(in DOMString header)
+ [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(in DOMString header)
raises(DOMException);
- readonly attribute [CustomGetter] DOMString responseText // The custom getter implements TreatReturnedNullStringTo=Null
+ readonly attribute [CustomGetter] DOMString responseText // The custom getter implements TreatReturnedNullStringAs=Null
getter raises(DOMException);
readonly attribute Document responseXML
getter raises(DOMException);
ObjCProtocol,
OmitConstructor
] XPathNSResolver {
- [TreatReturnedNullStringTo=Null] DOMString lookupNamespaceURI(in [Optional=TreatAsUndefined] DOMString prefix);
+ [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI(in [Optional=TreatAsUndefined] DOMString prefix);
};
}
[Custom] Document transformToDocument(in Node source);
[Custom] void setParameter(in DOMString namespaceURI, in DOMString localName, in DOMString value);
- [Custom, TreatReturnedNullStringTo=Undefined] DOMString getParameter(in DOMString namespaceURI, in DOMString localName);
+ [Custom, TreatReturnedNullStringAs=Undefined] DOMString getParameter(in DOMString namespaceURI, in DOMString localName);
[Custom] void removeParameter(in DOMString namespaceURI, in DOMString localName);
void clearParameters();