sql-js / sql-js/sql.js

WebAssembly.Memory causes issues with content security policy

オープン
#268 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
JavaScript
スター
13.7k
フォーク
1.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

Safari throws an error when loading with a content security policy that doesn't include 'unsafe-eval' in script-src. It seems to be the odd man out. I don't know what can be done to work around it.

https://github.com/WebAssembly/content-security-policy/blob/master/proposals/CSP.md

web-assembly-csp

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Start by reproducing the Safari error while loading sql.js under a script-src policy without 'unsafe-eval'. Read the linked WebAssembly CSP proposal and compare its guidance with the reported WebAssembly.Memory behavior. Done means identifying a viable workaround or clearly documenting that Safari cannot support this configuration.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, wasm
領域
security, web-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。