[Webkit-unassigned] [Bug 221660] New: It is too easy to hit IPC throttling when calling -[WKWebView evaluateJavaScript:completionHandler:]
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Feb 9 23:27:08 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=221660
Bug ID: 221660
Summary: It is too easy to hit IPC throttling when calling
-[WKWebView evaluateJavaScript:completionHandler:]
Product: WebKit
Version: Safari 14
Hardware: Mac (Apple Silicon)
OS: macOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit API
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jonathan at tumult.com
If you make too many JavaScript calls, you will hit:
2021-02-09 21:30:06.900010-0800 WebKitTester[66085:1768235] [IPC] 0x110c64160 - Connection::dispatchIncomingMessages: IPC throttling was triggered (has 13997 pending incoming messages, will only process 600 before yielding)
2021-02-09 21:30:06.903092-0800 WebKitTester[66085:1768235] [IPC] 0x110c64160 - Connection::dispatchIncomingMessages: first IPC message in queue is WebPageProxy_SetRenderTreeSize
2021-02-09 21:30:06.903403-0800 WebKitTester[66085:1768235] [IPC] 0x110c64160 - Connection::dispatchIncomingMessages: IPC throttling was triggered (has 13470 pending incoming messages, will only process 300 before yielding)
2021-02-09 21:30:06.903421-0800 WebKitTester[66085:1768235] [IPC] 0x110c64160 - Connection::dispatchIncomingMessages: first IPC message in queue is WebPage_RunJavaScriptInFrameInScriptWorldReply
It isn't clear what the problem is, but I had to develop my own concatenation and deferred call system to deal with this.
Apps like Tumult Hype [https://tumult.com/hype/] have deep integration between their data mode and web views. By limiting total calls, you make development less straight forward for apps like this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210210/8cf63e75/attachment-0001.htm>
More information about the webkit-unassigned
mailing list