-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b143
-
generic
-
generic
-
Verified
In some cases use of DT API cause popup to be shown regardless of developer request.
E.g. following code:
<html><head>
<SCRIPT src="http://www.java.com/js/deployJava.js"></SCRIPT>
</head><body>
<h2>Tess page</b></h2>
<script>
var r = deployJava.installJRE('1.7.0+');
document.write("Result: "+r);
</script>
</body>
</html>
results in popup "Deployment toolkit can not install required version" and then function return false (later is expected as jre7 is not released yet).
However, why would we need to show popup here? API requests to install it, if this is not possible we return false/error
and developer can customize way how this will be communicated to end user (if not handled silently).
E.g. following code:
<html><head>
<SCRIPT src="http://www.java.com/js/deployJava.js"></SCRIPT>
</head><body>
<h2>Tess page</b></h2>
<script>
var r = deployJava.installJRE('1.7.0+');
document.write("Result: "+r);
</script>
</body>
</html>
results in popup "Deployment toolkit can not install required version" and then function return false (later is expected as jre7 is not released yet).
However, why would we need to show popup here? API requests to install it, if this is not possible we return false/error
and developer can customize way how this will be communicated to end user (if not handled silently).