More browser work.

This commit is contained in:
Storm Dragon committed 2026-10-24 18:33:04 -04:00
1 parent bf4b9d7b54
commit 9462ebfc82
28 files changed
+1000 -94

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
<!doctype html>
<html lang="en"><meta charset="utf-8"><title>Cthulhu Browser Probe</title>
<body>
<button autofocus>Start live region probe</button>
<div aria-live="polite" aria-atomic="true"><span>Download status:</span> <span id="atomic">Waiting</span></div>
<div aria-live="polite" aria-atomic="true"><span>Account status:</span> <span id="addition"></span></div>
<div aria-live="polite" aria-atomic="false"><span>Outer context:</span> <span id="non-atomic">Waiting</span></div>
<div id="busy" aria-live="polite" aria-atomic="true" aria-busy="true"><span>Busy status:</span> <span id="busy-value">Waiting</span></div>
<script>
document.addEventListener('keydown', event => {
if (event.key === 'F9') {
document.getElementById('atomic').firstChild.data = 'Completed';
} else if (event.key === 'F10') {
const child = document.createElement('span');
child.textContent = 'Verified';
document.getElementById('addition').appendChild(child);
} else if (event.key === 'F11') {
document.getElementById('non-atomic').firstChild.data = 'Inner update';
} else if (event.key === 'F12') {
const region = document.getElementById('busy');
region.setAttribute('aria-busy', 'true');
document.getElementById('busy-value').firstChild.data = 'Intermediate update';
} else if (event.key === 'F7') {
document.getElementById('busy').setAttribute('aria-busy', 'false');
} else {
return;
}
event.preventDefault();
});
</script>
</body></html>
+1
View File
@@ -12,6 +12,7 @@ from native_test_session import run_private_session
BROWSER_PROOFS = {
"live-atomic": ("./internal/atspi", "^TestNativeBrowserAtomicLiveRegion$", 30, 35, "browser-live.html"),
"replaced-feed": ("./internal/atspi", "^TestNativeBrowserMissingFeedRefreshesWholeBranch$", 30, 35, "browser-replaced-feed.html"),
"nested-document": ("./internal/app", "^TestNativeBrowserNestedDocumentHeadings$", 40, 45),
"reveal": ("./internal/app", "^TestNativeBrowserRevealedHeadings$", 60, 65),