Closed
Bug 359857
Opened 18 years ago
Closed 17 years ago
Attempting to go back/forward to a POSTDATA page in session history fails (and POSTDATA warning missing)
Categories
(Camino Graveyard :: History, defect, P4)
Tracking
(Not tracked)
VERIFIED
FIXED
Camino2.0
People
(Reporter: alqahira, Unassigned)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
4.20 KB,
text/plain
|
Details |
STR:
1. Go to a page that has an HTML form login
2. Login
3. Follow a link off of your login landing page
4. Observe the back button is active, indicating session history
5. Press the back button
Expected: POSTDATA error sheet (and option to go back or cancel)
Actual: Fails silently (nothing happens when pressing back button)
The same thing happens if you choose a page further back in session history and attempt to go forward from there.
This worked fine in my trunk build from yesterday, so I suspect bug 112848 (which is also using embedding-hostile strings).
Updated•18 years ago
|
Flags: blocking1.9?
Comment 1•18 years ago
|
||
Any useful console output in a debug build? Is this just due to there being no brand.properties (which would cause us to bail out)?
Reporter | ||
Comment 2•18 years ago
|
||
Nothing at all gets written in the console when I press the back button :(
In case it's useful at all, here's the log from pressing the Login button until pressing the Back button (marked sections for those 2 and for the "click link" action).
Typically, though, we just get "(null)" in the error sheets' messages (where Fx has "Firefox") instead of failing completely.... I can't remember if we got console spew in that case (and webmail.shaw.ca seems to have upgraded their ciphers, so I'm not sure of a good testcase for the weak ciphers/no matching ciphers version of the error anymore).
Comment 3•18 years ago
|
||
Would you be willing to step through the docshell code in question and see what fails?
Reporter | ||
Comment 4•18 years ago
|
||
I'll find someone who can use a debugger (or at least walk me through it); Stuart? ;)
Comment 5•18 years ago
|
||
Sorry, yet another thing that fell off my radar when I got busy.
We are getting a return value of 0x8000FFFF (NS_ERROR_UNEXPECTED) from:
rv = brandBundle->GetStringFromName(NS_LITERAL_STRING("brandShortName").get(),
getter_Copies(brandName));
in ConfirmRepost.
I find it worrying that at our interface layer, our call to nsIWebNavigation::GoBack() is returning 0, giving us no indication that going back in fact totally failed. I haven't traced the return value yet, but philosophically that seems pretty wrong.
Comment 6•18 years ago
|
||
Navigation is async. GoBack() returns, then some time later (necko is always async) HTTP tells docshell that the data was not cached. At that point docshell tries to put up that post data dialog. So there's no way for GoBack() to throw in this case.
Should this code just press on without a brandShortName perhaps? How hard would it be for Camino to end up with one, since this is a recurring issue?
Reporter | ||
Comment 7•18 years ago
|
||
(In reply to comment #6)
> Should this code just press on without a brandShortName perhaps? How hard
> would it be for Camino to end up with one, since this is a recurring issue?
I understood the discussion in bug 302309 to have reached a consensus that requiring embedding apps to ship branding was not really desirable and that shipping a default branding package for embeddors was not feasible currently.
IMO, having Camino ship branding would only push detection of these bugs out of mozilla.org and on to external embeddors, which doesn't seem like a good resolution, but if it's easy enough for us to do so (so far no one with chrome/jar-fu has had a look, to my knowledge--we have bug 354013 on that, but most discussion was actually in bug 343837 comment 10-15), it _would_ make bugs like this magically vanish for us.
Updated•17 years ago
|
Target Milestone: --- → Camino2.0
Comment 9•17 years ago
|
||
marking as blocking (since it is a regression) with p4 (since it seems minor)
Flags: blocking1.9? → blocking1.9+
Priority: -- → P4
Comment 10•17 years ago
|
||
(In reply to comment #9)
> with p4 (since it seems minor)
How exactly is it minor that any page with post data will completely break history navigation for any product that doesn't ship branding (which is explicitly not a requirement; see comment 7)?
Reporter | ||
Comment 11•17 years ago
|
||
With the checkin for bug 392407, this is now working, so FIXED.
Is there anything in comment 5/comment 6 that still needs to be addressed (if so, probably in a new bug)?
Reporter | ||
Comment 12•17 years ago
|
||
Er, actually clicking the radio button :p
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Comment 13•17 years ago
|
||
Nope, comment 5 was just confusion on my part about the expected behavior of the API.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•