Closed Bug 843805 Opened 12 years ago Closed 12 years ago

Form submission ignored if file input refers to nonexistent file

Categories

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

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 702949

People

(Reporter: neil, Unassigned)

Details

For some reason the GTK2 file picker lets me type in an invalid file name. I then wonder why clicking the Submit button does nothing, until I remember to look in the console and find the following warnings: WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520006: file /home/neil/comm/mozilla/content/base/src/nsDOMFile.cpp, line 526 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520006: file /home/neil/comm/mozilla/content/html/content/src/nsFormSubmission.cpp, line 524 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /home/neil/comm/mozilla/netwerk/base/src/nsFileStreams.cpp, line 193 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /home/neil/comm/mozilla/xpcom/io/nsMultiplexInputStream.cpp, line 180 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80470002: file /home/neil/comm/mozilla/xpcom/io/nsMultiplexInputStream.cpp, line 180 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80470002: file /home/neil/comm/mozilla/xpcom/io/nsMultiplexInputStream.cpp, line 180 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80470002: file /home/neil/comm/mozilla/xpcom/io/nsMultiplexInputStream.cpp, line 180 Error loading URL https://bugzilla.mozilla.org/post_bug.cgi : 80470002 (NS_BASE_STREAM_CLOSED)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.