Bug 206458

Summary: Stop doing synchronous DecidePolicyForNavigationActionSync IPCs for initially empty document loads
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, beidson, commit-queue, dbates, ews-watchlist, ggaren, japhet, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 206442    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch none

Description Chris Dumez 2020-01-17 16:14:12 PST
Bypass synchronous DecidePolicyForNavigationAction IPC for initially empty document loads.
Comment 1 Chris Dumez 2020-01-17 16:16:09 PST
Created attachment 388109 [details]
Patch
Comment 2 Chris Dumez 2020-01-17 16:58:08 PST
Created attachment 388118 [details]
Patch
Comment 3 Chris Dumez 2020-01-21 16:07:09 PST
Created attachment 388363 [details]
Patch
Comment 4 Chris Dumez 2020-01-21 16:25:58 PST
Comment on attachment 388363 [details]
Patch

Brady suggest sending the IPC as async in this case and simply ignore the response. I am looking into this.
Comment 5 Chris Dumez 2020-01-21 16:33:14 PST
Created attachment 388372 [details]
Patch
Comment 6 Chris Dumez 2020-01-21 17:02:00 PST
Created attachment 388375 [details]
Patch
Comment 7 WebKit Commit Bot 2020-01-22 11:29:20 PST
The commit-queue encountered the following flaky tests while processing attachment 388375 [details]:

editing/spelling/spellcheck-attribute.html bug 206178 (authors: g.czajkowski@samsung.com, mark.lam@apple.com, and rniwa@webkit.org)
The commit-queue is continuing to process your patch.
Comment 8 WebKit Commit Bot 2020-01-22 11:29:53 PST
Comment on attachment 388375 [details]
Patch

Clearing flags on attachment: 388375

Committed r254930: <https://trac.webkit.org/changeset/254930>
Comment 9 WebKit Commit Bot 2020-01-22 11:29:55 PST
All reviewed patches have been landed.  Closing bug.
Comment 10 Radar WebKit Bug Importer 2020-01-22 15:47:40 PST
<rdar://problem/58814321>
Comment 11 Radar WebKit Bug Importer 2020-01-22 15:47:43 PST
<rdar://problem/58814324>