Closed
Bug 959873
Opened 12 years ago
Closed 8 years ago
b2g, text/vnd.wap.wml and UX - unhelpful blank page
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: karlcow, Unassigned)
References
()
Details
This is a followup on the message sent to dev-b2g.
https://groups.google.com/forum/#!topic/mozilla.dev.b2g/e4dLmKqFThE
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.
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>
Comment 1•12 years ago
|
||
The current behaviour documented above is somewhat surprising. If Firefox gets a content type it doesn't recognise, surely the default behaviour should be to download it? Why don't we do that? Is it because it's XML? If so, why doesn't the user at least see the XML document tree?
Perhaps the right solution is like what we do for RSS and Atom feeds - a simple rendering (how hard could it be to have a stylesheet for WAP which at least showed the text?) with a bar at the top which suggests other ways of better viewing the content, and/or filing a bug, and/or complaining to the site?
There is also:
https://addons.mozilla.org/en-US/firefox/addon/wmlbrowser/
which might provide some useful code if we want to do a simple WML rendering.
Gerv
Updated•12 years ago
|
Component: Gaia::Browser → General
Comment 2•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•