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

HTMLFormElement.getName method doesn't return expected value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3 P3
    • None
    • 6u14, 7, 8
    • deploy
    • x86
    • windows, windows_xp

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: