SharedArrayBuffer warning impacting Chrome 91
Noticing following warning in chrome console, looked at twilio code and it seems innocuous, will it be going away in future version?
SharedArrayBuffer will require cross-origin isolation as of M91, around May 2021. See https://developer.chrome.com/blog/enabling-shared-array-buffer/ for more details.
Software versions:
- [X] Browser(s): Chrome Version 89.0.4389.90 (Official Build) (x86_64)
- [X] Operating System: MacOs 10.15.7 Catalina
- [X] twilio-video.js: 2.8.0
- [X] Third-party libraries (e.g., Angular, React, etc.): AngularJs 1.6
It doesn't seem like twilio-video.js uses SharedArrayBuffer. Recently (with one of Chrome updates) this error started appearing in all React versions (all but the most recent one, 17.0.2, which fixed this issue).
On React 17.0.2 and twilio-video 2.8.0-beta-3 and warning doesn't appear.
It may be connected to AngularJs 1.6, or other packages you may use.
I haven't tried upgrading to the latest version of twilio-video.js but a quick search in the distributed file shows instances of SharedArrayBuffer. I'll report back once I've tried upgrading the library.
Edit: definitely an issue in Twilio library
@dandoyon , @http-teapot ,
Thanks for the investigation. I dug a bit deeper and traced it to our dependency on Browserify's node-util module. The upcoming 0.12.4 release should fix the problem.
Thanks,
Manjesh