Closed
Bug 1349570
Opened 7 years ago
Closed 7 years ago
nsPipe3 should not be nsISeekableStream
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INVALID
People
(Reporter: baku, Assigned: baku)
References
Details
Attachments
(1 file, 1 obsolete file)
5.37 KB,
patch
|
Details | Diff | Splinter Review |
Currently we have just ::Tell() implemented. ::Seek() and ::SetEOF just return an error code. It seems that nsPipe3 is not used as seekable in our codebase, and the removal is green on try.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee: nobody → amarchesini
Attachment #8850031 -
Flags: review?(bugs)
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8850031 -
Attachment is obsolete: true
Attachment #8850031 -
Flags: review?(bugs)
Attachment #8850064 -
Flags: review?(bugs)
Comment 3•7 years ago
|
||
Comment on attachment 8850064 [details] [diff] [review] pipe_noSeekable.patch How did you check Tell isn't being used? I couldn't figure out any easy way to check that pipe's inputstream isn't accessed as nsISeekableStream. Did you check also that Thunderbird doesn't use the inputstream as seekable? Please explain, and ask review again.
Attachment #8850064 -
Flags: review?(bugs)
Assignee | ||
Comment 4•7 years ago
|
||
> How did you check Tell isn't being used? I relay in tests: I pushed the current patch to try and it's green. > Did you check also that Thunderbird doesn't use the inputstream as seekable? Also this is not easy to do. I prefer to push this patch, and in case we break something we can introduce a "nsITellableStream".
Assignee | ||
Updated•7 years ago
|
Attachment #8850064 -
Flags: review?(bugs)
Comment 5•7 years ago
|
||
(In reply to Andrea Marchesini [:baku] from comment #4) > > How did you check Tell isn't being used? > > I relay in tests: I pushed the current patch to try and it's green. ok, I don't think that is good enough. Is there some particular reason why this change must be done? And if so, better to audit at least Gecko code about the possible usage, and just running tests isn't really auditing.
Updated•7 years ago
|
Attachment #8850064 -
Flags: review?(bugs)
Assignee | ||
Comment 6•7 years ago
|
||
I think I have found a better solution.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•