**********************************************************************************************************************************************************
Tests with problems (49 total) - JsUnit
The hspace attribute specifies the horizontal space to the left
and right of this image, applet, or object.
Retrieve the hspace attribute and examine it's value.
Change the spec
"hspaceLink"
Expected 0 (string) but was 0 (number)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The vspace attribute specifies the vertical space above and below
this image, applet or object.
Retrieve the vspace attribute and examine it's value.
Change the spec
"vspaceLink"
Expected 0 (string) but was 0 (number)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
document.applets[0].object, in Mozilla it's a string that's the URI
of the Java class, in IE it's an object of unknown type. The spec says
it should be "Serialized applet file. See the object attribute
definition in HTML 4.01. This attribute is deprecated in HTML 4.01.",
I have no idea what this means.
"objectLink"
Expected org/w3c/domts/DOMTSApplet.class (string) but
was (object)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The size attribute specifies the base font's size.
Change the spec
"sizeLink"
Expected 4 (string) but was 4 (number)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The value attribute specifies the current control value.
Retrieve the value attribute and examine it's value.
The tests has a <button value="foo">bar</button> and it
expects .value to be "foo" even if the button is displayed with the
text "bar" in it. Mozilla returns "bar" and IE returns "foo".
"valueLink"
Expected Reset Disabled Button (string) but was Reset
(string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
Test problem? document.URL is the absolute URI in IE and Mozilla,
per spec.
"URLLink"
Expected document (string) but was
C:\cygwin\home\Administrator\2001\DOM-Test-Suite\build\level2\html\ecmascript\tests\document
(string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The contentDocument attribute specifies the document this frame contains,
if there is any and it is available, or null otherwise.
Retrieve the contentDocument attribute of the first FRAME element
and examine it's TITLE value.
IE doesn't support frame.contentDocument, bug in IE
Error message is:
"'title' is null or not an object"
IE doesn't support iframe.contentDocument, bug in IE
Error message is:
"'title' is null or not an object"
The border attribute specifies the width of the border around the image.
Change the spec
"borderLink"
Expected 0 (number) but was 0 (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
<input TYPE="CHECKBOX" ALIGN="bottom"...>
Bug in IE?
"alignLink"
Expected bottom (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The form attribute returns the FORM element containing this control.
Retrieve the form attribute and examine its value.
There are two <isindex> tags in the testcase, one's inside a form, one's not. IE doesn't display the one that's not in a form, nor does it inclide it in its DOM.
Bug in IE
"Asize"
Expected 2 (number) but was 1 (number)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The form attribute returns null if control in not within the context of
form.
Retrieve the form attribute and examine its value.
This test fails in IE due to the bug exposed by the
previous test.
"notnull"
Expected not to be null
Stack trace follows:
> JsUnitException
> _assert
>
assertNotNull
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The prompt attribute specifies the prompt message.
Retrieve the prompt attribute of the 1st isindex element and examine
its value.
IE fails this due to the bug in IE explained in test
HTMLIsIndexElement01. IE would pass this test if there was only one
isindex element in this test.
"Asize"
Expected 2 (number) but was 1 (number)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The hspace attribute specifies the horizontal space to the left and right
of this image, applet or object.
Change the spec
"hspaceLink"
Expected 0 (string) but was 0 (number)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The vspace attribute specifies the vertical space above or below this
image, applet or object.
Change the spec
"vspaceLink"
Expected 0 (string) but was 0 (number)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The contentDocument attribute specifies the document this object contains,
if there is any and it is available, or null otherwise.
Retrieve the contentDocument attribute of the first OBJECT element
and examine it's TITLE value.
IE doesn't support object.contentDocument, bug in IE.
Error message is:
"'title' is null or not an object"
The width attribute specifies the fixed width for content.
Retrieve the width attribute and examine it's value.
The spec says pre.width is an unsigned long, but IE returns it as a
string???
"widthLink"
Expected 277 (number) but was 277 (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The char attribute specifies the alignment character for cells in a column
of table header cells(TH).
Retrieve the char attribute from the second TH element and examine
its value.
???
"chLink"
Expected : (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The char attribute specifies the alignment character for cells in a column
of table data cells(TD).
Retrieve the char attribute from the second TD element and examine
its value.
???
"chLink"
Expected : (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The charoff attribute specifies the offset of alignment characacter
of table header cells(TH).
Retrieve the charoff attribute from the second TH element and examine
its value.
???
"chOffLink"
Expected 1 (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The charoff attribute specifies the offset of alignment character
of table data cells(TD).
Retrieve the charoff attribute from the second TD element and examine
its value.
???
"chOffLink"
Expected 1 (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The char attribute specifies the alignment character for cells
in a column(COL).
Retrieve the char attribute from the COL element and examine
its value.
???
"chLink"
Expected * (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The char attribute specifies the alignment character for cells
in a column(COLGROUP).
Retrieve the char attribute from the COLGROUP element and examine
its value.
???
"chLink"
Expected $ (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The charoff attribute specifies offset of alignment character(COL).
Retrieve the charoff attribute from the COL element and examine
its value.
???
"chLink"
Expected 20 (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The charoff attribute specifies offset of alignment character(COLGROUP).
Retrieve the charoff attribute from the COLGROUP element and examine
its value.
???
"chLink"
Expected 15 (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The insertRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of rows.
"HTMLTableElement34"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The insertRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
"HTMLTableElement35"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of rows.
"HTMLTableElement36"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is equal the number of rows.
"HTMLTableElement37"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
"HTMLTableElement38"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
"chLink"
Expected * (string) but was (string)
The ch attribute specifies the alignment character for cells in a column.
Retrieve the char attribute of the second TR element and examine
it's value.
???
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The chOff attribute specifies the offset of alignment character.
Retrieve the charoff attribute of the second TR element and examine
it's value.
???
"charOffLink"
Expected 1 (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The insertCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of cells.
"HTMLTableRowElement15"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The insertCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
"HTMLTableRowElement16"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The deleteCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of cells.
"HTMLTableRowElement17"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The deleteCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is equal to the number of cells.
"HTMLTableRowElement18"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The deleteCell() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
"HTMLTableRowElement19"
Call to assertTrue(boolean) with false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The ch attribute specifies the alignment character for cells in a
column.
Retrieve the char attribute of the first THEAD element and examine
it's value.
???
"chLink"
Expected * (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The ch attribute specifies the alignment character for cells in a
column.
Retrieve the char attribute of the first TFOOT element and examine
it's value.
???
"chLink"
Expected + (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The ch attribute specifies the alignment character for cells in a
column.
Retrieve the char attribute of the second TBODY element and examine
it's value.
???
"chLink"
Expected $ (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The chOff attribute specifies the offset of alignment character.
Retrieve the charoff attribute of the first THEAD element and examine
it's value.
???
"chOffLink"
Expected 1 (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The chOff attribute specifies the offset of alignment character.
Retrieve the charoff attribute of the first TFOOT element and examine
it's value.
???
"chOffLink"
Expected 2 (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The chOff attribute specifies the offset of alignment character.
???
"chOffLink"
Expected 3 (string) but was (string)
Stack trace follows:
> JsUnitException
> _assert
>
assertEquals
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The insertRow() method inserts a new empty table row. The new
row is inserted immediately before the current indexth row in this
section. If index is equal to the number of rows in the section,
the new row is appended.
Error message is:
"Invalid argument."
"HTMLTableSectionElement25"
Call to assertTrue(boolean) with
false
The insertRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of rows.
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
"HTMLTableSectionElement26"
Call to assertTrue(boolean) with
false
The insertRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is greater than the number of rows.
"HTMLTableSectionElement27"
Call to assertTrue(boolean) with
false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
"HTMLTableSectionElement28"
Call to assertTrue(boolean) with
false
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is equal to the number of rows.
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
"HTMLTableSectionElement29"
Call to assertTrue(boolean) with
false
Stack trace follows:
> JsUnitException
> _assert
>
assertTrue
> anonymous
> anonymous
> anonymous
>
anonymous
> anonymous