sdk/js-sdk/notes/TEST_PLAN.md
Test plan:
Negative tests are deliberately excluded from the happy-path matrix and will live in a dedicated suite. They are not covered by the cartesian generator.
Scenarios to cover:
kms_lib_bg.wasm bytes do not match the expected SHA-256, wasmAssetLoadMode: verified-blob must fail with SHA-256 mismatch in the logs.Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp (and/or Cross-Origin-Resource-Policy: same-origin), wasmAssetLoadMode: trusted-direct-url must fail with a clear, actionable error rather than the current generic Worker error. The other modes (embedded-base64, verified-blob, precheck-direct-url, auto) should still succeed under the same broken-headers configuration, since they wrap the worker bytes in a Blob URL that bypasses COEP.