I have seen that posting is about using IORM and post messages. I am trying to do a lot in the Win8 release preview with an HTML / JS Metro application, but it seems impossible to repeat the behavior in that solution.
I have a remote location:
& lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; Body & gt; & Lt; Script & gt; Window.onmessage = function (e) {Warning ("Hello World"); Debugger; }; & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt; In my default html, I have a div that contains iFrame:
I have a arbitrary button that implements post messages on #frames and a remote frame on a normal HTML site triggers an on-message, but instead I get an error list in VS Can view and view:
APPHOST9613: The app can not be navigated due to this error: RESOURCE_NOT_FOUND.
I have tried to look at any clearly what
internet (client and server) internet (client) No avail ... I have also tried to load the frame loaded in web context (local for application) (MS-WE-Web : //), which has a div that hosts a remote host, IFRAME and chain up for a remote message to remote iframe, forward a message But again I see another error:
APPHOST9624: APS MS-WEV: Web: //frame.html/ URL, because the URL launches another app
I'm beginning to think that this is an impossible task.
I leave it except for a piece of information because I believe there is no relation to this problem I second solution: Clearing that issue now allows the app to load the remote iframe and I can press the button and see that the message in the remote iframe javascript reaches (in my case I see a warning ) Is undefined, but May include trying to prove that I load and execute remote code).
I think the morality of the story has been clarified by the JavaScript Console errors ...
Comments
Post a Comment