Modern IDB (Workers): Introduce "IDBConnectionProxy" for future threading abstraction You can get to your IDBConnectionProxy from your ScriptExecutionContext, which will work on both main and worker threads. IDBConnectionProxy will hold on to the IDBConnectionToServer, which will remain a main-thread-only construct. Slowly, IDB* objects getting to their IDBConnectionProxy will replace them holding on to an IDBConnectionToServer directly.
While I'm touching IDBFactory, I'm going to modernize it a bit by replacing ExceptionCode with ExceptionCodeWithMessage.
Created attachment 276856 [details] Patch v1
Seems to have recked havoc on mac-wk2 tests (of course everything works great locally *sigh*) Will fix before landing.
NM! Things are fine. Yay.
http://trac.webkit.org/changeset/199797