On Mon, Sep 16, 2013 at 3:24 PM, Gavin Sharp <ga...@gavinsharp.com> wrote: > The find bar wants to avoid finding "hidden" text, AIUI (see bug > 257061). Some false positives would certainly be OK. The findbar C++ > code already does something not-quite-perfect and we've lived with > that for a while, so from my perspective it would be fine to make a > JS-exposed helper that does the equivalent and just use that.
This isn't possible to do in a way that meets user expectations in all cases, and I don't envy anyone who tries too hard to approximate it. Probably the findbar code should continue implementing its own checking, unless you're aware of other actual consumers that could reuse the same code. _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform