Closed
Bug 536319
Opened 15 years ago
Closed 2 years ago
e10s HTTP: implement IPDL state checking
Categories
(Core :: Networking: HTTP, defect, P5)
Tracking
()
RESOLVED
WONTFIX
Tracking | Status | |
---|---|---|
e10s | later | --- |
People
(Reporter: jduell.mcbugs, Unassigned)
References
Details
(Whiteboard: [necko-backlog])
We're going to want IPDL state checking for PHttpChannel sooner or later, since it will verify that we can't get into any wedged or inconsistent states that we might overlook otherwise.
It will also give us a state member variable that we can check and base other things on (such as the legality of the various "SetFoo" operations, which should often only be legal before AsyncOpen is called). Right now I've added an 'mState' variable to do that job: when IPDL states are working, it should be removed.
My impression is that once you start implementing IPDL states, you've got to get them "right" immediately, or the IPDL compilation will fail (cjones, true?). So this may be something that's easier to do once we have a richer picture of what our message traffic and states look like, for instance, once we've got notifications, redirects, and cancel working. But it may also be useful and not too hard to implement something sooner, and add onto it. I'm not sure of the exact development trajectory here. My gut sense is it's easy to add the features now, and unless we find we need the IPDL checks to solve bugs, add IPDL state checking later. We might also run into nontrivial hg merge issues if we have different people tweaking the IPDL state transitions as they work on different aspects of HTTP--another reason to perhaps hold off for now.
(In reply to comment #0)
> My impression is that once you start implementing IPDL states, you've got to
> get them "right" immediately, or the IPDL compilation will fail (cjones,
> true?).
Yes.
> So this may be something that's easier to do once we have a richer
> picture of what our message traffic and states look like, for instance, once
> we've got notifications, redirects, and cancel working.
I'd recommend writing the protocol as you go, even if you keep it commented out in hg for "a while" You'll derive documentation/think time benefits, and additionally can flag bugs/lacking features in the IPDL compiler that can be fixed in parallel.
Reporter | ||
Comment 2•14 years ago
|
||
Now that e10s buffers IPDL traffic, IPDL states aren't useful.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Comment 3•14 years ago
|
||
I strongly disagree with wontfixing this. The end goal is that all asynchronous protocols must be stateful. It's not a moz2 blocker, though.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Updated•11 years ago
|
tracking-e10s:
--- → +
Updated•11 years ago
|
Updated•9 years ago
|
Whiteboard: [necko-backlog]
Comment 4•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 5•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Comment 6•4 years ago
|
||
Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Severity: normal → S4
Priority: P3 → P5
Comment 8•2 years ago
|
||
IPDL states don't exist anymore, so we definitely won't use them for http channels :-)
Status: NEW → RESOLVED
Closed: 14 years ago → 2 years ago
Flags: needinfo?(nika)
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•