[Webkit-unassigned] [Bug 153070] [iOS Simulator WK1] ASSERT loading Blink layout test imported/web-platform-tests/mediacapture-streams/stream-api/mediastream/mediastream-idl.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 14 14:14:30 PST 2016


--- Comment #4 from Eric Carlson <eric.carlson at apple.com> ---
(In reply to comment #3)
> (In reply to comment #2)
> > Assert happens when creating a runloop timer on the Web thread. Assert is:
> > 
> > RunLoop& RunLoop::main()
> > {
> >     ASSERT(s_mainRunLoop);
> >     return *s_mainRunLoop;
> > }
> > 
> > Is it not possible to use a runloop timer on the WebThread?
> I think it is possible, but there may be a "special" way to do it.  (And I
> remember their being caveats, but not exactly what they were.)
> This is stating the obvious (probably not helpful), but you want to use a
> WebThread runloop, not a main thread runloop, if you're going to spin it on
> the WebThread.

Of course, I should be passing "RunLoop::current()" instead of "RunLoop::main()" to the timer constructor.

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/20160114/9c748a9b/attachment.html>

More information about the webkit-unassigned mailing list