Bug 1335601 (nsInputStreamReady)

[meta] Label nsInputStreamReady event

NEW
Unassigned

Status

()

Core
XPCOM
P3
normal
9 months ago
5 days ago

People

(Reporter: billm, Unassigned)

Tracking

(Depends on: 5 bugs, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 months ago
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.
Depends on: 1352174
Depends on: 1352176
Alias: nsInputStreamReady
Depends on: 1359676
Depends on: 1359686
Depends on: 1359694
Depends on: 1359700
See Also: → bug 1359706
Depends on: 1366683
(Reporter)

Updated

4 months ago
Depends on: 1376840
Depends on: 1359706
Depends on: 1377275
No longer depends on: 1377275
Summary: Label nsInputStreamReady event → [meta] Label nsInputStreamReady event
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.