Enforcing range in parameters of putImageData, getImageData and createImageData
These functions receive parameters of type long, and those were not being checked in case they were receiving infinity or other not-long values. Added EnforceRange in the idl to ensure those functions are receiving valid longs. Removing the expected on the WPT tests to stop ignoring these failures. Changing a fast test that was testing the original throw behavior. Bug: 934841, 934839, 934837 Change-Id: Iaa95d3c5ed9ac545472ff72e9ef4b535d22cbedf Reviewed-on: https://chromium-review.googlesource.com/c/1494798 Commit-Queue: Juanmi Huertas <juanmihd@chromium.org> Reviewed-by:Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#636626}
Showing
Please register or sign in to comment