Parent: #268. Webview epic: #264.
Proven gap
Unchanged Code OSS probes document.queryCommandSupported('copy'|'cut'|'paste') before enabling its clipboard actions, and forwards Select All through the same legacy editing-command surface. WebScene implements bounded execCommand paths but exposes no queryCommandSupported method, so capability detection can disable commands that the native runtime supports.
Focused scope
- Expose a browser-shaped, non-constructible
Document.queryCommandSupported operation in top-level, initial iframe, and navigated iframe realms.
- Report only the commands WebScene actually implements: copy, cut, paste, and selectAll.
- Preserve case-insensitive DOMString conversion and receiver checks.
- Add no clipboard or host authority.
Deferred validation debt
Under the current implementation-only directive, merge without waiting for new Chromium/WPT/native/performance/CI evidence. Follow-up acceptance must cover descriptors, invalid receivers and coercion, all document realm kinds, replacement/detach cleanup, exact Code OSS clipboard feature detection, and repeated-call memory/latency bounds.
Non-overlap
Do not touch consolidation PR #76, AppScene, vscode-demo, CSS, filesystem, input routing, or accessibility publication.
Parent: #268. Webview epic: #264.
Proven gap
Unchanged Code OSS probes
document.queryCommandSupported('copy'|'cut'|'paste')before enabling its clipboard actions, and forwards Select All through the same legacy editing-command surface. WebScene implements boundedexecCommandpaths but exposes noqueryCommandSupportedmethod, so capability detection can disable commands that the native runtime supports.Focused scope
Document.queryCommandSupportedoperation in top-level, initial iframe, and navigated iframe realms.Deferred validation debt
Under the current implementation-only directive, merge without waiting for new Chromium/WPT/native/performance/CI evidence. Follow-up acceptance must cover descriptors, invalid receivers and coercion, all document realm kinds, replacement/detach cleanup, exact Code OSS clipboard feature detection, and repeated-call memory/latency bounds.
Non-overlap
Do not touch consolidation PR #76, AppScene, vscode-demo, CSS, filesystem, input routing, or accessibility publication.