gecko-dev/toolkit/components/typeaheadfind
Emilio Cobos Álvarez 2747e35c51 Bug 1528616 - Make nsTypeAheadFind less prone to mismatched pres contexts. r=dholbert
Ranges don't cross documents, and there's no reason the typeahead find passes a
shell around. So just don't do it.

This also fixes a bug where references to frames were kept around a flush.
That's potentially unsafe, so I've avoided the flush by passing false to
nsRange.

If something depends on it all the callers need be audited and fixed to handle a
flush properly.

Depends on D40696

Differential Revision: https://phabricator.services.mozilla.com/D40697

--HG--
extra : moz-landing-system : lando
2019-08-08 06:18:39 +00:00
..
content
jar.mn
moz.build
nsITypeAheadFind.idl Bug 1377980 part 1. Remove use of nsIDOMRange in xpidl. r=mcc8 2018-05-17 12:01:37 -04:00
nsTypeAheadFind.cpp Bug 1528616 - Make nsTypeAheadFind less prone to mismatched pres contexts. r=dholbert 2019-08-08 06:18:39 +00:00
nsTypeAheadFind.h Bug 1528616 - Make nsTypeAheadFind less prone to mismatched pres contexts. r=dholbert 2019-08-08 06:18:39 +00:00