viz/test: Check for overflow in TestWebGraphicsContext3D id allocation.
The context is allocated an id which is implicitly assumed to be 2 bytes, so it can be encoded in framebuffers/texture ids and used to verify that textures used with a context are allocated by it. This causes overflow issues with fuzzer runs, so wrap around the id once it reaches the max value. R=enne@chromium.org Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel Change-Id: I10c799520be55a310ad90a4dfdb564f805cc3ce5 Reviewed-on: https://chromium-review.googlesource.com/1040878 Commit-Queue: Khushal <khushalsagar@chromium.org> Reviewed-by:danakj <danakj@chromium.org> Reviewed-by:
enne <enne@chromium.org> Cr-Commit-Position: refs/heads/master@{#555965}
Showing
Please register or sign in to comment