$(this).find("capability").each(function(){
isCappresent = isCapPresent($(this).attr("name"));
isCapmandatory = isCapMandatory($(this).attr("name"));
+ if (isCappresent === false)
+ return false;
});
if(isCappresent === false){
noSupport[testAppname] = true;
$(this).find("capability").each(function(){
isCappresent = isCapPresent($(this).attr("name"));
isCapmandatory = isCapMandatory($(this).attr("name"));
+ if (isCappresent === false)
+ return false;
});
if(isCappresent === false){
noSupport[testAppname] = true;
updateFooterButton();
loadTests();
window.addEventListener('message', function(e) {
- var jsonData = eval("("+e.data+")");
+ console.log(e.data);
+ var jsonData = eval("(" + e.data + ")");
if(jsonData.length > 0){
recordResultToXML(jsonData[0].testname, jsonData[0].result);
updateAppDecoration();
function getCapPresent() {
try {
caps = tizen.systeminfo.getCapabilities();
- } catch (e){
- alert("Exception: " + e.message);
+ } catch (err){
+ alert("Exception: " + err.message);
}
}