Bug 200020

Summary: Make NetworkSession no longer RefCounted
Product: WebKit Reporter: youenn fablet <youennf>
Component: WebKit Misc.Assignee: youenn fablet <youennf>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, cgarcia, clopez, commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Description youenn fablet 2019-07-22 17:13:55 PDT
This will simplify the object management model.
Comment 1 youenn fablet 2019-07-22 17:30:09 PDT
Created attachment 374658 [details]
Patch
Comment 2 youenn fablet 2019-07-22 18:53:35 PDT
Created attachment 374663 [details]
Patch
Comment 3 Radar WebKit Bug Importer 2019-07-23 10:09:27 PDT
<rdar://problem/53451361>
Comment 4 Alex Christensen 2019-07-23 13:00:16 PDT
Comment on attachment 374663 [details]
Patch

I like it.
Comment 5 youenn fablet 2019-07-23 20:23:02 PDT
I probably am missing some if(m_networkSession).
@cgarcia, could you look whether some are missing in GTK code?
Comment 6 Carlos Garcia Campos 2019-07-24 06:24:11 PDT
We need for sure a null check in the NetworkDataTask destructor, but I wonder if we need it everywhere m_session is used, or only in async completion handlers?
Comment 7 youenn fablet 2019-07-24 14:23:56 PDT
Created attachment 374810 [details]
Patch
Comment 8 youenn fablet 2019-07-24 14:25:15 PDT
Created attachment 374811 [details]
Patch
Comment 9 WebKit Commit Bot 2019-07-25 11:17:26 PDT
Comment on attachment 374811 [details]
Patch

Clearing flags on attachment: 374811

Committed r247831: <https://trac.webkit.org/changeset/247831>
Comment 10 WebKit Commit Bot 2019-07-25 11:17:28 PDT
All reviewed patches have been landed.  Closing bug.
Comment 11 Carlos Alberto Lopez Perez 2019-07-25 14:11:09 PDT
(In reply to WebKit Commit Bot from comment #9)
> Comment on attachment 374811 [details]
> Patch
> 
> Clearing flags on attachment: 374811
> 
> Committed r247831: <https://trac.webkit.org/changeset/247831>

Seems this broke GTK Debug build:

https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug%20%28Build%29/builds/23203/steps/compile-webkit/logs/stdio
Comment 12 Carlos Garcia Campos 2019-07-26 00:54:51 PDT
(In reply to Carlos Alberto Lopez Perez from comment #11)
> (In reply to WebKit Commit Bot from comment #9)
> > Comment on attachment 374811 [details]
> > Patch
> > 
> > Clearing flags on attachment: 374811
> > 
> > Committed r247831: <https://trac.webkit.org/changeset/247831>
> 
> Seems this broke GTK Debug build:
> 
> https://build.webkit.org/builders/GTK%20Linux%2064-bit%20Debug%20%28Build%29/
> builds/23203/steps/compile-webkit/logs/stdio

Fixed in r247856: <https://trac.webkit.org/changeset/247856>
Comment 13 youenn fablet 2019-07-26 09:20:10 PDT
Thanks!