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

document.writeln when called from Java fails to work with chrome3.0

XMLWordPrintable

    • generic
    • windows

      document.writeln when called from Java applet fails to work with chrome3.0 while it works fine on IE and FF under all tested scenarios. document.writeln when called from the javascript works fine on chrome3.0 so it means there is something wrong on our side.
      Issue is also reproducbile with 6u17
      Steps to reproduce:
      1) Try to load following applet inside the chrome3.0 browser
      http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/ojiliveconnect/src/JSWritelnTest.html
      2) Click on the "Jav Button" and if following exception is getting thrown and chrome error page is getting displayed then bug is reproduced
      Exception in thread "AWT-EventQueue-2" netscape.javascript.JSException: No such method "writeln" on JavaScript object
      at sun.plugin2.main.client.MessagePassingJSObject.newJSException(Unknown Source)
      at sun.plugin2.main.client.MessagePassingJSObject.waitForReply(Unknown Source)
      at sun.plugin2.main.client.MessagePassingJSObject.call(Unknown Source)
      at JSWritelnTest.writelnTest(JSWritelnTest.java:52)
      at JSWritelnTest.actionPerformed(JSWritelnTest.java:33)
      at java.awt.Button.processActionEvent(Unknown Source)
      at java.awt.Button.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

            hdongorcl Hao Dong (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: