UIProcess sends some messages to WebPage before WebPage is created. It makes some error logs on debug build. Error Log: ERROR: Unhandled web process message 'WebPage:SetCanRunBeforeUnloadConfirmPanel' ../../Source/WebKit2/WebProcess/WebProcess.cpp(643) : virtual void WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::MessageDecoder&) ERROR: Unhandled web process message 'WebPage:SetCanRunModal' ../../Source/WebKit2/WebProcess/WebProcess.cpp(643) : virtual void WebKit::WebProcess::didReceiveMessage(IPC::Connection&, IPC::MessageDecoder&) So this patch moves the initialization of m_pageUIClient after calling WKViewInitialize().
Created attachment 250335 [details] Patch
Comment on attachment 250335 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=250335&action=review Thanks, LGTM. > Source/WebKit2/ChangeLog:11 > + Error Log: BTW, it looks this error log is not necessary in ChangeLog.
Created attachment 250414 [details] Patch
Comment on attachment 250335 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=250335&action=review >> Source/WebKit2/ChangeLog:11 >> + Error Log: > > BTW, it looks this error log is not necessary in ChangeLog. Thanks. I removed.
The commit-queue encountered the following flaky tests while processing attachment 250414 [details]: transitions/default-timing-function.html bug 138901 (author: simon.fraser@apple.com) fast/events/media-focus-in-standalone-media-document.html bug 143555 The commit-queue is continuing to process your patch.
Comment on attachment 250414 [details] Patch Clearing flags on attachment: 250414 Committed r182588: <http://trac.webkit.org/changeset/182588>
All reviewed patches have been landed. Closing bug.