Description[EnforceRange] doesn't enforce range of a short
Handle Web IDL short / unsigned short types as per the
specification:
- http://www.w3.org/TR/WebIDL/#es-short
- http://www.w3.org/TR/WebIDL/#es-unsigned-short
Specifically, we used to treat short / unsigned short as 32bit
integers, which was wrong. We now properly handle them as 16bit
integers.
This CL is based on WebKit r158521:
http://trac.webkit.org/changeset/158521
R=haraken
TEST=js/dom/webidl-type-mapping.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161248
Patch Set 1 #Patch Set 2 : Fix CL #Patch Set 3 : Fix test failure #
Total comments: 1
Patch Set 4 : Extend layout test #
Total comments: 1
Messages
Total messages: 11 (0 generated)
|