-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-infrastructureUse area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-infrastructureinternal techdebt or infrastructure issues affecting the web team specificallyinternal techdebt or infrastructure issues affecting the web team specifically
Description
Specifically, we would need to support the following headers (we're already running in a secure context, so we just need to be cross-origin isolated):
https://developer.mozilla.org/en-US/docs/Web/API/Window/crossOriginIsolated
These are the prerequisites to use SharedArrayBuffer
s: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
I did an initial attempt by adding these headers here:
response.headers.set("Access-Control-Allow-Origin", "*"); |
Cross-Origin-Opener-Policy: same-origin
means that the window's opener
is always null: if (window != window.parent) { |
Metadata
Metadata
Assignees
Labels
area-infrastructureUse area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.Use area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.web-infrastructureinternal techdebt or infrastructure issues affecting the web team specificallyinternal techdebt or infrastructure issues affecting the web team specifically