// other security settings.
//
for (int i=0; i<scriptSource.length; i++) {
for (int j=0; j<secure.length; j++) {
for (int k=0; k<scriptOrigin.length; k++) {
SVGOnLoadExceptionTest t = buildTest(scripts,
scriptSource[i],
scriptOrigin[k],
secure[j]);
addTest(t);
}
}
}
//
// If "application/java-archive" is allowed, but the accepted
// script origin is lower than the candidate script, then
// the script should not be loaded (e.g., if scriptOrigin
// is embeded and trying to load an external script).
//
scripts = "application/java-archive";
for (int j=0; j<scriptOrigin.length; j++) {
for (int i=0; i<j; i++) {
for (int k=0; k<secure.length; k++) {
SVGOnLoadExceptionTest t= buildTest(scripts, scriptSource[i],
scriptOrigin[j],
secure[k]);
addTest(t);
}
}