什么是X-wmapp2和X wmapp1? [英] What is x-wmapp2 and x-wmapp1?
问题描述
我收到 X-wmapp2:/app/www/index.html
作为输出,当我尝试的console.log(windows.location .href);在我的Windows Phone应用程序的PhoneGap
当我尝试在模拟器中运行。当我尝试运行实际的设备,它提供了 X-wmapp1:/app/www/index.html
。什么是X-wmapp2和X wmapp1?它们之间有什么区别?我也发现存在的X wmapp0也。可能有人解释一下吗?
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?
推荐答案
这似乎是在计划
的在 web浏览器
元素,每当一个打开本地存储的网页。
It appears to be the Scheme
of the WebBrowser
element whenever one is opening locally-stored web pages.
事实上,从<$ C $启动C>的X wmapp0 ,并递增 web浏览器
的每一个新的实例。每当应用程序启动或重新逻辑删除并重新启动,计数回零。
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.
当然,这些是我个人的经验。只有从IE团队MS一个家伙可以说一定的。
Of course, these is my personal experience. Only a chap from the IE team at MS could say for certain.
这篇关于什么是X-wmapp2和X wmapp1?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!