Closed Bug 1414015 Opened 4 years ago Closed 4 years ago

Fixing a wrong comment in IPCBlobInputStream

Categories

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

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: baku, Assigned: baku)

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/dd47bee6468de7e1221b4d006342ad6b9813d0e5/dom/file/ipc/IPCBlobInputStream.cpp#162-166

  // We don't have a remoteStream yet. Let's return the full known size.
  if (mState == eInit || mState == ePending) {
    *aLength = 0;
    return NS_OK;
  }

this comment is wrong, clearly.
Attached patch comments.patchSplinter Review
Attachment #8924668 - Flags: review?(bugs)
Assignee: nobody → amarchesini
Attachment #8924668 - Flags: review?(bugs) → review+
Pushed by amarchesini@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f46a10fded3e
Fixing a wrong comment in IPCBlobInputStream, r=smaug
https://hg.mozilla.org/mozilla-central/rev/f46a10fded3e
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.