Skip to content
  • jsbell@chromium.org's avatar
    IndexedDB: IDL types defined in spec should be visible to scripts · 9b681a3b
    jsbell@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=99093
    
    Reviewed by Adam Barth.
    
    Source/WebCore:
    
    Interfaces defined in the spec WebIDL, such as IDBCursorWithValue, should be exposed
    to scripts as properties of the global object. A few types were missing - add them.
    
    Test: storage/indexeddb/interfaces.html
    
    * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
    * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
    
    LayoutTests:
    
    Verify that interfaces defined in the IDB spec's WebIDL are present on the
    global object.
    
    * storage/indexeddb/interfaces-expected.txt: Added.
    * storage/indexeddb/interfaces.html: Added.
    * storage/indexeddb/resources/interfaces.js: Added.
    * storage/indexeddb/resources/shared.js: Remove assertion redundant with this test.
    (test):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    9b681a3b