Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox Nightly crashing when typing url bar android marshmallow aosp room

  • 1 reply
  • 6 have this problem
  • 3 views
  • Last reply by 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");

All Replies (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.