[Webkit-unassigned] [Bug 96538] New: IndexedDB: Result of IDBFactory.deleteDatabase() should be undefined, not null

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 12 11:58:26 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=96538

           Summary: IndexedDB: Result of IDBFactory.deleteDatabase()
                    should be undefined, not null
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jsbell at chromium.org
                CC: dgrogan at chromium.org, alecflett at chromium.org


The spec http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html sayeth:

deleteDatabase
...
"If the steps above are successful, the implementation must set the result of the request to undefined..."

Currently, in WebKit, we return null:

void IDBDatabaseBackendImpl::deleteDatabase(PassRefPtr<IDBCallbacks> prpCallbacks)
{
...
    callbacks->onSuccess(SerializedScriptValue::nullValue());
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list