Bug 187531

Summary: [WinCairo] Add windows storage process connection implementation
Product: WebKit Reporter: Christopher Reid <chris.reid>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, ap, beidson, chris.reid, commit-queue, darin, don.olmstead, ews-watchlist, Hironori.Fujii, rniwa, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch
none
patch
none
Archive of layout-test-results from ews206 for win-future none

Description Christopher Reid 2018-07-10 11:41:33 PDT
StorageProcess::createStorageToWebProcessConnection and StorageProcessProxy::didCreateStorageToWebProcessConnection have no windows implementations.
This is causing the webprocess' main thread to indefinitely lock when attempting to use the storage process.
Comment 1 Christopher Reid 2018-07-10 14:29:56 PDT
Created attachment 344722 [details]
patch
Comment 2 Fujii Hironori 2018-07-10 20:35:30 PDT
Comment on attachment 344722 [details]
patch

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

I'm not a reviewer. This is an informal review.

> Source/WebKit/StorageProcess/StorageProcess.cpp:268
> +        return;

I think you shouldn't ignore this error. Mac port is calling LOG_ERROR and CRASH in case of error. Windows port should do the same.
Comment 3 Christopher Reid 2018-07-10 22:44:08 PDT
(In reply to Fujii Hironori from comment #2)
> Comment on attachment 344722 [details]
> patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=344722&action=review
> 
> I'm not a reviewer. This is an informal review.
> 
> > Source/WebKit/StorageProcess/StorageProcess.cpp:268
> > +        return;
> 
> I think you shouldn't ignore this error. Mac port is calling LOG_ERROR and
> CRASH in case of error. Windows port should do the same.

It looks like the NetworkProcess::createNetworkConnectionToWebProcess also suppressed that error. I'll update that too.
Comment 4 Christopher Reid 2018-07-10 23:35:22 PDT
Created attachment 344757 [details]
patch
Comment 5 Fujii Hironori 2018-07-10 23:56:20 PDT
LGTM!
Comment 6 EWS Watchlist 2018-07-11 02:07:47 PDT
Comment on attachment 344757 [details]
patch

Attachment 344757 [details] did not pass win-ews (win):
Output: https://webkit-queues.webkit.org/results/8503116

New failing tests:
http/tests/preload/onload_event.html
Comment 7 EWS Watchlist 2018-07-11 02:07:58 PDT
Created attachment 344760 [details]
Archive of layout-test-results from ews206 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews206  Port: win-future  Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Comment 8 WebKit Commit Bot 2018-07-13 11:28:16 PDT
Comment on attachment 344757 [details]
patch

Clearing flags on attachment: 344757

Committed r233807: <https://trac.webkit.org/changeset/233807>
Comment 9 WebKit Commit Bot 2018-07-13 11:28:18 PDT
All reviewed patches have been landed.  Closing bug.
Comment 10 Radar WebKit Bug Importer 2018-07-13 11:30:11 PDT
<rdar://problem/42173986>