mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2025-01-19 03:42:52 +08:00
CB-7433 Fixes manual tests failure on windows
This commit is contained in:
parent
e316e32808
commit
c8c3bf0782
@ -429,7 +429,16 @@ exports.defineManualTests = function (contentEl, createActionButton) {
|
|||||||
'</p><div id="remove"></div>' +
|
'</p><div id="remove"></div>' +
|
||||||
'Expected result: Remove image from library.<br>Status box will show "FileEntry.remove success:["OK"]';
|
'Expected result: Remove image from library.<br>Status box will show "FileEntry.remove success:["OK"]';
|
||||||
|
|
||||||
|
// 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) {
|
||||||
|
MSApp.execUnsafeLocalFunction(function() {
|
||||||
contentEl.innerHTML = info_div + options_div + getpicture_div + test_procedure + inputs_div + actions_div;
|
contentEl.innerHTML = info_div + options_div + getpicture_div + test_procedure + inputs_div + actions_div;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
contentEl.innerHTML = info_div + options_div + getpicture_div + test_procedure + inputs_div + actions_div;
|
||||||
|
}
|
||||||
|
|
||||||
var elements = document.getElementsByClassName("testInputTag");
|
var elements = document.getElementsByClassName("testInputTag");
|
||||||
var listener = function (e) {
|
var listener = function (e) {
|
||||||
testInputTag(e.target);
|
testInputTag(e.target);
|
||||||
|
Loading…
Reference in New Issue
Block a user