Open Bug 462418 Opened 17 years ago Updated 3 years ago

JavaScript Text box disappears on refresh

Categories

(Core :: Networking: Cache, defect, P5)

1.9.0 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: rhilenova, Unassigned)

Details

(Whiteboard: [necko-would-take])

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 The text in a textarea that is initially disabled through HTML then enabled through javascript will disappear when the page is reloaded. This does not happen when the Cache override reload is used. Reproducible: Always Steps to Reproduce: 1.Load page described in file 2.Click the "Enable" button on the webpage 3.Reload the page with F5 Actual Results: The textbox is initiall disabled, as one would expect. The "Enable" button enables it. When the page is reloaded, the text disappears and the textbox is still enabled Expected Results: One would expect that after a reload, the textbox would revert to it's inital state: disabled with text.
File taken from w3schools.com. I only removed the irrelevent "Disable" button
Read http://www.soswd.com/writing_bugs.html. This works for me with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2pre) Gecko/20081030 Minefield/3.1b2pre, so it seems like it is something wrong with your Firefox install
Assignee: nobody → general
Severity: normal → minor
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.9.0 Branch
I think this is better in the Core with JavaScript, but still can not confirm with Trunk.
Summary: text in a textarea dissapears on refresh → JavaScript Text box disappears on refresh
The JavaScript Engine component is for language implementation issues which this is not. It looks like a caching issue to me and that is it actually by design but I'll let others decide that. If you shift-reload, the textarea is disabled.
Assignee: general → nobody
Component: JavaScript Engine → Networking: Cache
QA Contact: general → networking.cache
Sorry about not checking the beta Tyler, I didn't think to try those, and I was running out of time. I agree with Bob though, becuase the textarea does reset when clearing the cache. If it is by design, the text in the textarea should not disappear. However, I could see the textarea remaining enabled.
Whiteboard: [necko-would-take]
Priority: -- → P5
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: