[Webkit-unassigned] [Bug 167776] REGRESSION(r211486) [GTK] The MiniBrowser doesn't work anymore.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 2 23:43:16 PST 2017


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

--- Comment #2 from Carlos Garcia Campos <cgarcia at igalia.com> ---
In some places we do:

JSC::initializeThreading();
WTF::initializeMainThread();

in others:

JSC::initializeThreading();
WTF::initializeMainThread();
RunLoop::initializeMainRunLoop();

and in others even:

WTF::initializeMainThread();
JSC::initializeThreading();

In iOS the web thread does this:

// WTF::initializeMainThread() needs to be called before JSC::initializeThreading() since the
// code invoked by the latter needs to know if it's running on the WebThread. See
// <rdar://problem/8502487>.

WTF::initializeMainThread();
WTF::initializeWebThread();
JSC::initializeThreading();

So, a quick solution to this bug could be doing this in InitializeWebKit2

WTF::initializeThreading();
WTF::initializeMainThread();
JSC::initializeThreading();

But I think we should check all the callers of all initializeThreading methods to make it consistent.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170203/ef7691af/attachment.html>


More information about the webkit-unassigned mailing list