added missing getParameter checks

Some implementation dependent parameters have not been checked for type and minimum maximum, I've added these checks.

The trigger to add these checks was that IE11's implementation does not implement these getParameters correctly (because they wheren't checked).