Created attachment 585214 [details] Backtrace In my addon (Thunderbird Conversations), I'm trying to reuse the find code to make it search a *chrome* browser that contains *content* iframes. Apart from the fact that it doesn't work well, it also segfaults brutally as soon as I reassign the find bar (using its browserid="" attribute) to a chrome browser that's marked as *content*. Original discussion: https://groups.google.com/d/topic/mozilla.dev.extensions/_BRbMVub7wY/discussion
Sorry, the last part was "to a *XUL* browser that's marked as content".
(In reply to Jonathan Protzenko from comment #0) > I reassign the find bar (using its browserid="" attribute) That won't work; the attribute is only used to populate the internal cached element shortly after construction and is then ignored. Instead you should probably set findbar.browser to the new browser DOM element directly. The crash is probably happening because you're trying to find on a deleted browser but the chances are the code wasn't designed to check for that case.
You need to log in before you can comment on or make changes to this bug.