Bug 143514 - [EFL] Create PageUIClientEfl after sending CreateWebPage message
Summary: [EFL] Create PageUIClientEfl after sending CreateWebPage message
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jaehun Lim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-07 22:49 PDT by Jaehun Lim
Modified: 2015-04-08 22:23 PDT (History)
3 users (show)

See Also:


Attachments
Patch (2.57 KB, patch)
2015-04-07 22:53 PDT, Jaehun Lim
no flags Details | Formatted Diff | Diff
Patch (2.15 KB, patch)
2015-04-08 21:21 PDT, Jaehun Lim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaehun Lim 2015-04-07 22:49:24 PDT
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().
Comment 1 Jaehun Lim 2015-04-07 22:53:49 PDT
Created attachment 250335 [details]
Patch
Comment 2 Gyuyoung Kim 2015-04-08 21:16:46 PDT
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.
Comment 3 Jaehun Lim 2015-04-08 21:21:01 PDT
Created attachment 250414 [details]
Patch
Comment 4 Jaehun Lim 2015-04-08 21:22:25 PDT
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.
Comment 5 WebKit Commit Bot 2015-04-08 22:22:17 PDT
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 6 WebKit Commit Bot 2015-04-08 22:23:45 PDT
Comment on attachment 250414 [details]
Patch

Clearing flags on attachment: 250414

Committed r182588: <http://trac.webkit.org/changeset/182588>
Comment 7 WebKit Commit Bot 2015-04-08 22:23:49 PDT
All reviewed patches have been landed.  Closing bug.