Open Bug 1565986 Opened 6 years ago Updated 3 years ago

Duplicated code in indexedDB tests should be reduced

Categories

(Core :: Storage: IndexedDB, task, P5)

task

Tracking

()

People

(Reporter: sg, Unassigned)

Details

At the moment, some functions (e.g. compareKeys) are present twice in dom/indexedDB/test/helpers.js , and again in dom/indexedDB/test/unit/xpcshell-head-parent-process.js. The duplications among these files should be checked and removed where possible.

Quota Manager already does something similar, see https://searchfox.org/mozilla-central/source/dom/quota/test/head-shared.js

Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.