Closed Bug 387978 Opened 17 years ago Closed 17 years ago

Setting value on file input never updates its display

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta1

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Attached patch Fix (obsolete) — Splinter Review
STEPS TO REPRODUCE:

1)  Get UniversalXPConnect privileges
2)  Set .value on an <input type="file">

EXPECTED RESULTS: New value shows in textfield

ACTUAL RESULTS: New value doesn't show in textfield.

This is almost certainly a regression from bug 334977.
Attachment #272110 - Flags: superreview?(jonas)
Attachment #272110 - Flags: review?(jonas)
Version: unspecified → Trunk
Flags: in-testsuite?
I wish we actually had regression tests for some of this stuff. :(

Speaking of which... I should try to figure out a way to write a regression test for this.  I'd need enablePrivilege in reftest or some such... :(
Attachment #272110 - Attachment is obsolete: true
Attachment #272111 - Flags: superreview?(jonas)
Attachment #272111 - Flags: review?(jonas)
Attachment #272110 - Flags: superreview?(jonas)
Attachment #272110 - Flags: review?(jonas)
Attachment #272111 - Flags: superreview?(jonas)
Attachment #272111 - Flags: superreview+
Attachment #272111 - Flags: review?(jonas)
Attachment #272111 - Flags: review+
Fixed.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Component: DOM: HTML → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: