Skip to content
  • jsbell@chromium.org's avatar
    IndexedDB: The |source| property of IDBFactory.open() request should be null · 73d661ef
    jsbell@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=96551
    
    Reviewed by Tony Chang.
    
    Source/WebCore:
    
    Per the IDB spec, the source property of the IDBOpenDBRequest returned by IDBFactory.open()
    should be set to null. We were setting it to the IDBFactory object instead.
    
    Tests: storage/indexeddb/basics.html
           storage/indexeddb/basics-workers.html
           storage/indexeddb/mozilla/event-source.html
           storage/indexeddb/readonly.html
    
    * Modules/indexeddb/IDBFactory.cpp:
    (WebCore::IDBFactory::open):
    
    LayoutTests:
    
    Already tested for in several places, so just update expectations/assertions.
    
    * storage/indexeddb/basics-expected.txt:
    * storage/indexeddb/basics-workers-expected.txt:
    * storage/indexeddb/mozilla/event-source-expected.txt:
    * storage/indexeddb/mozilla/resources/event-source.js: Updated assertion.
    (openSuccess):
    * storage/indexeddb/readonly-expected.txt:
    * storage/indexeddb/resources/basics.js: Updated assertion.
    (test):
    (openCallback):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    73d661ef