[Webkit-unassigned] [Bug 119767] [WK2] Sync messages with non-default timeout sent from secondary threads always time out

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 13 15:54:31 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119767





--- Comment #3 from Justin Bur <justin at cam.org>  2013-08-13 15:54:06 PST ---
The timeout comes from ChildProcessProxy.h (default argument in ChildProcessProxy::sendSync(), called from UIProcess/mac/WebPageProxyMac.mm).
The use case is calling methods of the NSTextInputClient protocol, such as - attributedSubstringForProposedRange:actualRange: on WKView.
The secondary thread is running my scripting addition.

More details on my scenario (a grammar and spell check application) in bug 61889. It would probably be possible to do the same work using the AppleScript command "do JavaScript" to access the DOM directly. The nice thing about NSTextInputClient is that it conveniently converts back and forth between the DOM and flat attributed strings.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list