Select to view content in your preferred language

API 4.18 Got Console Error After Upgrade Chrome to 128.0.6613.85

738
5
08-22-2024 01:29 PM
SonnyTF
Emerging Contributor

Hi All,

Our front-end project with ArcGIS Maps SDK for JavaScript 4.18 worked well on Chrome before it upgraded to 128.0.6613.85. After Chrome was upgraded this morning,  we got many console errors when opening a map with some graphic layers.

SonnyTF_0-1724357595895.png

After some research, we found it was related to setUniform4fv() method in the Programs.js file. When the "c" is "u_sigmas", "b" comes with [underfinded, undefined, undefined, undefined ]

SonnyTF_1-1724357847570.png

We can get the same error from the sample code after changing the API to 4.18.
SOandbox | Sample Code | ArcGIS Maps SDK for JavaScript 4.30 | Esri Developer

Example error.png

Other Browers don't have this issue. After upgrading this API  to 4.30 Chrome v128.0.6613.85 got rid of this error too, We also found the same method on API 4.30 gets a null check for "c".

SonnyTF_4-1724358040395.png

 

Is there any idea why upgrading Chrome to 128.0.6613.85 will get this error?

 

Tags (3)
5 Replies
AndyGup
Esri Regular Contributor

Hi @SonnyTF, try upgrading your SDK version and see if you are still getting the error - latest version is 4.30. Not sure if you were aware, version 4.18 (released December 2020) was retired on May 1st. https://support.esri.com/en-us/products/arcgis-maps-sdk-for-javascript/life-cycle

MichaelVolz
Esteemed Contributor

Another community thread indicates that v4.30 will fix this issue.

SonnyTF
Emerging Contributor

Hi @MichaelVolz ,

Can you share the link to that thread? I searched the community before posting this thread, but I couldn't find any topic related to this.

Thanks,
Sonny

0 Kudos
SonnyTF
Emerging Contributor

@AndyGup ,
We can confirm that upgrading to the latest version will eliminate this error. This is just out of curiosity that if any breaking change is made by Chrome in the new version that makes 4.18 not work anymore.

Thanks,
Sonny

0 Kudos
AndyGup
Esri Regular Contributor
0 Kudos