2011-05-04 Mark Pilgrim <pilgrim@chromium.org>
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 May 2011 18:55:18 +0000 (18:55 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 4 May 2011 18:55:18 +0000 (18:55 +0000)
commitd7f5ff47b7d7c6340e2c9b12c456747135609f4c
tree2d0310e23f5111e502f1bd85ba5b41311b9f0233
parent8c387fc6daa7ec65ddf2e14b21b0bcd4cedcf19c
2011-05-04  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        IndexedDB open (database) should fail if name is null
        https://bugs.webkit.org/show_bug.cgi?id=60022

        * storage/indexeddb/mozilla/open-database-null-name-expected.txt: Added.
        * storage/indexeddb/mozilla/open-database-null-name.html: Added.
2011-05-04  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        IndexedDB open (database) should fail if name is null
        https://bugs.webkit.org/show_bug.cgi?id=60022

        Test: storage/indexeddb/mozilla/open-database-null-name.html

        Combination problem: Bug in IDL didn't pass null values to .cpp layer,
        then .cpp layer didn't check for null value anyway.

        * storage/IDBFactory.cpp:
        (WebCore::IDBFactory::open): check for null name
        * storage/IDBFactory.idl: pass null name as null

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@85770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/storage/indexeddb/mozilla/open-database-null-name-expected.txt [new file with mode: 0644]
LayoutTests/storage/indexeddb/mozilla/open-database-null-name.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/storage/IDBFactory.cpp
Source/WebCore/storage/IDBFactory.idl