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

JavaScript passed URL string got lost

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.1
    • 1.4.1
    • deploy
    • rc
    • x86
    • windows_2000
    • Verified


      ###@###.### 2002-06-05

      Problem description:
      A new issue that has been introduced in 1.4.1 Build 12.
      The issue is demonstrated by running attached location.html
      in IE. in Netscape, Netscape, applet either wouldn't start at all
      or wouldn't print anything.

      Step to reproduce the problem:
      In location.html JavaScript passes a string to the LocationTest applet
      which in turn outputs that string to the console. The problem is that
      when the string is made by a call to new String(eval("document.location"))
      the string gets lost and the applet receives a string like
      sun.plugin.com.DispatchClient@c70b0d rather than the passed URL.



            djayaramsunw Devananda Jayaraman (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: