Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Web Automation: suppress automatic text correction in pages controlle…
…d by automation https://bugs.webkit.org/show_bug.cgi?id=156599 <rdar://problem/25712646> Reviewed by Timothy Hatcher. If the page is controlled by automation, then automatic text corrections will cause unexpected behaviors by nondeterministically modifying text inserted by a test. Just pretend these behaviors are disabled if controlled by automation. * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm: (WebKit::WebEditorClient::isAutomaticQuoteSubstitutionEnabled): (WebKit::WebEditorClient::isAutomaticDashSubstitutionEnabled): (WebKit::WebEditorClient::isAutomaticTextReplacementEnabled): (WebKit::WebEditorClient::isAutomaticSpellingCorrectionEnabled): Canonical link: https://commits.webkit.org/174705@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@199565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information