Bug 231745 - [JS IPC] Implement a way to synchronously wait for an incoming IPC message
Summary: [JS IPC] Implement a way to synchronously wait for an incoming IPC message
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Wenson Hsieh
URL:
Keywords: InRadar
Depends on:
Blocks: 231701
  Show dependency treegraph
 
Reported: 2021-10-14 09:12 PDT by Wenson Hsieh
Modified: 2021-10-14 21:53 PDT (History)
3 users (show)

See Also:


Attachments
Depends on #231710 (11.36 KB, patch)
2021-10-14 09:24 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Depends on #231710 (11.35 KB, patch)
2021-10-14 09:30 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Add setWakeUpSemaphore too (15.33 KB, patch)
2021-10-14 10:02 PDT, Wenson Hsieh
no flags Details | Formatted Diff | Diff
Fix a typo (16.85 KB, patch)
2021-10-14 14:04 PDT, Wenson Hsieh
ews-feeder: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wenson Hsieh 2021-10-14 09:12:56 PDT
(..to match the behavior of Connection::waitForAndDispatchImmediately<T>).
Comment 1 Wenson Hsieh 2021-10-14 09:24:51 PDT Comment hidden (obsolete)
Comment 2 Wenson Hsieh 2021-10-14 09:30:12 PDT Comment hidden (obsolete)
Comment 3 Wenson Hsieh 2021-10-14 10:02:21 PDT
Created attachment 441232 [details]
Add setWakeUpSemaphore too
Comment 4 Wenson Hsieh 2021-10-14 14:04:37 PDT
Created attachment 441277 [details]
Fix a typo
Comment 5 EWS 2021-10-14 18:45:04 PDT
Committed r284223 (243032@main): <https://commits.webkit.org/243032@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 441277 [details].
Comment 6 Radar WebKit Bug Importer 2021-10-14 18:46:19 PDT
<rdar://problem/84284661>
Comment 7 Wenson Hsieh 2021-10-14 21:53:16 PDT
> Layout test failure:
> 
> - imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-050.html (test history)

This flaky debug assert is being tracked in <https://bugs.webkit.org/show_bug.cgi?id=231752>.