andreasgal/gaia — pull request #829 by fabi1cazenave (2012-03-17 15:35:30+00:00)
Title: fix an endless loop by limiting pageCount to 32

Steps to reproduce:

1. open Gaia in Firefox
2. open Firebug in this window (e.g. Firebug > Firebug UI location > right)
3. move the splitter until Gaia is hidden

Expected result: nothing happens
Actual result: browser is frozen

This page should fix that by limiting the number of pages to 32 (= purely arbitrary limit).