Unreviewed. Fixed typo in the following files. [TreatReturnedNullStringTo=] => [Treat...
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Feb 2012 08:16:25 +0000 (08:16 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Feb 2012 08:16:25 +0000 (08:16 +0000)
* 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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@107189 268f45cc-cd09-0410-ab3c-d52691b4dbfc

38 files changed:
Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/test/TestObj.idl
Source/WebCore/css/CSSCharsetRule.idl
Source/WebCore/css/CSSImportRule.idl
Source/WebCore/css/CSSPageRule.idl
Source/WebCore/css/CSSRule.idl
Source/WebCore/css/CSSStyleDeclaration.idl
Source/WebCore/css/CSSStyleRule.idl
Source/WebCore/css/CSSValue.idl
Source/WebCore/css/MediaList.idl
Source/WebCore/css/StyleSheet.idl
Source/WebCore/css/WebKitCSSKeyframesRule.idl
Source/WebCore/dom/Attr.idl
Source/WebCore/dom/CharacterData.idl
Source/WebCore/dom/Clipboard.idl
Source/WebCore/dom/DOMStringList.idl
Source/WebCore/dom/Document.idl
Source/WebCore/dom/DocumentType.idl
Source/WebCore/dom/Element.idl
Source/WebCore/dom/Entity.idl
Source/WebCore/dom/MutationRecord.idl
Source/WebCore/dom/Node.idl
Source/WebCore/dom/Notation.idl
Source/WebCore/dom/ProcessingInstruction.idl
Source/WebCore/html/DOMTokenList.idl
Source/WebCore/html/DOMURL.idl
Source/WebCore/html/HTMLMediaElement.idl
Source/WebCore/html/canvas/WebGLDebugShaders.idl
Source/WebCore/html/canvas/WebGLRenderingContext.idl
Source/WebCore/page/DOMWindow.idl
Source/WebCore/storage/IDBObjectStore.idl
Source/WebCore/storage/IDBRequest.idl
Source/WebCore/storage/Storage.idl
Source/WebCore/storage/StorageEvent.idl
Source/WebCore/websockets/WebSocket.idl
Source/WebCore/xml/XMLHttpRequest.idl
Source/WebCore/xml/XPathNSResolver.idl
Source/WebCore/xml/XSLTProcessor.idl

index 6d86ba8..91b6670 100644 (file)
@@ -1,3 +1,45 @@
+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=]
index 8a4db17..1c36dfc 100644 (file)
@@ -191,9 +191,9 @@ module test {
         [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);
 
index 2cee399..3cdaf4a 100644 (file)
@@ -23,9 +23,9 @@ module css {
     // 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
     };
index decf0f1..ddd0a8b 100644 (file)
@@ -22,7 +22,7 @@ module css {
 
     // 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;
     };
index f58e011..b3ea228 100644 (file)
@@ -23,7 +23,7 @@ module css {
     // 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;
 
index c6e5519..ab0b8ef 100644 (file)
@@ -43,7 +43,7 @@ module css {
 
         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;
index 541ea83..b448af6 100644 (file)
@@ -30,14 +30,14 @@ module css {
         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)
@@ -48,7 +48,7 @@ module css {
         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);
     };
 
index 8f106c0..c576329 100644 (file)
@@ -23,7 +23,7 @@ module css {
     // 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;
 
index 6e3c142..f7522d6 100644 (file)
@@ -34,7 +34,7 @@ module css {
         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;
index 5acd526..0da20f0 100644 (file)
@@ -31,11 +31,11 @@ module stylesheets {
         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)
index 1568d6e..d6ec19b 100644 (file)
@@ -28,12 +28,12 @@ module stylesheets {
         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
index 85949ad..63d6df1 100644 (file)
@@ -33,7 +33,7 @@ module css {
         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);
index 63df692..3008967 100644 (file)
@@ -27,11 +27,11 @@ module core {
 
         // 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
index 4db954b..c482222 100644 (file)
@@ -26,7 +26,7 @@ module core {
 
         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);
 
index a3e64de..b005046 100644 (file)
@@ -29,8 +29,8 @@
 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;
 
index c57441a..71b78e1 100644 (file)
@@ -29,7 +29,7 @@ module core {
         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);
     };
 
index 66f1c6f..fd9d808 100644 (file)
@@ -64,10 +64,10 @@ module core {
 
         // 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);
@@ -75,7 +75,7 @@ module core {
         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)
 
@@ -141,7 +141,7 @@ module core {
         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
 
@@ -184,9 +184,9 @@ module core {
 
         // 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);
@@ -197,12 +197,12 @@ module core {
 #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();
index e8ba8dc..7290232 100644 (file)
@@ -31,9 +31,9 @@ module core {
 
         // 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;        
 
     };
 
index 363f11b..8184a61 100644 (file)
@@ -27,9 +27,9 @@ module core {
 
         // 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);
index 0696c2d..b9ec406 100644 (file)
@@ -20,9 +20,9 @@
 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;
     };
 
 }
index 174c17d..a7883c5 100644 (file)
@@ -41,8 +41,8 @@ module core {
         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;
     };
 }
index 34c6866..7370325 100644 (file)
@@ -51,10 +51,10 @@ module core {
         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;
@@ -87,26 +87,26 @@ module core {
         [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;
index dde7ddd..2917cb2 100644 (file)
@@ -20,8 +20,8 @@
 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;
     };
 
 }
index 9259147..02499a2 100644 (file)
@@ -24,8 +24,8 @@ module core {
 
         // 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
index d6a97f1..06a331b 100644 (file)
@@ -29,7 +29,7 @@ module core {
         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);
index 426f757..d541af4 100644 (file)
@@ -33,9 +33,9 @@ module html {
         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);
     };
 }
index 2ec8ace..ef2fcaa 100644 (file)
@@ -117,7 +117,7 @@ module html {
     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;
 };
 }
index 990cea3..ee330b6 100644 (file)
@@ -29,6 +29,6 @@ module html {
         JSGenerateIsReachable=ImplContext,
         OmitConstructor
     ] WebGLDebugShaders {
-        [StrictTypeChecking, TreatReturnedNullStringTo=Null] DOMString getTranslatedShaderSource(in WebGLShader shader) raises(DOMException);
+        [StrictTypeChecking, TreatReturnedNullStringAs=Null] DOMString getTranslatedShaderSource(in WebGLShader shader) raises(DOMException);
     };
 }
index bf8a7e3..3aed436 100644 (file)
@@ -542,18 +542,18 @@ module html {
         [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();
index 05afb1e..a419921 100644 (file)
@@ -79,7 +79,7 @@ module window {
 
         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,
index 22ae884..cea92ab 100644 (file)
@@ -28,8 +28,8 @@ module storage {
     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;
 
index c2353fa..8c3e385 100644 (file)
@@ -38,7 +38,7 @@ module storage {
             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;
index aa4c613..92610d7 100644 (file)
@@ -33,8 +33,8 @@ module storage {
         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);
index a525906..4220dff 100644 (file)
@@ -29,8 +29,8 @@ module storage {
         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;
 
index 139282d..92835ae 100644 (file)
@@ -57,10 +57,10 @@ module websockets {
         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.
index 7f52d27..0dcedfe 100644 (file)
@@ -89,11 +89,11 @@ module xml {
         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);
index 60d6fed..6b45dfe 100644 (file)
@@ -24,7 +24,7 @@ module xpath {
         ObjCProtocol,
         OmitConstructor
     ] XPathNSResolver {
-        [TreatReturnedNullStringTo=Null] DOMString lookupNamespaceURI(in [Optional=TreatAsUndefined] DOMString prefix);
+        [TreatReturnedNullStringAs=Null] DOMString lookupNamespaceURI(in [Optional=TreatAsUndefined] DOMString prefix);
     };
 
 }
index 750edb6..48ec6c2 100644 (file)
@@ -42,7 +42,7 @@ module xml {
         [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();