mozilla-b2g/gaia — pull request #6712 by benfrancis (2012-11-29 13:50:04+00:00)
Title: Bug 797633 [browser] Gaia work to prevent bouncing address bar bug

Only hide the address bar if there's enough page to scroll to not cause the iframe resizing to move the content past the threshold to trigger showing it again, and getting into an infinite loop.

Try reading that sentence after a couple of beers!