Closed Bug 1421678 Opened 7 years ago Closed 7 years ago

Get rid of a warning message in nsFileInputStream DTOR

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 file)

In the DTOR of nsFileInputStream, Close() is executed, and this tries to call Tell() in order to rewind the stream. This is not needed in the DTOR and we can avoid having a warning message for this.
Attached patch warning.patchSplinter Review
Attachment #8932965 - Flags: review?(kyle)
Attachment #8932965 - Flags: review?(kyle) → review+
Priority: -- → P2
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/be95a1123de4 Get rid of nsFileInputStream::Tell warning message when nsFileInputStream is destroyed, r=qdot
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
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: