Changes between Initial Version and Version 1 of Ticket #30504, comment 7


Ignore:
Timestamp:
Oct 7, 2019, 7:46:54 PM (5 weeks ago)
Author:
gk
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30504, comment 7

    initial v1  
    77`An IndexedDB transaction that was not yet complete has been aborted due to page navigation. IndexedDBHelper.jsm:145:23`
    88
    9 This was due to `Services.qms.clear()` interfering with internal open indexeddbs, which was partially fixed in #31396 and with that this error is not present anymore. In any case, I replaced `Services.qms.clear` by something that does not erase internal browser storage, but just content (using `Services.clearData` and the `CLEAR_DOM_STORAGES` flag which is `CLEAR_APPCACHE | CLEAR_DOM_QUOTA | CLEAR_DOM_PUSH_NOTIFICATIONS | CLEAR_REPORTS` (see https://searchfox.org/mozilla-esr68/rev/65b2bc1788c28cf97933c198e3e6bff3817f2d86/toolkit/components/cleardata/ClearDataService.jsm). I also removed the `Services.qms.clear()` on startup, since it should no longer be needed for removing asm.js caches (#21549).
     9This was due to `Services.qms.clear()` interfering with internal open indexeddbs, which was partially fixed in #31396 and with that this error is not present anymore. In any case, I replaced `Services.qms.clear` by something that does not erase internal browser storage, but just content (using `Services.clearData` and the `CLEAR_DOM_STORAGES` flag which is `CLEAR_APPCACHE | CLEAR_DOM_QUOTA | CLEAR_DOM_PUSH_NOTIFICATIONS | CLEAR_REPORTS` (see https://searchfox.org/mozilla-esr68/rev/65b2bc1788c28cf97933c198e3e6bff3817f2d86/toolkit/components/cleardata/ClearDataService.jsm). I also removed the `Services.qms.clear()` on startup, since it should no longer be needed for removing asm.js caches (#19417).
    1010
    1111`Error: _initWorker called too early! Please read the session file from disk first. SessionFile.jsm:334:15` this one is also in esr60. And can also be reproduced in latest Firefox with `browser.privatebrowsing.autostart = true` when using the "Forget" feature which is "hidden" in `Customize...` menu (so perhaps we could file a bugzilla issue for that). This is caused by `Services.obs.notifyObservers(null, "browser:purge-session-history", "");`.
     
    2323* `CLEAR_MEDIA_DEVICES`: Media devices are disabled
    2424
    25 Note that replacing `Services.qms.clear` by `Services.clearData(CLEAR_DOM_STORAGES` also adds some flags that clear a couple of things currently not in torbutton:
     25Note that replacing `Services.qms.clear` by `Services.clearData(CLEAR_DOM_STORAGES)` also adds some flags that clear a couple of things currently not in torbutton:
    2626
    2727* `CLEAR_REPORTS`: Clears CSP reports? I did not investigate how these reports are sent currently.