Closed Bug 1769828 Opened 2 years ago Closed 2 years ago

Do not assume there is only test table when running test_dbservice.js

Categories

(Toolkit :: Safe Browsing, task, P1)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: dlee, Assigned: dlee)

Details

Attachments

(1 file)

No description provided.

This patch uses Array.includes instead of exact matching to check
whether the test table is present.
This is to address the problem when there is other safe browsing tables
, the testcase fails because parts variable contains all the tables.

Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/501ed4d8fe45
Do not assume there is only test tables when running test_dbservice.js r=timhuang
Pushed by nfay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3a23a97debf3
Fix lint failure in test_dbservice.js r=fix CLOSED TREE
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: