RESOLVED FIXED 189695
REGRESSION (PSON): White or Black flash occurs when process swapping on navigation on iOS
https://bugs.webkit.org/show_bug.cgi?id=189695
Summary REGRESSION (PSON): White or Black flash occurs when process swapping on navig...
Antti Koivisto
Reported 2018-09-18 01:56:10 PDT
Fix it on iOS too.
Attachments
patch (18.80 KB, patch)
2018-09-25 05:14 PDT, Antti Koivisto
no flags
patch (19.03 KB, patch)
2018-09-25 06:31 PDT, Antti Koivisto
no flags
patch (19.05 KB, patch)
2018-09-25 06:47 PDT, Antti Koivisto
simon.fraser: review+
simon.fraser: commit-queue-
patch (20.10 KB, patch)
2018-09-26 04:28 PDT, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2018-09-18 01:56:26 PDT
Antti Koivisto
Comment 2 2018-09-25 05:14:19 PDT
Antti Koivisto
Comment 3 2018-09-25 06:31:31 PDT
EWS Watchlist
Comment 4 2018-09-25 06:32:49 PDT
Attachment 350749 [details] did not pass style-queue: ERROR: Source/WebKit/UIProcess/mac/WebPageProxyMac.mm:42: Alphabetical sorting problem. [build/include_order] [4] Total errors found: 1 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
Antti Koivisto
Comment 5 2018-09-25 06:47:47 PDT
Simon Fraser (smfr)
Comment 6 2018-09-25 10:52:29 PDT
Comment on attachment 350750 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=350750&action=review > Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:1704 > + [self _processWillChange]; It's weird that "process did exit" calls "process will change". _processWillChange implies we're still attached to the old process but are about to switch. > Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:165 > + if (!m_drawingArea) > + return; Blank line after the return please. > Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:185 > + if (!m_drawingArea) > + return; Blank line after the return please. > Source/WebKit/UIProcess/ios/PageClientImplIOS.mm:216 > + [m_contentView _processDidExit]; > + [m_webView _processWillSwap]; Please keep the contentView and webView methods the same.
Antti Koivisto
Comment 7 2018-09-26 04:28:38 PDT
WebKit Commit Bot
Comment 8 2018-09-26 05:06:19 PDT
Comment on attachment 350855 [details] patch Clearing flags on attachment: 350855 Committed r236500: <https://trac.webkit.org/changeset/236500>
WebKit Commit Bot
Comment 9 2018-09-26 05:06:20 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.