You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS engine: type_text's paste route never confirms in background Firefox (read-back snapshot reads the field before Firefox's focus settles) #427
Under a non-Latin input source, type_text pastes. With #361, the paste route answers success only when the field reads back exactly. In background Firefox it never does, because that read-back can't read the field.
Measured in #361's qualification (run 44442976031, README scripts/probe-361/README.md at 92a78f2d on probe/361-qual; Firefox 160 on hosted macOS; Korean, Japanese Romaji/Kana and Pinyin):
Exact pastes: all 480 were delivered exactly, and all 480 answered typeUnconfirmed: rangeUnreadable 291, fieldChanged 189. None was valueMismatch or a false success.
Cost: the plain-paste p95 went from 0.64 to 1.56 s. The p50 depends on the source: about 1.1 s under Korean, 0.6 s under Pinyin, and about 0.17 s under the Japanese sources.
Likely cause:#361's phase-1 AX probe found that in all 100 of 100 trials, Firefox's AX focus first names the earlier setup field. It moves to the target only between 35 ms before and 58 ms after the first ⌘V. The read-back's snapshot is taken after the activation and before ⌘V, so it reads the wrong field (fieldChanged) or one whose range can't be read (rangeUnreadable). This is the paste-route form of #419.
What to find out
Confirm the cause. In an instrumented copy, record which element the snapshot names, and when Firefox's focus settles relative to the activation and the first ⌘V.
Activity
Evidence: #361's hosted qualification, and background Firefox's uncon…
macOS engine: type_text's paste route confirms by exact read-back, ke…