Skip to content
  • commit-queue@webkit.org's avatar
    Remove ensureAuxiliaryContext · d365a3df
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=99975
    
    Patch by Dan Carney <dcarney@google.com> on 2012-10-29
    Reviewed by Adam Barth.
    
    Source/WebCore:
    
    Removed auxilliaryContext as use if it is problematic in IDB.
    
    No new tests. No change in functionality.
    
    * Modules/indexeddb/IDBCursor.cpp:
    (WebCore::IDBCursor::update):
    (WebCore::IDBCursor::setValueReady):
    * Modules/indexeddb/IDBCursor.h:
    (IDBCursor):
    * Modules/indexeddb/IDBObjectStore.cpp:
    (WebCore::generateIndexKeysForValue):
    (WebCore::IDBObjectStore::put):
    (WebCore):
    * Modules/indexeddb/IDBRequest.cpp:
    (WebCore::IDBRequest::onSuccess):
    (WebCore::IDBRequest::dispatchEvent):
    * bindings/v8/IDBBindingUtilities.cpp:
    (WebCore::createIDBKeyFromScriptValueAndKeyPath):
    (WebCore::deserializeIDBValue):
    (WebCore::injectIDBKeyIntoScriptValue):
    * bindings/v8/IDBBindingUtilities.h:
    (WebCore):
    * bindings/v8/V8Binding.cpp:
    (WebCore::toV8Context):
    (WebCore):
    * bindings/v8/V8Binding.h:
    (WebCore):
    * bindings/v8/V8PerIsolateData.cpp:
    (WebCore):
    * bindings/v8/V8PerIsolateData.h:
    
    Source/WebKit/chromium:
    
    Updated tests to use correct v8 context.
    
    * tests/IDBBindingUtilitiesTest.cpp:
    (WebKit::checkKeyFromValueAndKeyPathInternal):
    (WebKit::checkKeyPathNullValue):
    (WebKit::injectKey):
    (WebKit::checkInjection):
    (WebKit::checkInjectionFails):
    (WebKit::checkKeyPathStringValue):
    (WebKit::checkKeyPathNumberValue):
    (WebKit::scriptExecutionContext):
    (WebKit):
    (WebKit::TEST):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132845 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d365a3df