-
Bug
-
Resolution: Fixed
-
P1
-
7
-
b01
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2198772 | 7 | Andy Herrick | P1 | Resolved | Fixed | b104 |
This is how client checks/installs JRE version on the running machine using deployment toolkit script (as documented in the spec for 6u10), and it is hanging with FF3 !
<HTML>
<BODY>
<script src="http://java.com/js/deployJava.js"></script>
<script>
var list = deployJava.getJREs();
var result = "";
result = list[0];
for (var i=1; i<list.length; i++) {
result += ", " + list[i];
}
alert("You have the following Java Platform(s) installed: \n" + result);
</script>
</BODY>
</HTML>
<HTML>
<BODY>
<script src="http://java.com/js/deployJava.js">
deployJava.installLatestJRE();
</script>
</BODY>
</HTML>
Tested environment
------------------
OS : Windows XP platform
Java : 6u13-b03
Browser : Firefox 3.0.11
A minimal testcase developed by ###@###.###. It does not depend on deployJava.js on java.com.
<html>
<head>
</head>
<body>
<script type="text/javascript">
// Minimum crash script for Firefox 3.0.11.
var div=document.createElement("div")
document.body.appendChild(div)
div.innerHTML="<object type=\"application/npruntime-scriptable-plugin;DeploymentToolkit\"></object>"
var obj=div.firstChild
for(var x=0;x<10;x++) obj.jvms
</script>
</body>
</html>
<HTML>
<BODY>
<script src="http://java.com/js/deployJava.js"></script>
<script>
var list = deployJava.getJREs();
var result = "";
result = list[0];
for (var i=1; i<list.length; i++) {
result += ", " + list[i];
}
alert("You have the following Java Platform(s) installed: \n" + result);
</script>
</BODY>
</HTML>
<HTML>
<BODY>
<script src="http://java.com/js/deployJava.js">
deployJava.installLatestJRE();
</script>
</BODY>
</HTML>
Tested environment
------------------
OS : Windows XP platform
Java : 6u13-b03
Browser : Firefox 3.0.11
A minimal testcase developed by ###@###.###. It does not depend on deployJava.js on java.com.
<html>
<head>
</head>
<body>
<script type="text/javascript">
// Minimum crash script for Firefox 3.0.11.
var div=document.createElement("div")
document.body.appendChild(div)
div.innerHTML="<object type=\"application/npruntime-scriptable-plugin;DeploymentToolkit\"></object>"
var obj=div.firstChild
for(var x=0;x<10;x++) obj.jvms
</script>
</body>
</html>
- backported by
-
JDK-2198772 Deployment toolkit crashes Firefox3 browser
-
- Resolved
-