Java applets are not working in WebView

Originator:felix
Number:rdar://20051995 Date Originated:05-Mar-2015
Status:Open Resolved:
Product:OS X SDK Product Version:OS X Version 10.10.2 (14C109), Xcode Version 6.1.1 (6A2008a)
Classification:Serious Bug Reproducible:Always
 
Summary:
When using a Cocoa WebView with a page that has an embedded Java applet, there's a pink rectangle or transparent space in place of the applet.

Steps to Reproduce:
- Make sure http://javatester.org/version.html is added to the allowed websites for the Java plug-in in Safari.
- Build and start the sample.
- The Java applet that should display the Java version shows a pink rectangle or transprent space instead.
- The same page works fine in Safari.

Expected Results:
Seeing the Java applet display Java version information

Actual Results:
Either a pink rectangle or transparent space is displayed in place of the Java applet.

Version:
Xcode 6.1.1
OS X Yosemite 10.10.2 with Safari 8.0.3 (10600.3.18)

Notes:
The sample project is also available on Github: https://github.com/lemonmojo/WebViewJavaTest/

Configuration:
MacBook Pro (Retina, 15-inch, Late 2013)
OS X Yosemite 10.10.2 with Safari 8.0.3 (10600.3.18)

Attachments:
'WebViewJavaTest.zip' was successfully uploaded.

Comments

Issue still exists on OS X 10.10.3 (14D131) with Safari 8.0.6 (10600.6.3)

Issue still exists on OS X 10.10.3 (14D131) with Safari 8.0.5 (10600.5.17).


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!