From d84b875c449d68937520a1b352e09f6d39044fbf Mon Sep 17 00:00:00 2001 From: Vladimir Kotikov Date: Wed, 10 Sep 2014 18:53:09 +0400 Subject: [PATCH] CB-7433 Adds missing window reference to prevent manual tests failure on Android and iOS --- tests/tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; });