<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Reproducible "Unhanded web process message 'WebUserContentController:AddUserScripts'" and friends"
href="https://bugs.webkit.org/show_bug.cgi?id=153193#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Reproducible "Unhanded web process message 'WebUserContentController:AddUserScripts'" and friends"
href="https://bugs.webkit.org/show_bug.cgi?id=153193">bug 153193</a>
from <span class="vcard"><a class="email" href="mailto:thorton@apple.com" title="Tim Horton <thorton@apple.com>"> <span class="fn">Tim Horton</span></a>
</span></b>
<pre>The fix is not super obvious.
I considered moving the offending block:
if (m_process->state() == WebProcessProxy::State::Running) {
if (m_userContentController)
m_process->addWebUserContentControllerProxy(*m_userContentController);
m_process->addVisitedLinkStore(m_visitedLinkStore);
}
to the end of initializeWebPage, after CreateWebPage is sent, but then in the reattachToWebProcess case, we'll end up doing the work twice (because reattachToWebProcess calls processDidFinishLaunching if the process is up, which ALSO includes the above block).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>