Closed Bug 684249 Opened 13 years ago Closed 13 years ago

Bookmark search won't work with particular url-s

Categories

(Firefox :: Bookmarks & History, defect)

6 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 658242

People

(Reporter: nentcheff, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.1) Gecko/20100101 Firefox/6.0.1 Build ID: 20110830092941 Steps to reproduce: I have a bookmark: Name = remember password Location = javascript:(function(){var%20ca,cea,cs,df,dfe,i,j,x,y;function%20n(i,what){return%20i+%22%20%22+what+((i==1)?%22%22:%22s%22)}ca=cea=cs=0;df=document.forms;for(i=0;i<df.length;++i){x=df[i];dfe=x.elements;if(x.onsubmit){x.onsubmit=%22%22;++cs;}if(x.attributes[%22autocomplete%22]){x.attributes[%22autocomplete%22].value=%22on%22;++ca;}for(j=0;j<dfe.length;++j){y=dfe[j];if(y.attributes[%22autocomplete%22]){y.attributes[%22autocomplete%22].value=%22on%22;++cea;}}}alert(%22Removed%20autocomplete=off%20from%20%22+n(ca,%22form%22)+%22%20and%20from%20%22+n(cea,%22form%20element%22)+%22,%20and%20removed%20onsubmit%20from%20%22+n(cs,%22form%22)+%22.%20After%20you%20type%20your%20password%20and%20submit%20the%20form,%20the%20browser%20will%20offer%20to%20remember%20your%20password.%22)})(); I opened the bookmarks with Ctrl+B. Searched for 'remember'. Actual results: The bookmark didn't show up. However when I changed the location to dummy.com, the search worked. Expected results: The bookmark should have shown up. It was working with Firefox 5.x and earlier.
Can also be reproduced with Location = javascript:(function())();
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Component: General → Bookmarks & History
QA Contact: general → bookmarks
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.