Title: [134610] trunk/Source/WebCore
Revision
134610
Author
a...@chromium.org
Date
2012-11-14 07:55:48 -0800 (Wed, 14 Nov 2012)

Log Message

Update DOMException name: NoDataAllowedError
https://bugs.webkit.org/show_bug.cgi?id=102132

Reviewed by Darin Adler.

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

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

* dom/DOMCoreException.cpp:
(WebCore):
* dom/ExceptionCode.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (134609 => 134610)


--- trunk/Source/WebCore/ChangeLog	2012-11-14 15:35:38 UTC (rev 134609)
+++ trunk/Source/WebCore/ChangeLog	2012-11-14 15:55:48 UTC (rev 134610)
@@ -1,3 +1,18 @@
+2012-11-14  Erik Arvidsson  <a...@chromium.org>
+
+        Update DOMException name: NoDataAllowedError
+        https://bugs.webkit.org/show_bug.cgi?id=102132
+
+        Reviewed by Darin Adler.
+
+        Patch 6 of 25 to update DOMException name to match the spec and Firefox.
+
+        NO_DATA_ALLOWED_ERR is historical and not used in any spec or in our code.
+
+        * dom/DOMCoreException.cpp:
+        (WebCore):
+        * dom/ExceptionCode.h:
+
 2012-11-14  Pavel Feldman  <pfeld...@chromium.org>
 
         Web Inspector: "Reveal in Element Panel" doesn't work if Elements panel hasn't been opened

Modified: trunk/Source/WebCore/dom/DOMCoreException.cpp (134609 => 134610)


--- trunk/Source/WebCore/dom/DOMCoreException.cpp	2012-11-14 15:35:38 UTC (rev 134609)
+++ trunk/Source/WebCore/dom/DOMCoreException.cpp	2012-11-14 15:55:48 UTC (rev 134610)
@@ -40,7 +40,7 @@
     { "HierarchyRequestError", "A Node was inserted somewhere it doesn't belong." },
     { "WRONG_DOCUMENT_ERR", "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." },
-    { "NO_DATA_ALLOWED_ERR", "Data was specified for a Node which does not support data." },
+    { "NoDataAllowedError", "Data was specified for a Node which does not support data." },
     { "NO_MODIFICATION_ALLOWED_ERR", "An attempt was made to modify an object where modifications are not allowed." },
     { "NOT_FOUND_ERR", "An attempt was made to reference a Node in a context where it does not exist." },
     { "NOT_SUPPORTED_ERR", "The implementation did not support the requested type of object or operation." },

Modified: trunk/Source/WebCore/dom/ExceptionCode.h (134609 => 134610)


--- trunk/Source/WebCore/dom/ExceptionCode.h	2012-11-14 15:35:38 UTC (rev 134609)
+++ trunk/Source/WebCore/dom/ExceptionCode.h	2012-11-14 15:55:48 UTC (rev 134610)
@@ -30,13 +30,16 @@
     // an exception of any type can be expressed with a single integer.
     typedef int ExceptionCode;
 
+
+    // Some of these are considered historical since they have been
+    // changed or removed from the specifications.
     enum {
         INDEX_SIZE_ERR = 1,
         DOMSTRING_SIZE_ERR = 2,
         HIERARCHY_REQUEST_ERR = 3,
         WRONG_DOCUMENT_ERR = 4,
         INVALID_CHARACTER_ERR = 5,
-        NO_DATA_ALLOWED_ERR = 6,
+        NO_DATA_ALLOWED_ERR = 6, // Historical
         NO_MODIFICATION_ALLOWED_ERR = 7,
         NOT_FOUND_ERR = 8,
         NOT_SUPPORTED_ERR = 9,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to