Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6874511

HTMLFormElement.getName method doesn't return expected value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Incomplete
    • Affects Version/s: 6u14, 7, 8
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows, windows_xp

      Description

      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/HTMLFormNameTest.html

      **Note: the form element has a child input element whose name's value is "name"

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No exception will be printed in console and string "all tests pass" will be printed.
      ACTUAL -
      The following strings are printed:
      #### Name expected:form2. Actual:[object HTMLInputElement]
      #### 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/HTMLFormNameTest.java

      The implementation by javascript for this function can be found at:
      http://sqeweb/jsn/users/fred/deployment_ws/fred/deployment_6_UR_int_ws/deployment/src/plugin/FunctionalTest/FunctionalTest/html/HTMLFormNameTestScript.html

        Attachments

          Activity

            People

            • Assignee:
              cbensen Chris Bensen (Inactive)
              Reporter:
              qgong Fred Gong (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: