Closed
Bug 1742588
Opened 4 years ago
Closed 4 years ago
test_fileconstructor.xhtml isn't actually testing anything
Categories
(Core :: DOM: Content Processes, defect, P2)
Core
DOM: Content Processes
Tracking
()
RESOLVED
FIXED
96 Branch
People
(Reporter: standard8, Assigned: standard8)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
I was looking at some ESLint items today, and noticed some undefined variables in dom/base/test/chrome/test_fileconstructor.xhtml.
On closer inspection, the test isn't actually running most of the tests it is intended to. The use of promise chaining, means that the incorrect attempt to set the preference is caught by a later rejection "test" as valid, and hence the test still passes.
Fixing this means the test does pass, so there are no code issues present, though we should obviously fix the test.
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Has Regression Range: --- → yes
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Depends on D131910
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/135c60fca4f1
Rewrite test_fileconstructor.xhtml with unix line endings. r=baku
https://hg.mozilla.org/integration/autoland/rev/1ea35be32e03
Rewrite test_fileconstructor.xhtml to correctly run its tests. r=baku
Comment 4•4 years ago
|
||
Set release status flags based on info from the regressing bug 1344957
status-firefox94:
--- → affected
status-firefox95:
--- → affected
status-firefox96:
--- → affected
status-firefox-esr91:
--- → affected
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Severity: -- → N/A
Priority: -- → P2
Comment 5•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/135c60fca4f1
https://hg.mozilla.org/mozilla-central/rev/1ea35be32e03
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•