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

FX.getArgument() on Google Chrome

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: fx1.3
    • Fix Version/s: None
    • Component/s: deploy
    • Environment:

      Windows XP, Google Chrome 3

      Description

      I have the following files (modified for showing the bug):

      Main.fx
      =======
      import javafx.lang.FX;
      ...
      if (FX.getArgument("lang") == "???"){
      (do something)
      }
      =======


      main.js
      =======
      var my_lang = '???';
      var html = '???';
      ...
      (function () {
      var o = {};
      o.archive = '???.jar';
      o.draggable = true;
      o.width = '728px';
      o.height = '90px';
      o.code = '???.Main';
      o.name = '???';
      o.lang = '' + my_lang;
      html += '' + javafxString(o);
      })();
      ...
      (update/display new html)
      ...
      =======

      On a Windows XP machine, the above works well for IE 8, Firefox 3, but not the case for Google Chrome 3.
      I think FX.getArgument("lang") in JavaFX run on Google Chrome could not get the correct value.

      Meanwhile, Opera 10 and Safari 4 on Windows XP could not even run JavaFX!

        Attachments

          Activity

            People

            Assignee:
            ngthomas Thomas Ng (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: