karma-runner / karma-runner/karma

Support cross-origin isolation

Open
#3,676 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

I'm testing code that uses SharedArrayBuffer and I'm getting the following warning in the Chrome console:

> [Deprecation] 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.

Will there be a way to enable cross-origin isolation in Karma so that SharedArrayBuffer doesn't break?

Contributor guide

Open the contributing guide

Research direction

Read the linked Chrome guidance on cross-origin isolation first, then trace how Karma serves browser test pages and handles response headers. Confirm the expected behavior with a SharedArrayBuffer test in Chrome; done means Karma provides a documented way to enable the required isolation without the warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.