Closed Bug 1776480 Opened 2 years ago Closed 1 year ago

Remove OS.File

Categories

(Toolkit Graveyard :: OS.File, task, P3)

Tracking

(firefox115 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: beth, Assigned: beth)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Blocks: 1529336
Depends on: 1795183
No longer depends on: 1795183
Blocks: 1798044
Duplicate of this bug: 1798044
Blocks: 1830097

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.

Assignee: nobody → brennie
Status: NEW → ASSIGNED
Flags: needinfo?(brennie)
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/987d013caf11 Remove OS.File et al. r=Gijs,webidl,smaug
Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c698636dbfea Remove OS.File et al. r=Gijs,webidl,smaug
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
Flags: needinfo?(brennie)
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: