When accessing Web sites, sometimes Firefox OS is identified as a basic feature phone and is being sent to the WAP site. (below an example of that)
On Firefox OS, * the user gets a blank page. That's not very helpful. There should be a better way to inform the user that there is an issue. * the developer should receive a message in the console saying that the format text/vnd.wap.wml sent by the server is incompatible with Firefox on Firefox OS. Should I open a bug? PS1: On Firefox for Android, the message is no better. You noticed that something has been downloaded and that's all. PS2: On the Web Compatibility side, we attempt to get things fixed by contacting Web sites, but the user experience is still crappy if we don't get a quick fix. Example: → http -v GET http://wap.abchina.com/Portal/logon/Index.aspx "User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0" "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" "Accept-Language: en-us,en;q=0.5" "Accept-Encoding: gzip, deflate" "DNT: 1" "Connection: keep-alive" GET /Portal/logon/Index.aspx HTTP/1.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding: gzip, deflate Accept-Language: en-us,en;q=0.5 Connection: keep-alive DNT: 1 Host: wap.abchina.com User-Agent: Mozilla/5.0 (Mobile; rv:26.0) Gecko/26.0 Firefox/26.0 HTTP/1.1 200 OK Cache-Control: private Content-Length: 2616 Content-Type: text/vnd.wap.wml; charset=utf-8 Date: Tue, 14 Jan 2014 03:08:00 GMT Server: Microsoft-IIS/6.0 X-AspNet-Version: 2.0.50727 X-Powered-By: ASP.NET <?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <head> <meta http-equiv="Cache-Control" content="max-age=0"/> </head> <card id="card1" title="中国农业银行"> <p> <img src="http://wap.abchina.com/Portal/Images/logo.gif" alt="中国农业银行" /><br /> 尊敬的客户:<br /> 我行掌上银行(Android版)已经正式上线,如果您使用的是安卓(Android)手机,欢迎点击下面的按钮下载使用:<br /> <a href="http://mobile.abchina.com/download/clientDownload/zh_CN/MB_Index.aspx"><img src="http://wap.abchina.com/Portal/Images/AndroidClient.gif" alt="Android客户端下载" /></a><br /><br /> 登录手机银行(WAP)<br /> <a href="http://cmproxy.umpay.com/bankproxy/merproxy?BANKID=00015000&MODE=2">>>中国移动用户</a><br /> <a href="http://10.199.89.20:9000/gateway?BANKID=ABC01&MODE=1">>>中国联通用户</a><br /> <a href="http://wap.abchina.com/Portal/logon/Main.aspx?Corp=3">>>中国电信用户</a><br /> <a href="http://wap.abchina.com/Portal/logon/Explain.aspx">>>业务说明</a><br /> <a href="http://wap.abchina.com/Portal/logon/test.aspx">>>WAP手机银行适应性测试</a><br /><br /> <a href="http://abc.99wuxian.com">>>“掌上生活、畅享中秋”秒杀ING...</a><br /> <a href="http://3g.paybest.cn/abc_drawing.php?drawing=4">>>暑期“疯行” 保险、iPhone4s送不停</a><br /> -----------------<br /> 全国24小时服务热线:95599<br/> 中国农业银行版权所有<br/><br/> </p> </card> </wml> -- Karl Dubost, Mozilla http://www.la-grange.net/karl/moz _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
