In early 2018, the Spectre and Meltdown vulnerabilities were discovered. In response, browser manufacturers disabled SharedArrayBuffer by default. Some of the recipes in this chapter require this feature. This recipe demonstrates how to enable them in Chrome.
Enabling SharedArrayBuffers in Chrome
Getting ready
This recipe assumes that you have an up to date version of Chrome installed.
How to do it...
- Open Chrome.
- Navigate to chrome://flags/.
- Click I accept the risk!
- Search for shared.
- Select Enabled for the option Experimental enabled SharedArrayBuffer support...