What is x-wmapp2 and x-wmapp1?

丶灬走出姿态 提交于 2019-12-06 08:57:21

问题


I am getting x-wmapp2:/app/www/index.html as output when I try to console.log(windows.location.href); in my Windows Phone PhoneGap app when I try to run in emulator. When I try to run actual device, it gives x-wmapp1:/app/www/index.html. What is x-wmapp2 and x-wmapp1? What is the difference between them? I also find there exists x-wmapp0 also. Could someone explain this?


回答1:


It appears to be the Scheme of the WebBrowser element whenever one is opening locally-stored web pages.

Actually, it starts from x-wmapp0 and is incremented for every new instance of WebBrowser. Whenever the app is started anew or tombstoned and restarted, the count goes back to zero.

Of course, these is my personal experience. Only a chap from the IE team at MS could say for certain.



来源:https://stackoverflow.com/questions/17525840/what-is-x-wmapp2-and-x-wmapp1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!