Closed Bug 1515616 Opened 6 years ago Closed 6 years ago

Various DOM tests are using unknown property Ci.nsIFile.FILE_TYPE

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(1 file)

Various DOM tests are using the unknown property "Ci.nsIFile.FILE_TYPE". It should be "Ci.nsIFile.NORMAL_FILE_TYPE". The tests will still be working correctly, as undefined will probably equate to "0", so this is just a correctness issue. I picked up on this now that we have ESLint enabled for dom/filesystem and via bug 1479513/bug 1479515.
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cc08d7a7d652 Fix various DOM tests to use nsIFile.NORMAL_FILE_TYPE rather than the unknown nsIFile.FILE_TYPE. r=smaug
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: