[Shape Detection] Check for a neutered ImageData buffer
Script can transfer the ArrayBuffer created by an instance of ImageData. In this case the data is no longer available and the ImageData should be rejected by the detect() API. Bug: 957522 Change-Id: I2601aa9661303ce1a5fd67044178e2ef83347281 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1600458Reviewed-by:Miguel Casas <mcasas@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#657738}
Showing
Please register or sign in to comment