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

Step14: The dialog "Dialog-ONE[2] - Dialog-ONE[1] Parent [Non Modal]" will be behind the dialog “Frame-ONE” when “Dialog-ONE[0] - Frame-ONE Parent [Non Modal]” has the focus

XMLWordPrintable

    • x86_64
    • os_x

      Testsuite: focus in plugin
      Test name(s): focusScenarios/DocumentModalTest.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:
      1. Install the test JRE.
      2. Add http://localhost:8080/ to the Exception Site List in Java Control Panel->Security
      3. Launch the test applet. http://localhost:8080/focus/html/DocumentModalTest.html
      4. (ONLY apply to JDK version 7u11 and above) A security warning dialog will pop-up asking you if you want to run the application. Click "Run on this dialog
      5. There should be 11 dialogs coming out.
      6. Make sure that the button on “Dialog – No Parent [Non Modal]” can be pressed and the dialog can get focus.
      7. Make sure the buttons on “Frame-ONE”,”Dialog-ONE[0] - Frame-ONE Parent [Non Modal]”, “Dialog-ONE[1] - Frame-ONE Parent [Non Modal]” and “Dialog-ONE[2] - Dialog-ONE[1] Parent [Non Modal]” cannot be pressed and the dialogs cannot be focus.
      8. Click on them should make dialog “Dialog-ONE[2] - Frame-ONE Parent [Document Modal]” get focus.
      9. Make sure the buttons on “Frame-TWO”,”Dialog-TWO[0] - Frame-TWO Parent [Non Modal]”, “Dialog-TWO[1] - Dialog-TWO[0] Parent [Non Modal]” and “Dialog-TWO[2] - Dialog-TWO[1] Parent [Non Modal]” cannot be pressed and the dialogs cannot be focus.
      10. Click on them should make dialog “Dialog-TWO[2] - Dialog-TWO[2] Parent [Document Modal]” get focus.
      11. Close the dialogs, “Dialog-ONE[2] - Frame-ONE Parent [Document Modal]” and “Dialog-TWO[2] - Dialog-TWO[2] Parent [Document Modal]”
      12. Make sure that the existing buttons can be pressed and all of the dialog can get focus.
      13. Make sure that “Dialog-TWO[2] - Dialog-TWO[1] Parent [Non Modal]” is in front of "Dialog-TWO[1] - Dialog-TWO[0] Parent [Non Modal]". "Dialog-TWO[1] - Dialog-TWO[0] Parent [Non Modal]" is in front of "Dialog-TWO[0] - Frame-TWO Parent [Non Modal]". "Dialog-TWO[0] - Frame-TWO Parent [Non Modal]" is infront of “Frame-TWO”. No matter which dialog has the focus.
      14. Make sure that “Dialog-ONE[0] - Frame-ONE Parent [Non Modal]” is in front of “Frame-ONE”. "Dialog-ONE[2] - Dialog-ONE[1] Parent [Non Modal]" is in front of “Dialog-ONE[1] - Frame-ONE Parent [Non Modal]” and “Frame-ONE”. No matter which dialog has the focus.
      15. Remove all entries from the Exception Site List in Java Control Panel->Security

      The actual result:
      Step14: The dialog "Dialog-ONE[2] - Dialog-ONE[1] Parent [Non Modal]" will be behind the dialog “Frame-ONE” when “Dialog-ONE[0] - Frame-ONE Parent [Non Modal]” has the focus. Please refer to BehindDialog.png.

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

              Created:
              Updated:
              Resolved: