Bug 846037 - Get the input size during runtime
Merge pull request #8429 from crh0716/846037

Bug 846037 - Get the input size during runtime. r=asuth