[Webkit-unassigned] [Bug 116312] [WK2][WTR]Adding Layout test framework for MHTML page content
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 28 01:14:45 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=116312
--- Comment #12 from Santosh Mahto <santoshbit2007 at gmail.com> 2013-05-28 01:13:14 PST ---
(In reply to comment #11)
> (In reply to comment #10)
> > (In reply to comment #9)
> > > (From update of attachment 202253 [details] [details] [details])
>
> > > Instead, what should happen is the InjectedBundle sends a message to the UIProcess asking for the data. The UIProcess uses the public API (WKPageGetContentsAsMHTMLData) and return the value to the injected bundle asynchronously.
>
InjectedBundlePage.cpp is meant to access only WebProcess not UI process.
The concept of injected bundle it to inject(use) the code of WebProcess without using UIprocess
If I got through UI process it will clear violation of InjectedBundle concept.
InjectedBundlePage.cpp is meant to call InjectedBundle of WebProcess.
Thats why all kind of dump done by webkittestrunner (webarchive, text) diectly
use WebProcess.
For WebArchive There is wk2 api also WKFrameGetWebArchive(WKFrameRef in WkFrame.cpp, but injectedBundle use directly webprocess as per rules.
Anyway UIprocess Api should be tested by unittest seperatly
So I am confident of using webprocess directly
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list