|Summary:||Modern IDB (Workers): Introduce "IDBConnectionProxy" for future threading abstraction, and adopt it in IDBFactory|
|Product:||WebKit||Reporter:||Brady Eidson <beidson>|
|Component:||WebCore Misc.||Assignee:||Brady Eidson <beidson>|
|Version:||WebKit Nightly Build|
|Bug Depends on:|
|Bug Blocks:||149117, 149953|
Description Brady Eidson 2016-04-20 14:47:26 PDT
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.
Comment 1 Brady Eidson 2016-04-20 14:48:55 PDT
While I'm touching IDBFactory, I'm going to modernize it a bit by replacing ExceptionCode with ExceptionCodeWithMessage.
Comment 3 Brady Eidson 2016-04-20 15:33:03 PDT
Seems to have recked havoc on mac-wk2 tests (of course everything works great locally *sigh*) Will fix before landing.
Comment 4 Brady Eidson 2016-04-20 16:40:40 PDT
NM! Things are fine. Yay.