WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
156464
Fix a bug where createNewPage is not working with warmInitialProcess
https://bugs.webkit.org/show_bug.cgi?id=156464
Summary
Fix a bug where createNewPage is not working with warmInitialProcess
Ryuan Choi
Reported
2016-04-11 05:11:13 PDT
If I am right, createNewPage must create new page with the process of related page regardless of m_haveInitialEmptyProcess.
Attachments
Patch
(12.54 KB, patch)
2016-04-11 05:26 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(12.58 KB, patch)
2016-04-11 06:47 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(12.80 KB, patch)
2016-05-01 17:01 PDT
,
Ryuan Choi
beidson
: review-
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Ryuan Choi
Comment 1
2016-04-11 05:26:37 PDT
Created
attachment 276139
[details]
Patch
Ryuan Choi
Comment 2
2016-04-11 06:47:02 PDT
Created
attachment 276146
[details]
Patch
Alex Christensen
Comment 3
2016-04-11 14:34:28 PDT
Comment on
attachment 276146
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=276146&action=review
> Tools/TestWebKitAPI/Tests/WebKit2/CreatePageWithWarmInitialProcess.cpp:87 > + WKPageLoadURL(webView.page(), url.get()); > + WKContextWarmInitialProcess(context.get());
Why do you need to warm the initial process after loading a URL? I think the intent of WarmInitialProcess is that it is called before loading a URL.
Ryuan Choi
Comment 4
2016-04-11 17:49:44 PDT
Comment on
attachment 276146
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=276146&action=review
>> Tools/TestWebKitAPI/Tests/WebKit2/CreatePageWithWarmInitialProcess.cpp:87 >> + WKContextWarmInitialProcess(context.get()); > > Why do you need to warm the initial process after loading a URL? I think the intent of WarmInitialProcess is that it is called before loading a URL.
Yes. It is not for the prior Loading(86line) but just to reserve web process before calling createNewPage(). I called it here just to simplify test case. IMHO, I think that WarmInitialProcess is not only for first process. So, I called WarmInitialProcess after created every new tab (and without loading a URL). But in that case, createNewPage() was not working when called window.open() in other tab.
Ryuan Choi
Comment 5
2016-05-01 17:01:02 PDT
Created
attachment 277876
[details]
Patch
Ryuan Choi
Comment 6
2016-05-01 17:06:58 PDT
(In reply to
comment #5
)
> Created
attachment 277876
[details]
> Patch
I modified test case little bit with comment. IMHO, all operations should be fine whenever we call warmInitialProcess.
Brady Eidson
Comment 7
2017-08-19 16:01:33 PDT
Comment on
attachment 277876
[details]
Patch r-, as this has been pending review for over a year now. It is near-impossible that this patch still applies to trunk and unlikely to still be relevant in its current form.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug