Closed Bug 119955 Opened 23 years ago Closed 21 years ago

In <frm002.html> JavaScript Testcase: 'Form.elements' value should be checked for "nsIDOMHTMLFormControlList interface" instead of "HTMLCollection class"

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: stefanh, Assigned: caillon)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.7) Gecko/20011221
BuildID:    2001122106

Read Form.elements [object HTMLFormControlList] failed

Reproducible: Always
Steps to Reproduce:
1.Go to page at http://mozilla.org/quality/ngdriver/suites/javascript/frm002.html
2.
3.

Actual Results:  [object HTMLCollection]

Expected Results:  [object HTMLFormControlList]
changing component to DOM level 0
Component: DOM HTML → DOM Level 0
QA Contact: stummala → desale
This testcase is bogus, the name of the class of form.elements is
HTMLCollection, but it does implement the nsIDOMHTMLFormControlList interface.
Over to stummala, the testcase needs to be updated.
Assignee: jst → stummala
Status: UNCONFIRMED → NEW
Ever confirmed: true
this is dom level 0 testcase, prashant can you look in to this. 
Hello,

this bug also appears in  build 2002031209 installed using the redhat 6.x rpm
into a redhat 6.2 system.

--jason
*** Bug 172714 has been marked as a duplicate of this bug. ***
OS: Mac System 9.x → All
Hardware: Macintosh → All
1) still present in Build ID 2003010308 / Win98
2) would someone please key this bug # into the frm002.html test result?
*** Bug 203033 has been marked as a duplicate of this bug. ***
*** Bug 200845 has been marked as a duplicate of this bug. ***
[Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.4a) Gecko/20030401]

Bug still there.

In the meantime, who can do comment 6 to avoid more duplicates ?
Addition to comment 6:

Based on <http://mozilla.org/quality/ngdriver/suites/javascript/nav006.html> source,
it seems straight forward:

In <http://mozilla.org/quality/ngdriver/suites/javascript/frm002.html> source,
replace "Bug report required" by "Bug# 119955".

I wish that I knew how to do, or propose a patch, for it :-<
Anyone care to explain this to me ?
Summary: Read Form.elements [object HTMLFormControlList] failed → In <frm002.html> JavaScript Testcase: 'Form.elements' value should be checked for "nsIDOMHTMLFormControlList interface" instead of "HTMLCollection class"
still no progress on this ?
waisting testers' time
Correct me if I'm wrong but shouldn't the correct result be "object
HTMLCollection"? In that case the testcase could be fixed by this:

Index: mozilla-org/html/quality/ngdriver/suites/javascript/frm002.html
===================================================================
RCS file: /cvsroot/mozilla-org/html/quality/ngdriver/suites/javascript/frm002.html,v
retrieving revision 1.1
diff -u -r1.1 frm002.html
--- mozilla-org/html/quality/ngdriver/suites/javascript/frm002.html	3 Mar 2000
19:00:17 -0000	1.1
+++ mozilla-org/html/quality/ngdriver/suites/javascript/frm002.html	7 May 2003
22:33:07 -0000
@@ -54,8 +54,8 @@
 aTestcases = new Array();
 
 aTestcases[tc++] = new Testcase(sFilename,
-                               "Read Form.elements [object HTMLFormControlList]",
-                               "[object HTMLFormControlList]",
+                               "Read Form.elements [object HTMLCollection]",
+                               "[object HTMLCollection]",
 	 		       document.workform.elements,
 		 	       "Bug report required");	      //Bug #, if any
*** Bug 218683 has been marked as a duplicate of this bug. ***
Taking, I just checked in a fix.
Assignee: stummala → caillon
Fixed.  Give the website up to an hour for the changes to propogate.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.