Closed
Bug 46870
Opened 24 years ago
Closed 23 years ago
nsIWebNavigation::LoadURI() needs to accept a post stream.
Categories
(Core Graveyard :: Embedding: APIs, defect, P3)
Core Graveyard
Embedding: APIs
Tracking
(Not tracked)
mozilla0.9.5
People
(Reporter: jud, Assigned: pollmann)
References
Details
(Keywords: embed, Whiteboard: [nsbeta3-])
Attachments
(3 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
-Requirement for a way to Get the post data from a form in the current document
-Specify the post data as a parameter to LoadURI
-Doug says that the work might already be done. Thread in n.p.m.embedding
related to this.
-Need a public API for getting and setting post data.
Assignee | ||
Comment 1•24 years ago
|
||
CC'ing Radha - did you already do work in this area to get session history to
store the post data for URL's?
Comment 3•24 years ago
|
||
SessionHistory already stores postdata for urls. But I think this may be related
to 32293. 32293 is nsbeta3+. So I would like know that this bug's real intention
was, so that we can decide if this can be nsbeta3- or +.
Assignee | ||
Comment 4•24 years ago
|
||
Jud, is there any specific work that needs to be done in the beta3 time frame?
nsbeta3- == Future, setting milestone to that unless I hear otherwise
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Updated•24 years ago
|
Target Milestone: mozilla0.9 → mozilla0.9.1
Comment 9•24 years ago
|
||
Correction: Changing QA contact for the Embed API bugs to David Epstein.
QA Contact: mdunn → depstein
Updated•24 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Assignee | ||
Comment 10•24 years ago
|
||
Assignee | ||
Comment 11•24 years ago
|
||
This patch allows a post stream to be passed into nsIWebNavigation::LoadURI().
It does *not* address the other stated need of this bug, to "Get the post data
from a form in the current document". Jud, can you provide an explanation of
what is meant by this? Do you mean the postdata that was sent to the server to
get the current page (if it was the result of a post)? Do you mean you want to
save the state of form controls of a given form / all forms on the current page?
???
CC'ing Adam because the meat of this change so far is in the DocShell and it's APIs.
I don't know/remember what this was needed for, but just as a reminder, posting
the same form twice to the server can be dangerous and the user should always be
warned and given a chance to cancel this operation before it happens!
OS: Windows 98 → All
Hardware: PC → All
Comment 12•24 years ago
|
||
Changes look good, except for those to the internal version of LoadURI. Would it
make sense to make postdata a member of the loadinfo object rather than an extra
parameter?
Assignee | ||
Comment 13•24 years ago
|
||
Assignee | ||
Comment 14•24 years ago
|
||
Adam, patch 2 removes the new param from the internal LoadURI and adds a
postDataStream member to the load info, as you suggest. Does this look better?
Assignee | ||
Comment 15•24 years ago
|
||
Comment 16•24 years ago
|
||
Looks good, r=adamlock
Updated•24 years ago
|
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 17•23 years ago
|
||
The patch needs to be updated a bit... For one thing, we now have
nsDocShellLoadInfo::GetPostDataStream and nsDocShellLoadInfo::SetPostDataStream
so this patch doesn't have to create them....
Updated•23 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
Comment 19•23 years ago
|
||
This work is now being tracked by bug #94205.
*** This bug has been marked as a duplicate of 94205 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•