CacheStorageCache::BatchOperation will delay scheduling Put operations until after first checking with the quota manager to see how much space is left. Other operations don't have to delay on the quota manager and schedule immediately, meaning an operation that is started after a put might actually get scheduled before the put.
This is a complex problem. The QuotaManager might schedule a size operation on the CacheStorageCache, which must complete for the Put to begin. So we can't make the QuotaManager call a part of a scheduled operation.
Comment 1 by jkarlin@chromium.org
, Sep 7 2016