Skip to content

Commit 4dbabc9

Browse files
committed
Avoid backtracking in permissions contract
Signed-off-by: Joseph Yaksich <gitcommit90@users.noreply.github.com>
1 parent f1406d1 commit 4dbabc9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/workspace-interactions.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ test("workspace sidebar interactions have durable, member-scoped contracts", ()
2222
});
2323

2424
test("speech-to-text is explicit, graceful, and combination-safe", () => {
25-
assert.match(server, /"permissions-policy": "camera=\(\), microphone=\(self\), geolocation=\(\)(?:, [^"]+)*"/, "the web control plane permits first-party microphone access for explicit dictation");
25+
assert.ok(server.includes('"permissions-policy": "camera=(), microphone=(self), geolocation=(), unload=(self)"'), "the web control plane permits first-party microphone access for explicit dictation");
2626
assert.match(app, /SpeechRecognition\?[^\n]+webkitSpeechRecognition/, "standard and prefixed browser recognition are supported");
2727
assert.match(app, /dataset: \{ speechToggle: "" \}/, "the composer exposes an explicit mic control");
2828
assert.match(app, /data(?:set)?: \{ listeningIndicator: "" \}/, "dictation exposes a subtle global listening indicator");

0 commit comments

Comments
 (0)