Remove OS.File
Categories
(Toolkit Graveyard :: OS.File, task, P3)
Tracking
(firefox115 fixed)
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: beth, Assigned: beth)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Assignee | ||
Comment 1•2 years ago
|
||
This needs to remove toolkit/components/lz4/ and https://searchfox.org/mozilla-central/rev/75da1dd5d4b9b991f919a41594194eab93cdef62/js/xpconnect/tests/browser/browser_import_mapped_jsm.js#31
Assignee | ||
Comment 3•2 years ago
|
||
This patch removes the vast majority of OS.File and support code. A few things remain:
- The nsIOSFileConstantsService still exists, but the path related constants
(OS.Constants.Path.*) are no longer added to the OS object. The plan is to
replace this with a proper service e.g. Services.osConstants or similar) in
bug 1786885. - There is still support for OS.File errors in ErrorSanitizer, which will be
removed in bug 1775167. - The OS.File to IOUtils migration guide will be rewritten as general IOUtils
documentation in bug 1830097. - dom/base/Document.cpp has a workaround for not loading osfile.jsm at startup,
which may want to be reconsidered in bug 1830100.
So long, and thanks for all the I/O.
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Backed out for causing Gecko Decision bustage.
Backout link: https://hg.mozilla.org/integration/autoland/rev/eb0bb293423e69ba6080f339a38001cf63278e1d
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&classifiedState=unclassified&revision=fc8a2b80e9f680aed4f159ff3079f8a4f64761c9
Failure log: https://treeherder.mozilla.org/logviewer?job_id=414067727&repo=autoland&lineNumber=1996
Assignee | ||
Updated•2 years ago
|
Comment 7•2 years ago
|
||
Backed out for causing multiple xpcshell and bc failures
Push with failures 1 - xpcshell -> Failure log 1 - xpcshell
Push with failures 2 - xpcshell -> Failure log 2 - xpcshell
Push with failures 3 - bc -> Failure log 3 - bc
Push with failures 4 - bc -> Failure log 4 - bc
Comment 9•2 years ago
|
||
Backed out for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_downloads_download.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/cac4f52c354ca171123bf562a2314ee171fe73e2
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
bugherder |
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Description
•