ndt-dev - [ndt-dev] [ndt] r1041 committed - Merging Branch134 to solve issue 134.
Subject: NDT-DEV email list created
List archive
- From:
- To:
- Subject: [ndt-dev] [ndt] r1041 committed - Merging Branch134 to solve issue 134.
- Date: Thu, 27 Mar 2014 20:00:12 +0000
Revision: 1041
Author:
Date: Thu Mar 27 20:00:04 2014 UTC
Log: Merging Branch134 to solve issue 134.
http://code.google.com/p/ndt/source/detail?r=1041
Modified:
/trunk
/trunk/flash-client/src/NDTUtils.as
=======================================
--- /trunk/flash-client/src/NDTUtils.as Fri Mar 21 10:33:50 2014 UTC
+++ /trunk/flash-client/src/NDTUtils.as Thu Mar 27 20:00:04 2014 UTC
@@ -47,6 +47,14 @@
} catch (e:Error) {
// TODO(tiziana): Find out why ExternalInterface.available does not work
// in some cases and this exception is raised.
+
+ // TestResults.appendDebugMsg() calls callExternalFunction
+ // to invoke JS callbacks. Without this check we can
+ // recurse infinitely.
+ if (functionName != "appendDebugOutput") {
+ TestResults.appendDebugMsg("Failed to call " + functionName + ": "
+ + e.toString());
+ }
}
}
/**
@@ -81,6 +89,8 @@
} catch(e:Error) {
// TODO(tiziana): Find out why ExternalInterface.available does not work
// in some cases and this exception is raised.
+ TestResults.appendDebugMsg("Failed to get window.navigator.userAgent: "
+ + e.toString());
}
try {
@@ -92,8 +102,8 @@
+ Main.server_hostname);
}
} catch(e:Error) {
- TestResults.appendDebugMsg("Bad Flash permissions: No "
- + "access to javascript.");
+ TestResults.appendDebugMsg("Failed to call getNDTServer(): "
+ + e.toString());
}
try {
@@ -107,8 +117,8 @@
+ Main.client_application);
}
} catch(e:Error) {
- TestResults.appendDebugMsg("Bad Flash permissions: No "
- + "access to javascript.");
+ TestResults.appendDebugMsg("Failed to call getClientApplication(): "
+ + e.toString());
}
try {
@@ -122,8 +132,8 @@
+ Main.ndt_description);
}
} catch(e:Error) {
- TestResults.appendDebugMsg("Bad Flash permissions: No "
- + "access to javascript.");
+ TestResults.appendDebugMsg("Failed to call getNDTDescription(): "
+ + e.toString());
}
}
- [ndt-dev] [ndt] r1041 committed - Merging Branch134 to solve issue 134., ndt, 03/27/2014
Archive powered by MHonArc 2.6.16.