STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. open the following url with java console open:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/HTMLCollectionTest.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
anchors.namedItem("anchor1") should return the anchor which id is "anchor1", not the anchor which name is "anchor1"
ACTUAL -
anchors.namedItem("anchor1") returns the anchor which name is "anchor1";
The following stirngs are printed:
#### http://sun.com/
#### anchor1 should be the anchor which id is anchor1
#### test fail
REPRODUCIBILITY :
This bug can be reproduced always.
The applet source code is:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/src/HTMLCollectionTest.java
The pure javascript implementation is:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/HTMLCollectionScript.html
1. open the following url with java console open:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/HTMLCollectionTest.html
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
anchors.namedItem("anchor1") should return the anchor which id is "anchor1", not the anchor which name is "anchor1"
ACTUAL -
anchors.namedItem("anchor1") returns the anchor which name is "anchor1";
The following stirngs are printed:
#### http://sun.com/
#### anchor1 should be the anchor which id is anchor1
#### test fail
REPRODUCIBILITY :
This bug can be reproduced always.
The applet source code is:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/src/HTMLCollectionTest.java
The pure javascript implementation is:
http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/HTMLCollectionScript.html