Closed Bug 47498 Opened 25 years ago Closed 24 years ago

OnDataAvailable() is never called again if data is not read from the Stream

Categories

(Core Graveyard :: Plug-ins, defect, P3)

x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED
Future

People

(Reporter: awk, Assigned: serhunt)

Details

From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; DigExt) BuildID: 2000073008 A Plugin handling a Stream of incoming data should be able to return NS_OK from OnDataAvailable() without actually removing any data from the Stream (since it's internal buffers are full) and be assured that OnDataAvailable() will be called again in the future. Currently if you return from OnDataAvailable() without reading from the stream Mozilla never calls OnDataAvailable() again. Reproducible: Always Without fixing this implementing any plugin with 'streaming' behaviour is much more complicated. This new behaviour is also very different from what happens in Netscape 4 using NPP_WriteReady() and NPP_Write().
Confirming for evaluation. awk@pulse3d.com - I've upgraded your Bugzilla privileges so you submit NEW bugs by default, as you are a developer. Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Not a Netscape 6 RTM blocker. FUTURE. This bug has been marked Future because the Netscape engineer it is assigned to is overburdened.
Target Milestone: --- → Future
Reporter: this should now be FIXED. If not, please re-open.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
since reporter did not comment, marking verif.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.