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

Exception is not thrown on accessing a non-existent Java field from Javascript.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.1
    • deploy
    • generic
    • generic

      ###@###.### 2002-07-16

      Browser:: IE5.5 IE6.x
      JRE Build used: Build 16
      JRE Location: http://sqesvr/deployment3/hopper/HB-rc-16/win32.b16/
                    or /import/java/jdk1.4.1/../bundles/win*



      When trying to access a non-existent Java field from Javascript,
      no exception is thrown (as described in Scripting Redesign for IE specifications)

      Instead it just fails silently.

      Test URL:

      http://sqesvr.sfbay/deployment2/rpallath/ws_plugin/tests/scriptredesign/applethtml-default/test78.html

      The above test tries to invoke a nox-existent field.


      Steps:

      1) Install JRE
      2) Go to Control Panel and clickon Browser Tab.
      3) Ensure that Internet Explorer is checked.
      4) Close
      5) Invoke Browser
      6) Load above URL.
      7) See Java Console
       
      It indicates Test is FAILED.

      If exception were thrown then test will be flagged of as PASSED
      ( in the html page, any JS exceptions are caught )


      SRC:
      http://sqesvr.sfbay/deployment2/rpallath/ws_plugin/tests/scriptredesign/src/exceptionhandle.java

            djayaramsunw Devananda Jayaraman (Inactive)
            rpallathsunw Rajendra Pallath (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: