After I upgraded my Chrome browser to version 122.0.6261.70 (Official Build) (64-bit) today, my WebGL program stopped working and threw an exception Cannot assign to read only property 'RGBA8' of object '#'. Does anyone know the reason for this?
about code:
if (!gl.isWebGL2) {
gl.RGBA8 = gl.RGBA;
gl.RGB8 = gl.RGB;
}
An exception was thrown when executing gl.RGBA8 = gl.RGBA;.
When I rolled back the browser or removed the relevant code, everything went back to normal.