Hello Benjamin,

Using threads to re-enter the core is not a solution. WebCore is not
thread safe, and only specific subsystems of JavaScriptCore are thread
safe. If you re-enter arbitrary web pages, you will run into additional
problems since scripts are not written to be re-entrant.


I see

The solution is almost always to redesign the interprocess IPC to use
asynchronous messages. In this case, you may want to break the
synchronicity from the WebProcess to the UIProcess, or execute the
custom JS asynchronously.


Yeah.. I have found an asynchronous work-around for this particular issue.

Thanks!
  Sami

_______________________________________________
webkit-help mailing list
webkit-help@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-help

Reply via email to