New test failures: uncaught rejection: IndexedDB: main/content-classifier-lists [...]
Categories
(Core :: Privacy: Anti-Tracking, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr153 | --- | unaffected |
| firefox160 | --- | unaffected |
| firefox161 | --- | wontfix |
| firefox162 | --- | wontfix |
People
(Reporter: manuel, Assigned: timhuang)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 external files)
There seem to be three new test failures appearing on Anti-Tracking tests that correlates with the enabling the new engine
https://tests.firefox.dev/failures.html#date=21days&q=main%2Fcontent-classifier-lists
- uncaught rejection: IndexedDB: main/content-classifier-lists list() IndexedDB: execute() A request was aborted, for example through a call to IDBTransaction.abort. (278 failures across 8 tests in the past 3 days)
- uncaught rejection: IndexedDB: main/content-classifier-lists importChanges() IndexedDB: execute() The application is shutting down (246 failures across 8 tests in the past 3 days)
- uncaught rejection: IndexedDB: main/content-classifier-lists list() IndexedDB: execute() The application is shutting down (30 failures across 8 tests in the past 3 days)
It also affects mochitest (https://tests.firefox.dev/failures.html?kind=mochitest#date=21days&q=main%2Fcontent-classifier-lists):
- Uncaught exception in setup - at resource://services-settings/IDBHelpers.sys.mjs:16 - InvalidStateError: IndexedDB: main/content-classifier-lists importChanges() IDBDatabase.transaction: Can't start a transaction on a closed database (1073 failures in dom/serviceworkers/test/browser_purgeTrackers_serviceWorkers.js)
Comment 1•17 days ago
|
||
:timhuang, since you are the author of the regressor, bug 2053164, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 2•17 days ago
|
||
Set release status flags based on info from the regressing bug 2053164
| Assignee | ||
Updated•13 days ago
|
| Assignee | ||
Comment 3•9 days ago
|
||
This patch makes xpcshell tests wait for cleanupTestTrackers(). With the
content classifier enabled it writes to the content-classifier-lists Remote
Settings collection, so an unawaited call at the end of a test raced
shutdown and surfaced as an uncaught IndexedDB rejection.
Updated•9 days ago
|
| Assignee | ||
Comment 4•9 days ago
|
||
This patch makes ContentClassifierTestUtils drop the stale Remote Settings
IndexedDB connection and retry once when publishing or unpublishing lists
fails with InvalidStateError. Services.qms.reset() in tests such as
browser_navigation_fetch_fault_handling.js closes every connection, but
Remote Settings keeps using its cached one, so a later
UrlClassifierTestUtils.addTestTrackers() failed with "Can't start a
transaction on a closed database".
Description
•