mirror of
https://github.com/servo/servo
synced 2026-05-14 02:47:14 +02:00
Moving IndexedDB to use the generic channel methods. Of note is the change in 'IDBRequest::execute_async'. This method previously added a channel that was constructed from the callsite in put into the AsyncOperation. Now we do not take a function but take a 'FnOnce(GenericCallback<BackendResult<T>>) -> AsyncOperation'. With this the callsite can construct the AsyncOperation to give in the 'IndexedDBThreadMsg::Async'. The rest are mostly just type changes. Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Testing: WPT tests on the IndexedDB subset still pass. --------- Signed-off-by: Narfinger <Narfinger@users.noreply.github.com>