Closed
Bug 291042
Opened 19 years ago
Closed 19 years ago
[FIXr][MAS v1.8b2-0406+] A page with form, fill inputs and textarea, submit ... back, textarea data are missing
Categories
(Core :: DOM: Navigation, defect, P1)
Core
DOM: Navigation
Tracking
()
VERIFIED
FIXED
mozilla1.8beta2
People
(Reporter: sgautherie, Assigned: bzbarsky)
References
Details
(Keywords: dataloss, regression)
Attachments
(2 files)
2.54 KB,
text/html
|
Details | |
4.67 KB,
patch
|
sicking
:
review+
peterv
:
superreview+
chofmann
:
approval1.8b2+
|
Details | Diff | Splinter Review |
Regressed between [Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050329] (nightly) (W98SE) and [Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050418] (nightly) (W98SE) Since this happens on a "private" access site <http://www.battle-arenas.net/redac_missive.php>, I'll try to find a public example, or attach a testcase...
Updated•19 years ago
|
Assignee: general → nobody
Component: General → History: Session
Product: Mozilla Application Suite → Core
QA Contact: general → history.session
Reporter | ||
Comment 1•19 years ago
|
||
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050419] (nightly) (W98SE) This is the page, HTML and JS partly reduced. Steps to reproduce: 1. Open the page 2. tape anything in the "Message" area 3. Submit 3b (page loads) 4. Back 5-R. In -0329, the typed text is remembered; in -0418 and -0419, the typed text is missing.
Reporter | ||
Updated•19 years ago
|
Flags: blocking1.8b2?
Reporter | ||
Comment 2•19 years ago
|
||
1 day timeframe: Work fine [Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050404] (nightly) (W98SE) [Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050405] (nightly) (W98SE) Broken [Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050406] (nightly) (W98SE) [Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050407] (nightly) (W98SE) [Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050410] (nightly) (W98SE)
Summary: A page with form, fill inputs and textarea, submit ... back, textarea data are missing → [MAS v1.8b2-0406+] A page with form, fill inputs and textarea, submit ... back, textarea data are missing
Reporter | ||
Comment 3•19 years ago
|
||
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050420] (nightly) (W98SE) I hoped that this could have been fixed by bug 289301 (which I believe I have seen too) checkin, but no, it's still broken.
Comment 4•19 years ago
|
||
I've just done a quick test case and that failed too.
Comment 5•19 years ago
|
||
Odd, I can't reproduce it with my testcase now...
Comment 6•19 years ago
|
||
OK, so here's a reduced testcase: <table><form><tr><td><input><textarea> Yup, that's enough to demonstrate the bug! Remove the <input> and the bug does not occur. Move the <form> before the <table> and the bug does not occur.
Assignee | ||
Comment 7•19 years ago
|
||
Comments in the patch say it all... This is a regression from the BindToTree landing.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #181439 -
Flags: superreview?(peterv)
Attachment #181439 -
Flags: review?(bugmail)
Assignee | ||
Updated•19 years ago
|
Blocks: 286000
OS: Windows 98 → All
Priority: -- → P1
Hardware: PC → All
Summary: [MAS v1.8b2-0406+] A page with form, fill inputs and textarea, submit ... back, textarea data are missing → [FIX][MAS v1.8b2-0406+] A page with form, fill inputs and textarea, submit ... back, textarea data are missing
Target Milestone: --- → mozilla1.8beta2
Updated•19 years ago
|
Flags: blocking1.8b2? → blocking1.8b2+
Comment 8•19 years ago
|
||
sicking and peterv, we're running out of time for 1.8b2 and it would be really good to nail this regression before we ship. Can you guys take a look at this ASAP?
ugh, sorry, i didn't know this was blocking 1.8b2 since i'm not on cc. Looking into it now...
Comment on attachment 181439 [details] [diff] [review] Fix It'd be good if you could rename 'tmp' now that it is a bit more longlived. Something like: nsIContent* parent = content->GetParent(); .... content = parent; } would IMHO be nicer. r=me either way. On an unrelated note. The way to check for anonymous content seems excessive. Wouldn't a simple bindingparent comparison be enough? Different bug though.
Attachment #181439 -
Flags: review?(bugmail) → review+
Assignee | ||
Comment 11•19 years ago
|
||
> Wouldn't a simple bindingparent comparison be enough? Different bug though.
In general no, because of the many different types of anon content we have... I
agree that we should file a bug on sorting this out; I want an IsAnonymous()
method on nsIContent, myself. ;)
Updated•19 years ago
|
Attachment #181439 -
Flags: superreview?(peterv) → superreview+
Reporter | ||
Comment 12•19 years ago
|
||
Comment on attachment 181439 [details] [diff] [review] Fix "asa: blocking1.8b2+"
Attachment #181439 -
Flags: approval1.8b2?
Assignee | ||
Updated•19 years ago
|
Summary: [FIX][MAS v1.8b2-0406+] A page with form, fill inputs and textarea, submit ... back, textarea data are missing → [FIXr][MAS v1.8b2-0406+] A page with form, fill inputs and textarea, submit ... back, textarea data are missing
Comment 13•19 years ago
|
||
Comment on attachment 181439 [details] [diff] [review] Fix a=chofmann
Attachment #181439 -
Flags: approval1.8b2? → approval1.8b2+
Assignee | ||
Comment 14•19 years ago
|
||
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 15•19 years ago
|
||
[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050502] (nightly) (W98SE) V.Fixed. (tested on comment 0 site)
Status: RESOLVED → VERIFIED
Component: History: Session → Document Navigation
QA Contact: history.session → docshell
You need to log in
before you can comment on or make changes to this bug.
Description
•