Fix some issues with disabled edit fields.

This commit is contained in:
lilmike committed 2026-10-27 09:20:20 -07:00
1 parent d8b59aa05b
commit 7d720e131d
7 files changed
+240 -11

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
<!doctype html><title>Cthulhu Browser Probe</title>
<p>Before fields</p>
<div tabindex="0" aria-label="Completed row" onclick="">
<div><input autofocus id="answer" aria-label="Answer" value="Solved"></div>
<div><input id="readonly" aria-label="Read only answer" value="Confirmed" readonly></div>
</div>
<input type="password" aria-label="Secret" value="Private fixture">
<p>After fields</p>
<script>document.addEventListener('keydown', e => {
if (e.key === 'F9') {
document.getElementById('answer').disabled = true;
document.getElementById('readonly').disabled = true;
}
});</script>
+1
View File
@@ -12,6 +12,7 @@ from native_test_session import run_private_session
BROWSER_PROOFS = {
"disabled-fields": ("./internal/app", "^TestNativeBrowserDisabledFieldsRemainReadable$", 40, 70, "browser-disabled-fields.html"),
"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),