Open Bug 915939 Opened 12 years ago Updated 3 years ago

browser_toolbox_options.js passes with a randomized amount of tests

Categories

(DevTools :: Framework, defect)

defect

Tracking

(Not tracked)

People

(Reporter: bbenvie, Unassigned)

Details

(Whiteboard: ಠ_ಠ)

The test uses a not-really-random sort that causes between 59 and 62 tests to pass. We should probably change it so there's a stable amount of tests run. The code in question: > prefNodes = prefNodes.sort(() => Math.random() > 0.5 ? 1: -1); > ... > if (index < prefNodes.length) > ... > else if (index < 2*prefNodes.length) > ... > else > cleanup();
Whiteboard: ಠ_ಠ
This is from bug 851546.
(In reply to Anton Kovalyov (:anton) from comment #1) > This is from bug 851546. No, it is due to bug 862398
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.