24
edits
(→Expose DOMRequest to workers: Add DOMCursor to dependencies) |
(→Expose Device Storage to workers: add implementation note about ensuring appropriate thread contexts and window references) |
||
Line 115: | Line 115: | ||
DeviceStorageAreaListener should be updated to listener on the ObserverManager, same as nsDOMDeviceStorage, in order to receive the volume state change messages. | DeviceStorageAreaListener should be updated to listener on the ObserverManager, same as nsDOMDeviceStorage, in order to receive the volume state change messages. | ||
nsDOMDeviceStorage must maintain a reference to the owning thread and ensure that all DOM interacting code runs on said thread. It must also ensure that all references to the window are replaced with either the nsIGlobalScript reference (i.e. nsDOMDeviceStorage::GetOwnerGlobal()) for DOMCursor and DOMRequest objects, nsDOMDeviceStorage for objects that accept an nsISupports reference as the parent object (i.e. Blob::Create) and nullptr for the remainder. | |||
All existing device storage test cases should be updated/cloned to run in both a worker and the main thread contexts. | All existing device storage test cases should be updated/cloned to run in both a worker and the main thread contexts. |
edits