Closed Bug 49361 Opened 25 years ago Closed 22 years ago

Need form submit observer which gets channel

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: jgmyers, Assigned: bugz)

References

Details

(Whiteboard: [nsbeta3-])

For bug 31982, I need an interface like nsIFormSubmitObserver, but which gets called after the channel is obtained. I need to replace the nsIFormSubmitObserver in nsSecureBrowserUIImpl with one which queries the channel over which the form will be submitted before deciding whether or not to veto the form submission.
Blocks: 31982
Keywords: nsbeta3
Added [NEEDINFO]. Is this critical for nsbeta3?. The bug it blocks is NOT marked nsbeta3+ and there seems to be some controversy about whether bug 31982 needs to be fixed?
Summary: Need form submit observer which gets channel → [NEEDINFO]Need form submit observer which gets channel
Bug 31982 would fix bug 47496 and greatly simplify a fix for 31999. It may be blocking 31999. Per conversations I've had with dougt, there is no longer any controversy about whether bug 31982 should be fixed. This bug blocks the form submit part of bug 31982. It would be possible to only fix the content viewing part of 31982, leaving different rules for determining security of form posts and retrieved data.
Marking nsbeta3- for now. If the bug it blocks is marked nsbeta3+ will reconsider.
Whiteboard: [nsbeta3-]
Updating QA contact.
QA Contact: ckritzer → vladimire
Blocks: 62882
No longer blocks: 31982
Summary: [NEEDINFO]Need form submit observer which gets channel → Need form submit observer which gets channel
31982 has been fixed. Marking this bug invalid.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Bug 31982 was split into two bugs, the part of 31982 that this bug blocked is now bug 62882. Reopening
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
assigning to marek for more investigation
Assignee: pollmann → marek
Status: REOPENED → NEW
Target Milestone: --- → Future
Rick, could this be done with a load observer? (We don't have the channel anywhere in form submit land...)
I am going to need the channel in form submitter for my planned fix to bug 72906. Let me see if I understand this, you want to find out the nsIRequest when the channel is opened? Or do you just need an event that tells you that a channel /has/ opened? With what I currently have in mind we could do either, but if something goes wrong we may have to fall back on the second. If that's what you need, I can pretty easily take care of this when bug 72906 is done (though it's going to depend on my time).
The blocking bug is fixed.
Status: NEW → RESOLVED
Closed: 24 years ago22 years ago
Resolution: --- → WORKSFORME
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.