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

Should be able to ask cookie or proxy from browser with URI has javascript scheme

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • tbd
    • 7
    • deploy
    • None
    • generic
    • generic

      URL with javascript: as protocol is valid for various browser operations, java plugin should be able to communicate with browser for that sort of URL. While the API pass to browser usually take string as parameter, there are a couple places in Java plugin code ask for URL type.

      However, when try to construct a URL instance with "javascript" as protocol, MalformedURLException could be thrown. See CR 7038890.

      Under most circumstances, we should probably use URI class instead of URL as what we need to deal with is a valid URI string, not necessary we want to open the URLConnection.

            Unassigned Unassigned
            henryjen Henry Jen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: