搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox Nightly crashing when typing url bar android marshmallow aosp room

  • 1 个回答
  • 6 人有此问题
  • 3 次查看
  • 最后回复者为 Paul

more options
it happens more frequent when I want to search a bookmarklet using url bar this way is always reproducible for example save a bookmarklet and name it get images then type get in url bar and firefox crashes bookmarklet example : javascript:(function(){s='<script%20type="text/javascript">function%20displayLink()%20{%20str="Links
";%20chkBoxes%20=%20document.getElementsByName("chkImage");%20for(var%20i=0;i<chkBoxes.length;i++)%20{%20if(chkBoxes[i].type%20==%20"checkbox")%20{%20if(chkBoxes[i].checked%20==%20true)%20{%20str+=%20"<a%20href="+getImgURL(chkBoxes[i].id)+">"+getImgURL(chkBoxes[i].id)+"</a><br />";}}}%20document.getElementById("divLink").innerHTML%20=%20str;%20}%20function%20getImgURL(txt)%20{i%20=%20txt.indexOf("imgurl");if%20(i%20>%200)%20{if%20(txt.indexOf("&",i)%20>%200)%20txt%20=%20txt.substring(i+7,txt.indexOf("&",i));else%20if%20(txt.indexOf("%26",i)%20>%200)%20txt%20=%20txt.substring(i+7,txt.indexOf("%26",i));}return%20txt;}</script><style>.width{float:left;width:23%;max-height:25%;border-style:dotted;border-width:thin;margin:2px}%20.width%20img%20{%20max-width:90%;%20max-height:100%;%20padding:5px;%20margin:auto;%20vertical-align:text-top}</style>';%20s+='
Links
';%20cnt%20=%200;%20for%20(i=0;i<document.images.length;i++)%20{%20if(document.images[i].src%20==%20<em>%20||%20document.images[i].width<30%20||%20document.images[i].height<30)%20continue;%20if(cnt++%20%%204==0){s+='
'%20};imgURL=document.images[i].src;if(document.images[i].parentNode.tagName%20==%20'A')%20{refImg=decodeURIComponent(document.images[i].parentNode.href);if(refImg.indexOf("imgurl")>0)%20imgURL=refImg;}%20s+='
<input%20type="checkbox"%20name="chkImage"%20id="'+imgURL+'"%20onchange="displayLink()"/>
';};if(s!=){document.open("text/html");
it happens more frequent when I want to search a bookmarklet using url bar this way is always reproducible for example save a bookmarklet and name it get images then type get in url bar and firefox crashes bookmarklet example : javascript:(function(){s='<script%20type="text/javascript">function%20displayLink()%20{%20str="Links<br/>";%20chkBoxes%20=%20document.getElementsByName("chkImage");%20for(var%20i=0;i<chkBoxes.length;i++)%20{%20if(chkBoxes[i].type%20==%20"checkbox")%20{%20if(chkBoxes[i].checked%20==%20true)%20{%20str+=%20"<a%20href="+getImgURL(chkBoxes[i].id)+">"+getImgURL(chkBoxes[i].id)+"</a><br/>";}}}%20document.getElementById("divLink").innerHTML%20=%20str;%20}%20function%20getImgURL(txt)%20{i%20=%20txt.indexOf("imgurl");if%20(i%20>%200)%20{if%20(txt.indexOf("&",i)%20>%200)%20txt%20=%20txt.substring(i+7,txt.indexOf("&",i));else%20if%20(txt.indexOf("%26",i)%20>%200)%20txt%20=%20txt.substring(i+7,txt.indexOf("%26",i));}return%20txt;}</script><style>.width{float:left;width:23%;max-height:25%;border-style:dotted;border-width:thin;margin:2px}%20.width%20img%20{%20max-width:90%;%20max-height:100%;%20padding:5px;%20margin:auto;%20vertical-align:text-top}</style>';%20s+='<div%20id="divLink"%20style="width:80%;height:180px;position:fixed;background-color:white;overflow:auto;border-style:solid;border-width:medium;margin:5px;padding:5px;">Links</div><div%20style="height:200px"></div>';%20cnt%20=%200;%20for%20(i=0;i<document.images.length;i++)%20{%20if(document.images[i].src%20==%20''%20||%20document.images[i].width<30%20||%20document.images[i].height<30)%20continue;%20if(cnt++%20%%204==0){s+='<div%20style="clear:%20both"></div>'%20};imgURL=document.images[i].src;if(document.images[i].parentNode.tagName%20==%20'A')%20{refImg=decodeURIComponent(document.images[i].parentNode.href);if(refImg.indexOf("imgurl")>0)%20imgURL=refImg;}%20s+='<div%20class="width"><input%20type="checkbox"%20name="chkImage"%20id="'+imgURL+'"%20onchange="displayLink()"/><img%20src="'+document.images[i].src+'"></div>';};if(s!=''){document.open("text/html");

所有回复 (1)

more options

Hi

Thank you for your question and thank you for using Nightly. You are helping make Firefox for Android better for everyone.

As you may be aware, Firefox for Android Nightly is a few versions ahead of the final release version, so you may encounter the occasional unresolved issue. The best thing to do is report them to Bugzilla, the bug reporting and management tool for Mozilla software. You will be able to contribute what you are seeing and get updates on progress towards fixing it.

I hope this helps, but if not please come back here and we can look into a different solution for you.