Title: [134840] trunk/Source/WebCore
Revision
134840
Author
[email protected]
Date
2012-11-15 15:26:16 -0800 (Thu, 15 Nov 2012)

Log Message

Update DOMException name: DOMStringSizeError
https://bugs.webkit.org/show_bug.cgi?id=102089

Reviewed by Ojan Vafai.

Patch 2 of 25 to update DOMException name to match the spec and Firefox.

DOMSTRING_SIZE_ERR is historical and not used in any spec or in our code.

* dom/DOMCoreException.cpp:
* dom/ExceptionCode.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (134839 => 134840)


--- trunk/Source/WebCore/ChangeLog	2012-11-15 23:24:00 UTC (rev 134839)
+++ trunk/Source/WebCore/ChangeLog	2012-11-15 23:26:16 UTC (rev 134840)
@@ -1,3 +1,17 @@
+2012-11-15  Erik Arvidsson  <[email protected]>
+
+        Update DOMException name: DOMStringSizeError
+        https://bugs.webkit.org/show_bug.cgi?id=102089
+
+        Reviewed by Ojan Vafai.
+
+        Patch 2 of 25 to update DOMException name to match the spec and Firefox.
+
+        DOMSTRING_SIZE_ERR is historical and not used in any spec or in our code.
+
+        * dom/DOMCoreException.cpp:
+        * dom/ExceptionCode.h:
+
 2012-11-15  Joshua Bell  <[email protected]>
 
         IndexedDB: Indexing tests are flaky-crashing

Modified: trunk/Source/WebCore/dom/DOMCoreException.cpp (134839 => 134840)


--- trunk/Source/WebCore/dom/DOMCoreException.cpp	2012-11-15 23:24:00 UTC (rev 134839)
+++ trunk/Source/WebCore/dom/DOMCoreException.cpp	2012-11-15 23:26:16 UTC (rev 134840)
@@ -36,7 +36,7 @@
     const char* const description;
 } coreExceptions[] = {
     { "IndexSizeError", "Index or size was negative, or greater than the allowed value." },
-    { "DOMSTRING_SIZE_ERR", "The specified range of text did not fit into a DOMString." },
+    { "DOMStringSizeError", "The specified range of text did not fit into a DOMString." },
     { "HierarchyRequestError", "A Node was inserted somewhere it doesn't belong." },
     { "WrongDocumentError", "A Node was used in a different document than the one that created it (that doesn't support it)." },
     { "InvalidCharacterError", "An invalid or illegal character was specified, such as in an XML name." },

Modified: trunk/Source/WebCore/dom/ExceptionCode.h (134839 => 134840)


--- trunk/Source/WebCore/dom/ExceptionCode.h	2012-11-15 23:24:00 UTC (rev 134839)
+++ trunk/Source/WebCore/dom/ExceptionCode.h	2012-11-15 23:26:16 UTC (rev 134840)
@@ -35,7 +35,7 @@
     // changed or removed from the specifications.
     enum {
         INDEX_SIZE_ERR = 1,
-        DOMSTRING_SIZE_ERR = 2,
+        DOMSTRING_SIZE_ERR = 2, // historical
         HIERARCHY_REQUEST_ERR = 3,
         WRONG_DOCUMENT_ERR = 4,
         INVALID_CHARACTER_ERR = 5,
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to