Closed
Bug 274553
Opened 20 years ago
Closed 19 years ago
Blocking iframes either via an extension or userchrome.css breaks find toolbar search
Categories
(Toolkit :: Find Toolbar, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: ttolonen, Assigned: mikeclackler)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
1.22 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041212 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20041212 Firefox/1.0+ Blocking iframes either via an extension or userchrome.css breaks find toolbar search. Symptoms seem to be exactly same as in bug 253502 For me this regressed between 12082004 and 12092004 nightlies. Reproducible: Always Steps to Reproduce: 1. Add iframe[src*="adtech"] {display: none !important;} to your userChrome.css 2. Go to http://www.warp2search.net 3. Search for something Actual Results: Search doesn't find anything from the page, if you hit highlight Firefox will highlight the searched words correctly but find next/previous still do not work. Expected Results: Move the page to the first match and highlight it and move to the next/previous match when using find next/previous.
Sorry for the spam, of course I meant userContent.css instead of userChrome.css.
Updated•20 years ago
|
Keywords: regression
This error appears in javascript console after trying to search something on a page with blocked iframe. Error: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface] Source File: Line: 209
Comment 3•20 years ago
|
||
this was the error message I got at gmail.com, which also suffers from this bug: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://global/content/findBar.js :: getSelectionControllerForFindToolbar :: line 209" data: no] Changing the code in that place by using a try..catch solves the bug for me.
Updated•20 years ago
|
Attachment #171208 -
Flags: review?(firefox)
Assignee | ||
Comment 4•20 years ago
|
||
(In reply to comment #3) > Created an attachment (id=171208) [edit] > Patch Nice. I can confirm that this patch fixes the Trunk problem of the findbar not working on a page where an add is blocked with userchrome.css. I can't find the bug, but there is a "sister" bug to this that tracked the problem back to something done around 12/8 (12/8 build worked, 12/9 build didn't). You spoke on MozillaZine saying "I guess the getInterface is in current trunk builds returning an error, instead of null on an error". Looking back to checkins on 12/8, bug 272471 has several changes to the getInterface routine.
Assignee | ||
Comment 5•20 years ago
|
||
Requesting blocking 1.1 since this is a regression from 1.0 and a patch exists
Flags: blocking-aviary1.1?
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 6•20 years ago
|
||
*** Bug 278477 has been marked as a duplicate of this bug. ***
Comment 7•20 years ago
|
||
Comment on attachment 171208 [details] [diff] [review] Patch unless you can tell me _why_ this is failing, and its an expected occurence, the try/catch is a non-starter.
Attachment #171208 -
Flags: review?(firefox) → review-
Comment 8•19 years ago
|
||
Renominate if a reasoned patch appears.
Flags: blocking-aviary1.1? → blocking-aviary1.1-
Comment 9•19 years ago
|
||
Comment on attachment 171208 [details] [diff] [review] Patch Had some time to track this down. Per bz, if there's a display: none, this is always going to throw, which is a change since 1.7. Since docshell throws where it should, we need to catch the exception.
Attachment #171208 -
Flags: review- → review+
Comment 10•19 years ago
|
||
*** Bug 287096 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Whiteboard: [checkin needed]
Comment 11•19 years ago
|
||
This also breaks sites that do this, plussing this, assign to patch author.
Assignee: firefox → mikeclackler
Flags: blocking-aviary1.1- → blocking-aviary1.1+
Comment 12•19 years ago
|
||
Checking in findBar.js; /cvsroot/mozilla/toolkit/components/typeaheadfind/content/findBar.js,v <-- findBar.js new revision: 1.5; previous revision: 1.4 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•