Loosen the checks for numbers in layout test controller.
Loosen the checks for numbers in layout test controller.

To fix https://bugs.webkit.org/show_bug.cgi?id=49036, I'm planning
on removing the int32 value and just using a number.

Review URL: http://codereview.chromium.org/5209004

git-svn-id: http://src.chromium.org/svn/trunk/src@66680 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: ddf9f82ed3f757271a45b69ddd80e5148c82ea1c
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser