Bug 224529 - [iOS] WKMouseDeviceObserver is calling WebProcessProxy::send() on a non-main thread
Summary: [iOS] WKMouseDeviceObserver is calling WebProcessProxy::send() on a non-main ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks: 209292
  Show dependency treegraph
 
Reported: 2021-04-13 22:09 PDT by Chris Dumez
Modified: 2021-04-14 01:21 PDT (History)
6 users (show)

See Also:


Attachments
Patch (3.86 KB, patch)
2021-04-13 22:12 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].