We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9c2559 commit 24141dbCopy full SHA for 24141db
src/managers/views/iframe.js
@@ -381,7 +381,15 @@ class IframeView {
381
}
382
383
this.iframe.contentDocument.open();
384
- this.iframe.contentDocument.write(contents);
+ // For Cordova windows platform
385
+ if(window.MSApp && MSApp.execUnsafeLocalFunction) {
386
+ var outerThis = this;
387
+ MSApp.execUnsafeLocalFunction(function () {
388
+ outerThis.iframe.contentDocument.write(contents);
389
+ });
390
+ } else {
391
+ this.iframe.contentDocument.write(contents);
392
+ }
393
this.iframe.contentDocument.close();
394
395
0 commit comments