Browser & Web Performance · Senior · Question 2 of 75

Why did browsers disable SharedArrayBuffer by default and then re-enable it only for cross-origin isolated pages?

Explanation

With COOP and COEP the page can't pull in cross-origin resources that haven't opted in, so a Spectre gadget has nothing secret to read.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 2

Test yourself

Take the Browser & Web Performance · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz