Bug 224529

Summary: [iOS] WKMouseDeviceObserver is calling WebProcessProxy::send() on a non-main thread
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: drousso, ggaren, kkinnunen, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=224448
Bug Depends on:    
Bug Blocks: 209292    
Attachments:
Description Flags
Patch none

Description Chris Dumez 2021-04-13 22:09:16 PDT
WKMouseDeviceObserver is calling WebProcessProxy::send() on a non-main thread on iOS. WebProcessProxy::send() is not thread-safe so we added an assertion in r275839 to help catch such bugs.
Comment 1 Chris Dumez 2021-04-13 22:09:29 PDT
<rdar://76598710>
Comment 2 Chris Dumez 2021-04-13 22:12:17 PDT
Created attachment 425952 [details]
Patch
Comment 3 EWS 2021-04-14 01:05:20 PDT
Found 1 new test failure: imported/w3c/web-platform-tests/webaudio/the-audio-api/the-mediastreamaudiosourcenode-interface/mediastreamaudiosourcenode-ctor.html
Comment 4 Tim Horton 2021-04-14 01:10:19 PDT
Comment on attachment 425952 [details]
Patch

Nonsense.
Comment 5 EWS 2021-04-14 01:20:59 PDT
Committed r275937 (236499@main): <https://commits.webkit.org/236499@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425952 [details].