Bug 187394

Summary: [iOS] Assertion failure in WebProcessProxy::allProcesses() (isMainThread())
Product: WebKit Reporter: mitz
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, cdumez, commit-queue, ddkilzer, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

mitz
Reported 2018-07-06 10:18:58 PDT
When running the iOS Mail app with TOT WebKit, WebProcessProxy::allProcesses() is called on the main thread, but because by then the Web thread has been initialized, the isMainThread() assertion fails. Perhaps allProcesses() should instead assert RunLoop::isMain().
Attachments
Patch (1.33 KB, patch)
2018-07-06 10:27 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2018-07-06 10:27:26 PDT
WebKit Commit Bot
Comment 2 2018-07-06 11:25:23 PDT
The commit-queue encountered the following flaky tests while processing attachment 344426 [details]: media/media-fullscreen-return-to-inline.html bug 187398 (authors: graouts@apple.com, mcatanzaro@igalia.com, and ryanhaddad@apple.com) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 3 2018-07-06 11:26:06 PDT
Comment on attachment 344426 [details] Patch Clearing flags on attachment: 344426 Committed r233582: <https://trac.webkit.org/changeset/233582>
WebKit Commit Bot
Comment 4 2018-07-06 11:26:07 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 5 2018-07-06 11:27:17 PDT
Note You need to log in before you can comment on or make changes to this bug.