2011-03-29 Emil A Eklund <eae@chromium.org>
authoreae@chromium.org <eae@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Mar 2011 22:10:11 +0000 (22:10 +0000)
committereae@chromium.org <eae@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Mar 2011 22:10:11 +0000 (22:10 +0000)
commitd12fa2822cfe923270a2dfd06b3947a24ed5b883
tree1b3d555acac0672362fac1b8496a00614e96a5f9
parent12df01ec41cfde6da7b27b1fc371fc10b6d2fa1d
2011-03-29  Emil A Eklund  <eae@chromium.org>

        Reviewed by Dimitri Glazkov.

        DatasetDOMStringMap::item and ::contains copies attribute name string
        https://bugs.webkit.org/show_bug.cgi?id=55645

        * fast/dom/script-tests/dataset-expected.txt:
        * fast/dom/script-tests/dataset.js:
            Added extra test cases for getting fields by property name.
2011-03-29  Emil A Eklund  <eae@chromium.org>

        Reviewed by Dimitri Glazkov.

        DatasetDOMStringMap::item and ::contains copies attribute name string
        https://bugs.webkit.org/show_bug.cgi?id=55645

        Change propertyNameMatchesAttributeName to match without creating a copy
        of the string.

        * dom/DatasetDOMStringMap.cpp:
        (WebCore::propertyNameMatchesAttributeName):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/dataset-expected.txt
LayoutTests/fast/dom/script-tests/dataset.js
Source/WebCore/ChangeLog
Source/WebCore/dom/DatasetDOMStringMap.cpp