Closed Bug 282275 Opened 19 years ago Closed 19 years ago

remove NS_NOTREACHED in ReadSegments implementations

Categories

(Core :: Networking, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.8beta2

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

Attachments

(1 file)

it is not a mistake to call ReadSegments on a stream that does not support it.
callers may handle NS_ERROR_NOT_IMPLEMENTED gracefully and fall back to Read.
Attached patch patchSplinter Review
Attachment #174341 - Flags: superreview?(darin)
Attachment #174341 - Flags: review?(darin)
Severity: normal → minor
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → mozilla1.8beta2
Attachment #174341 - Flags: superreview?(darin)
Attachment #174341 - Flags: superreview+
Attachment #174341 - Flags: review?(darin)
Attachment #174341 - Flags: review+
Checking in modules/libjar/nsJARChannel.cpp;
/cvsroot/mozilla/modules/libjar/nsJARChannel.cpp,v  <--  nsJARChannel.cpp
new revision: 1.114; previous revision: 1.113
done
Checking in netwerk/base/src/nsDirectoryIndexStream.cpp;
/cvsroot/mozilla/netwerk/base/src/nsDirectoryIndexStream.cpp,v  <-- 
nsDirectoryIndexStream.cpp
new revision: 1.34; previous revision: 1.33
done
Checking in netwerk/base/src/nsFileStreams.cpp;
/cvsroot/mozilla/netwerk/base/src/nsFileStreams.cpp,v  <--  nsFileStreams.cpp
new revision: 1.72; previous revision: 1.71
done
Checking in netwerk/cache/src/nsCacheEntryDescriptor.cpp;
/cvsroot/mozilla/netwerk/cache/src/nsCacheEntryDescriptor.cpp,v  <-- 
nsCacheEntryDescriptor.cpp
new revision: 1.58; previous revision: 1.57
done
Checking in netwerk/cache/src/nsDiskCacheStreams.cpp;
/cvsroot/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp,v  <-- 
nsDiskCacheStreams.cpp
new revision: 1.16; previous revision: 1.15
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: