Closed
Bug 180861
Opened 22 years ago
Closed 19 years ago
Form Submission should not know about PresContext
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: john, Assigned: bzbarsky)
References
Details
PresContext is 100% about content. If there is something in PresContext that it needs, either that resource is in the wrong place or there is a substitute in content world that we can work with. Three things I see in nsFormSubmission that use it: - GetBidi() (Simon, can you shed light here? Is there a method in content somewhere we can use?) - GetLinkClickHandler is in PresContext, but it's really nsWebShell, so we can get the DocShell and QI to nsILinkHandler. Even *better* might be to put the method on DocShell and call it something else, since we're not really clicking a link ;) - GetEncoding() doesn't appear to need it anymore, even though we pass it in. Yay :) The nsHTMLFormElement methods just need it to call into nsFormSubmission.
Reporter | ||
Comment 1•22 years ago
|
||
Looks like there is a real bug related to this: if you try to submit a form within a display: none iframe, it will fail because there is no PresContext.
Blocks: 100533
Updated•22 years ago
|
Priority: -- → P3
Target Milestone: --- → Future
Assignee | ||
Updated•19 years ago
|
Assignee: alexsavulov → bzbarsky
Assignee | ||
Comment 2•19 years ago
|
||
Fixed by checkin for bug 100533.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•19 years ago
|
Target Milestone: Future → mozilla1.9alpha
Updated•5 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•