You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2014/09/10 16:54:05 UTC
git commit: CB-7433 Adds missing window reference to prevent manual
tests failure on Android and iOS
Repository: cordova-plugin-camera
Updated Branches:
refs/heads/master 1ffb14d76 -> d84b875c4
CB-7433 Adds missing window reference to prevent manual tests failure on Android and iOS
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/d84b875c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/d84b875c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/d84b875c
Branch: refs/heads/master
Commit: d84b875c449d68937520a1b352e09f6d39044fbf
Parents: 1ffb14d
Author: Vladimir Kotikov <v-...@microsoft.com>
Authored: Wed Sep 10 18:53:09 2014 +0400
Committer: Vladimir Kotikov <v-...@microsoft.com>
Committed: Wed Sep 10 18:53:09 2014 +0400
----------------------------------------------------------------------
tests/tests.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/d84b875c/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index efe424b..f9c570d 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -431,7 +431,7 @@ exports.defineManualTests = function (contentEl, createActionButton) {
// We need to wrap this code due to Windows security restrictions
// see http://msdn.microsoft.com/en-us/library/windows/apps/hh465380.aspx#differences for details
- if (MSApp && MSApp.execUnsafeLocalFunction) {
+ if (window.MSApp && window.MSApp.execUnsafeLocalFunction) {
MSApp.execUnsafeLocalFunction(function() {
contentEl.innerHTML = info_div + options_div + getpicture_div + test_procedure + inputs_div + actions_div;
});