Bug 214427

Summary: XPC connection should be suspended before setting target queue
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, bfulgham, cdumez, cmarcelo, darin, ews-watchlist, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
darin: review+
Patch none

Description Per Arne Vollan 2020-07-16 15:13:07 PDT
An active XPC connection should be suspended before setting a new target queue.
Comment 1 Per Arne Vollan 2020-07-16 15:24:26 PDT
Created attachment 404487 [details]
Patch
Comment 2 Darin Adler 2020-07-16 16:47:37 PDT
Comment on attachment 404487 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=404487&action=review

> Source/WTF/ChangeLog:3
> +        XPC connection should be suspended before setting target queue

Why?
Comment 3 Per Arne Vollan 2020-07-16 17:01:39 PDT
(In reply to Darin Adler from comment #2)
> Comment on attachment 404487 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=404487&action=review
> 
> > Source/WTF/ChangeLog:3
> > +        XPC connection should be suspended before setting target queue
> 
> Why?

According to logs, it is an error to set the target queue while the connection is active. I will update the change log.

Thanks for reviewing!
Comment 4 Per Arne Vollan 2020-07-16 17:13:14 PDT
Created attachment 404498 [details]
Patch
Comment 5 EWS 2020-07-16 18:00:50 PDT
Committed r264489: <https://trac.webkit.org/changeset/264489>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 404498 [details].
Comment 6 Radar WebKit Bug Importer 2020-07-16 18:01:17 PDT
<rdar://problem/65699751>