Enforce HTML range restriction on setting unsigned attribute values.

The HTML spec requires that reflected attributes over unsigned longs
are kept to a limited range [0, 2^31) on setting & getting,

   http://www.whatwg.org/specs/web-apps/current-work/#reflect

No such clamping was in place for the upper bound; enforce it when
setting the unsigned long attribute.

R=
BUG=316122

Review URL: https://codereview.chromium.org/99443005

git-svn-id: svn://svn.chromium.org/blink/trunk@163778 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: 9d32519227557782d206151bcdf876a84c45bc18
  1. third_party/