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

[TEST_BUG]Step8: There is no the security warning dialog regarding "Website: https://127.0.0.1:8443"

XMLWordPrintable

    • b137
    • x86_64
    • os_x

      Testsuite: liveconnect in plugin
      Test name(s): liveconnectScenarios/test_JS2SJ_JS_Https_JNLP.html
      Product(s) tested: Jre9b134/64bit
      OS/architecture: Mac10.10-x64

      Reproducible: Always
      Reproducible on machine:egtc

      Is it a Regression:

      Test result on the last GAed release for this train:

      [if Fail] Test result on FCS:

      Is it a platform specific issue:
      [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:
      [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Copy JDF workspace,install test jre,and run this case
      Steps to reproduce:
      test_JS2SJ_JS_Https_JNLP
      Test behavior of JS code that calls code within a signed applet while JavaScript calls happens from https
      Test Procedure:
      1. This case is only apply to jres that >= 7u45. Skip this case if jre version 7u45
      2. Enable trace and java console from JCP
      3. Disable OCSP/CRL check from JCP: Open JCP->Advanced->"Perform certificate revocation checks on: ": Check "Do not check (not recommended)"
      4. Clear deployment cache with command "javaws -uninstall"
      5. Load applet: https://127.0.0.1:8443/liveconnect/html/test_JS2SJ_JS_Https_JNLP.html
      6. There will be native security warnings from browser about the https connection. Accept to proceed. In firefox it might be necessary to add the link into browsers exception site list to continue.
      7. There will be a valid security warning dialog shows up. Click "Run"
      8. There will be a security warning dialog regarding "Website: https://127.0.0.1:8443", click "Continue".
      9. If in java console, you see "Test pass: method MixedCodeApplet.fromJS get called successfully from JS.", then the case PASS, otherwise FAIL.

      The actual result:
      Step8: There is no the security warning dialog regarding "Website: https://127.0.0.1:8443" Please refer to liveconnect-NoDialog.png.


      BTW:
      1. If we delete the file trusted.jssecerts, the security warning dialog regarding "Website: https://127.0.0.1:8443" will pop up. Please refer to HasDialog.png. And it will fail as the bug:
      JDK-8159542

      2. In addition, The other three cases such as "liveconnectScenarios/test_JS2SJ_JS_Https","liveconnectScenarios/test_JS2SJ_TrustedAllowed_Protocol_Https" and "liveconnectScenarios/test_JS2SJ_TrustedAllowed_Protocol_Https_JNLP" are also existing the same issue. In view of this, we decide to delete the file trusted.jssecerts to run the related three cases and the three cases fail as the bug: JDK-8159542 .

            wenjyang Crystal Yang (Inactive)
            tonyli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: