LayoutTests:

        Reviewed by Darin.

        - Test for http://bugs.webkit.org/show_bug.cgi?id=13722
          Finish testing and fixing the setting of DOM attributes to JS null

          Tests for Core DOM attributes.

        * fast/dom/coreDOM-element-attribute-js-null-expected.txt: Added.
        * fast/dom/coreDOM-element-attribute-js-null.xhtml: Added.

WebCore:

        Reviewed by Darin.

        - Patch for http://bugs.webkit.org/show_bug.cgi?id=13722
          Finish testing and fixing the setting of DOM attributes to JS null

          Convert JS null to null string for remaining Core DOM attributes.

        Test: fast/dom/coreDOM-element-attribute-js-null.xhtml

        * dom/Attr.cpp:
        (WebCore::Attr::setValue): Don't throw an expection for null values as this
        is not in the spec and Firefox does not do it either.
        * dom/Attr.idl:
        * dom/CharacterData.idl:
        * dom/ProcessingInstruction.idl:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8 files changed