Details
-
Bug
-
Resolution: Fixed
-
P4
-
8
-
iMac10.8.2-x64 8b117(64bit)
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8030290 | 8u5 | Petr Pchelko | P4 | Resolved | Fixed | b01 |
Description
Testsuite name: Regression
JDK/JRE tested: JDK8b117(64bit)
OS/architecture: iMac10.8.2-x64
Reproducible: Always
Reproducible on machine: iMac10.8.2-x64
Test run log location:
http://jsqalab.us.oracle.com/results/Evergreen/8/b117/regression/mac10.8.2-x64/results-awt-part6/workDir/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.jtr
Test run result location:
http://jsqalab.us.oracle.com/results/Evergreen/8/b117/regression/mac10.8.2-x64/results-awt-part6/workDir/java/awt/datatransfer/HTMLDataFlavors/
Steps to reproduce:
1.Download regression workspace from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/ea/b117/ws/jdk/test/ to /regression
2.Install stable bundle JDK7u45b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/macosx-x64/jdk-7u45-fcs-bin-b18-macosx-amd64-08_oct_2013.dmg) to /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk
3. Install test bundle JDK8b117 (download from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/ea/b117/bundles/macosx-x64/jdk-8-ea-bin-b117-macosx-x64-20_nov_2013.dmg) to /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk
4.Download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b02/bundles/jtreg_bin-4.1.zip locate at /private/var/root/workspace/regression
5.Create the script regression.sh as follows and run it
export JT_JAVA=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
/private/var/root/workspace/regression/jtreg/linux/bin/jtreg -v -m -ignore:quiet -jdk:/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/ -r:/private/var/root/workspace/regression/results/reportDir -w:/private/var/root/workspace/regression/results/workDir /private/var/root/workspace/regression/test/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.html
Case Instruction:
1) The test contains a drop-aware panel with a red background
2) Open some page in a browser, select some text Drag and drop it on the red panel
IMPORTANT NOTE: the page should be stored locally.otherwise for instance iexplore can
prohibit drag and drop from the browser to other applications because of the protected mode
restrictions.
3) Check the data in the output area of this dialog
4) The output should not contain information that any of flavors is not present in the system
clipboard.
5) The output should contain data in three different formats provided by the system clipboard
- Data after the "ALL:" marker should include the data from the the "SELECTION:" marker
- Data after the "FRAGMENT" marker should include the data from the "SELECTION:" marker
and may be some closing tags could be added to the mark-up
- Data after the "SELECTION:" marker should correspond to the data selected in the browser
6) If the above requirements are met, the test is passed
Actual behavior:
1.Use safari browser, the ouput contain information that DataFlavor.allHtmlFlavor is not present in the system clipboard when selecting some text drag and drop it on the red panel
2.Use firefox browser, the test is passed.
JDK/JRE tested: JDK8b117(64bit)
OS/architecture: iMac10.8.2-x64
Reproducible: Always
Reproducible on machine: iMac10.8.2-x64
Test run log location:
http://jsqalab.us.oracle.com/results/Evergreen/8/b117/regression/mac10.8.2-x64/results-awt-part6/workDir/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.jtr
Test run result location:
http://jsqalab.us.oracle.com/results/Evergreen/8/b117/regression/mac10.8.2-x64/results-awt-part6/workDir/java/awt/datatransfer/HTMLDataFlavors/
Steps to reproduce:
1.Download regression workspace from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/ea/b117/ws/jdk/test/ to /regression
2.Install stable bundle JDK7u45b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/macosx-x64/jdk-7u45-fcs-bin-b18-macosx-amd64-08_oct_2013.dmg) to /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk
3. Install test bundle JDK8b117 (download from http://jre.sfbay.sun.com/java/re/jdk/8/promoted/ea/b117/bundles/macosx-x64/jdk-8-ea-bin-b117-macosx-x64-20_nov_2013.dmg) to /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk
4.Download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b02/bundles/jtreg_bin-4.1.zip locate at /private/var/root/workspace/regression
5.Create the script regression.sh as follows and run it
export JT_JAVA=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
/private/var/root/workspace/regression/jtreg/linux/bin/jtreg -v -m -ignore:quiet -jdk:/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/ -r:/private/var/root/workspace/regression/results/reportDir -w:/private/var/root/workspace/regression/results/workDir /private/var/root/workspace/regression/test/java/awt/datatransfer/HTMLDataFlavors/ManualHTMLDataFlavorTest.html
Case Instruction:
1) The test contains a drop-aware panel with a red background
2) Open some page in a browser, select some text Drag and drop it on the red panel
IMPORTANT NOTE: the page should be stored locally.otherwise for instance iexplore can
prohibit drag and drop from the browser to other applications because of the protected mode
restrictions.
3) Check the data in the output area of this dialog
4) The output should not contain information that any of flavors is not present in the system
clipboard.
5) The output should contain data in three different formats provided by the system clipboard
- Data after the "ALL:" marker should include the data from the the "SELECTION:" marker
- Data after the "FRAGMENT" marker should include the data from the "SELECTION:" marker
and may be some closing tags could be added to the mark-up
- Data after the "SELECTION:" marker should correspond to the data selected in the browser
6) If the above requirements are met, the test is passed
Actual behavior:
1.Use safari browser, the ouput contain information that DataFlavor.allHtmlFlavor is not present in the system clipboard when selecting some text drag and drop it on the red panel
2.Use firefox browser, the test is passed.
Attachments
Issue Links
- backported by
-
JDK-8030290 [TEST_BUG][macosx] Use safari browser, the ouput contain information that DataFlavor.allHtmlFlavor is not present in the system clipboard
- Resolved