Testsuite:focus in plugin
Test name(s):focusScenarios/DocumentModalTest.html
Product(s) tested:Jre9b120/32bit
OS/architecture:win8.1-x86
Reproducible: Always
Reproducible on machine:egtc
Is it a Regression:
[If Regression] Regression introduced in release/build:
Test result on the last GAed release for this train:
[if Fail] Test result on FCS:
Is it a platform specific issue:
Steps:
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 8 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:
At step5,there are 11 dialogs coming out.Please refer to plugin-focus-fail.png.
Test name(s):focusScenarios/DocumentModalTest.html
Product(s) tested:Jre9b120/32bit
OS/architecture:win8.1-x86
Reproducible: Always
Reproducible on machine:egtc
Is it a Regression:
[If Regression] Regression introduced in release/build:
Test result on the last GAed release for this train:
[if Fail] Test result on FCS:
Is it a platform specific issue:
Steps:
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 8 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:
At step5,there are 11 dialogs coming out.Please refer to plugin-focus-fail.png.