Open Bug 1255032 Opened 8 years ago Updated 4 years ago

Rewrite distribution.js testcases

Categories

(Firefox :: Distributions, enhancement, P5)

enhancement

Tracking

()

REOPENED
Tracking Status
firefox48 --- affected

People

(Reporter: mkaply, Assigned: mkaply)

Details

The distribution.js testcases throughout the tree rely on custom hooks built into browser glue for initializing distributions.

While this makes unit tests possible, it means that we're not really testing the true functionality, especially as it relates to browser startup and timing.

We should write more testcases using marionette.
The setup for a marionette testcase runs too late so we can't put the distribution.ini file in the profile directory and set the correct preferences.

It looks like we're stuck with the same problem we have for creating AutoConfig testcases - our test harnesses don't support dropping in files before tests are run.
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Autoconfig does have test, so we should be able to do something
Status: RESOLVED → REOPENED
Resolution: INACTIVE → ---
Severity: normal → N/A
Type: defect → enhancement
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.