Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 08713e96fc2ad608cac23d9692ce47d1084d8d1b
      
https://github.com/WebKit/WebKit/commit/08713e96fc2ad608cac23d9692ce47d1084d8d1b
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M 
LayoutTests/fast/canvas/webgl/draw-elements-out-of-bounds-uint-index-expected.txt
    M LayoutTests/fast/canvas/webgl/draw-elements-out-of-bounds-uint-index.html
    M Source/ThirdParty/ANGLE/src/libANGLE/validationES.h
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/WebGLCompatibilityTest.cpp

  Log Message:
  -----------
  WebGL: UNSIGNED_INT drawElements() does not validate large indexes correctly
https://bugs.webkit.org/show_bug.cgi?id=309120
rdar://171292767

Reviewed by Dan Glastonbury.

Fix by removing the explicit static cast. The range type is uint32 and
can be converted to GLint64 implicitly and correctly. If the type is
changed to incompatible type (size_t), the implicit cast will warn.

* Source/ThirdParty/ANGLE/src/libANGLE/validationES.h:
(gl::ValidateDrawElementsCommon):
* Source/ThirdParty/ANGLE/src/tests/gl_tests/WebGLCompatibilityTest.cpp:

Originally-landed-as: 305413.413@safari-7624-branch (a3d82cd35967). 
rdar://176066815
Canonical link: https://commits.webkit.org/314991@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to