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)
DevTools
Framework
Tracking
(Not tracked)
NEW
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();
Updated•12 years ago
|
Whiteboard: ಠ_ಠ
Comment 1•12 years ago
|
||
This is from bug 851546.
Comment 2•12 years ago
|
||
(In reply to Anton Kovalyov (:anton) from comment #1)
> This is from bug 851546.
No, it is due to bug 862398
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•