Changeset 134840 in webkit


Ignore:
Timestamp:
Nov 15, 2012 3:26:16 PM (11 years ago)
Author:
arv@chromium.org
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:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r134838 r134840  
     12012-11-15  Erik Arvidsson  <arv@chromium.org>
     2
     3        Update DOMException name: DOMStringSizeError
     4        https://bugs.webkit.org/show_bug.cgi?id=102089
     5
     6        Reviewed by Ojan Vafai.
     7
     8        Patch 2 of 25 to update DOMException name to match the spec and Firefox.
     9
     10        DOMSTRING_SIZE_ERR is historical and not used in any spec or in our code.
     11
     12        * dom/DOMCoreException.cpp:
     13        * dom/ExceptionCode.h:
     14
    1152012-11-15  Joshua Bell  <jsbell@chromium.org>
    216
  • trunk/Source/WebCore/dom/DOMCoreException.cpp

    r134792 r134840  
    3737} coreExceptions[] = {
    3838    { "IndexSizeError", "Index or size was negative, or greater than the allowed value." },
    39     { "DOMSTRING_SIZE_ERR", "The specified range of text did not fit into a DOMString." },
     39    { "DOMStringSizeError", "The specified range of text did not fit into a DOMString." },
    4040    { "HierarchyRequestError", "A Node was inserted somewhere it doesn't belong." },
    4141    { "WrongDocumentError", "A Node was used in a different document than the one that created it (that doesn't support it)." },
  • trunk/Source/WebCore/dom/ExceptionCode.h

    r134659 r134840  
    3636    enum {
    3737        INDEX_SIZE_ERR = 1,
    38         DOMSTRING_SIZE_ERR = 2,
     38        DOMSTRING_SIZE_ERR = 2, // historical
    3939        HIERARCHY_REQUEST_ERR = 3,
    4040        WRONG_DOCUMENT_ERR = 4,
Note: See TracChangeset for help on using the changeset viewer.