Closed Bug 185312 Opened 20 years ago Closed 20 years ago

In <frm003.html> JavaScript Testcase: 'Form.encoding' value should be checked for 'multipart/form-data' instead of 'Multipart/form-data'

Categories

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

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: angel5lif, Assigned: desale)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212

When I ran the test at the following url:
http://mozilla.org/quality/ngdriver/suites/javascript/frm003.html, to test Read
Form.encoding Multipart/form-data, it told me that it failed.

Reproducible: Always

Steps to Reproduce:
1. Go to the url provided
2.
3.

Actual Results:  
multipart/form-data is what it returns

Expected Results:  
it should return Multipart/form-data
reassign
Assignee: asa → jst
Component: Browser-General → DOM Level 0
QA Contact: asa → desale
I can see this bug with a current CVS based build - WinXP-Sp1.

Confirming bug ?
The test is plain buggy (the expected result is incorrect).  We should not be 
uppercasing that first letter, and we don't.
Assignee: jst → desale
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Summary: Read Form.encoding Multipart/form-data failed → Read Form.encoding Multipart/form-data failed (broken test)
Blocks: 142649
[Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.4a) Gecko/20030401]

Bug still there.


In the meantime, who can do the following to be more precise ?

In <http://mozilla.org/quality/ngdriver/suites/javascript/frm003.html> source,
replace "Bug# 12565" by "Bug# 185312".
Depends on: 12565
Summary: Read Form.encoding Multipart/form-data failed (broken test) → In <frm003.html> JavaScript Testcase: 'Form.encoding' value should be checked for 'multipart/form-data' instead of 'Multipart/form-data'
Severity: normal → trivial
this patch would fix this bug - bz, does this look right to you?
Index: mozilla-org/html/quality/ngdriver/suites/javascript/frm003.html
===================================================================
RCS file: /cvsroot/mozilla-org/html/quality/ngdriver/suites/javascript/frm003.html,v
retrieving revision 1.1
diff -u -r1.1 frm003.html
--- mozilla-org/html/quality/ngdriver/suites/javascript/frm003.html	3 Mar 2000
19:00:17 -0000	1.1
+++ mozilla-org/html/quality/ngdriver/suites/javascript/frm003.html	25 Apr 2003
15:47:24 -0000
@@ -55,7 +55,7 @@
 
 aTestcases[tc++] = new Testcase(sFilename,
                                "Read Form.encoding Multipart/form-data",
-                               "Multipart/form-data",
+                               "multipart/form-data",
 	 		       document.workform.encoding,
 		 	       "Bug# 12565");	      //Bug #, if any
 
Change the line before that one too, and land it.  ;)
ok, done.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.