Closed Bug 1335601 (nsInputStreamReady) Opened 7 years ago Closed 2 years ago

[meta] Label nsInputStreamReady event

Categories

(Core :: XPCOM, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: billm, Unassigned)

References

Details

(Keywords: meta)

We'll have to figure out what is triggering the event and how to get to a document from there.
http://searchfox.org/mozilla-central/rev/4e0c5c460318fb9ef7d92b129ac095ce04bc4795/xpcom/io/nsStreamUtils.cpp#32

The event includes a target, so we can just construct it with EventTargetFor to handle the dispatching.

I'm not sure what sort of work actually happens when this triggers. We can call into chrome JS via XPCOM.
The frequency of this event looks pretty high according to bug 1333984 comment 10.
I'd like to take this bug to follow up.
Assignee: nobody → btseng
Status: NEW → ASSIGNED
Sorry, no bandwidth for this until bug 1350177 and bug 1345464 are clear. :|
Assignee: btseng → nobody
Status: ASSIGNED → NEW
(In reply to Bill McCloskey (:billm) from comment #0)
> We'll have to figure out what is triggering the event and how to get to a
> document from there.
> http://searchfox.org/mozilla-central/rev/
> 4e0c5c460318fb9ef7d92b129ac095ce04bc4795/xpcom/io/nsStreamUtils.cpp#32
> 
> The event includes a target, so we can just construct it with EventTargetFor
> to handle the dispatching.
> 
> I'm not sure what sort of work actually happens when this triggers. We can
> call into chrome JS via XPCOM.

ns(In|Out)putStreamReadyEvent are expected by the call sites(imageLib, netwerk, call sites of nsPipe) of 
NS_New(In|Out)putStreamReadyEvent:
http://searchfox.org/mozilla-central/search?q=NS_New(In%7COut)putStreamReadyEvent&case=false&regexp=true&path=

We should file follow-up bugs in these sub-modules for tracking.
Alias: nsInputStreamReady
No longer depends on: 1377275
Summary: Label nsInputStreamReady event → [meta] Label nsInputStreamReady event
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.