FLUID-3832: Setting page size 0 or empty crashes the browser

Metadata

Source
FLUID-3832
Type
Bug
Priority
Major
Status
Open
Resolution
N/A
Assignee
N/A
Reporter
Cindy Li
Created
2010-11-12T15:33:58.085-0500
Updated
2016-12-19T17:37:48.749-0500
Versions
  1. 1.2.1
  2. 1.3
  3. 1.4
  4. 1.5
Fixed Versions
N/A
Component
  1. Pager

Description

http://build.fluidproject.org/infusion/demos/pager/
Setting page size to 0 or left empty crashes firefox. IE8 reports:

Stop running this script? A script on this page is causing IE to run slowly. If it continues on, your computer might become unresponsive.

Seems an infinite loop is resulted. The error handling is required in this case.

Environments

Chrome 35, FF 30, Safari 7 (Mac OS 10.9)
Firefox & IE8 (win xp)
IE 11 (Win 7)