Open Bug 1545591 Opened 5 years ago Updated 3 years ago

IndexedDB.jsm has no tests

Categories

(Toolkit :: Async Tooling, task, P3)

task

Tracking

()

People

(Reporter: mythmon, Unassigned)

References

Details

The Promise-based wrapper of IndexedDB in toolkit/modules/IndexedDB.jsm does not have any associated tests. The initial implementation was landed in bug 1344590, and did not include any tests. It doesn't seem that any have been added in the intervening time either.

Bugbug thinks this bug is a task, but please change it back in case of error.

Type: defect → task
Type: task → defect

This is a task (see the bug type definition at https://mozilla.github.io/bug-handling/bug-types). I know the absence of tests could be considered as a defect of the project, but it is not a defect of the product (as it is not user-facing). While writing new tests could uncover defects, they should be filed as separate bugs, and the bug to track writing tests is not a defect by itself.

Type: defect → task
Product: WebExtensions → Toolkit

Hey Andrew, you moved this from WebExtensions :: General to Toolkit :: General, but IndexedDB.jsm is listed as belonging to WebExtensions :: General. Do we need to change that or should this go back there?

Flags: needinfo?(aswan)

Kris requested Async Tooling. I'll get moz.build updated (bug 1547045)

Component: General → Async Tooling
Flags: needinfo?(aswan)
Severity: normal → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.