Re: [webkit-dev] Some doubt about PluginView in WebCore

2011-12-20 Thread Adam Roben
On Dec 20, 2011, at 7:23 AM, huangxueqing wrote:

> As guys know, there two implement of plug-in in webkit, the first is located 
> in WebKit/WebProcess/plugins and another in WebCore/plugins, safari5 use 
> former and Chromium implement plug-in in separate process in 
> webkit/support/glue/plugins.
> I want to know WebCore/plugins whether be maintained in future? Currently, it 
> seems windowless plug-in has some problem in WebCore/plugins, for instance, 
> PluginView::setNPWindowRect do nothing although m_npWindow.window is NULL, 
> but WebKit/WebProcess/plugins hook |TrackPopupMenu| and chromium call a GDI 
> api |CreateCompatableDC|. I have commit a bug about this  
> https://bugs.webkit.org/show_bug.cgi?id=74917.
> Actually, we hope WebCore/plugins be maintained since most base-on webkit 
> browser use it except chromium. Anyway, I found lots of bug about plug-in, I 
> will commit these in later.

I think Anders Carlsson (who wrote the original implementations of both 
WebCore's and WebKit2's plugins support) would like to see the WebKit2 code 
replace the WebCore code eventually. The WebKit2 code is well-suited to running 
either in-process or out-of-process. Perhaps Chromium could even adopt it 
eventually.

Any bugs you find should be filed at . Thanks!

-Adam

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Possibility of extending parameters of WKPageWillSubmitFormCallback for WebKit2

2011-12-20 Thread Grzegorz Czajkowski
Hi,

 

There is useful callback WKPageWillSubmitFormCallback in WebKit2 which may
notify an application when submit button was clicked.

This callback provides through its parameters values of input fields by
WKDictionaryRef type (in fact HashMap converted to API), where key is a name
of input field and value is a typed text to an input field.

 

I see three disadvantages of it:

1.   Input fields information is keep in hashmap, so they  are not keep
in order as they occur on page. Application can't determine order of text
input fields based on passed hashmap.

2.   Type of input fields are not passed (like password, text), we have
only its name.

3.   HashMap for given key returns typed text to an input field not a
default one. HTML's attribute value includes default value of input fields.
It may confuse a developer.

 

I will not limit input fields information to the name and typed text only.

What do you think about passing WKArrayRef instead of
WKDictionaryRef where each item of array will be contain all attributes of
input fields as key-value? 

Additionally we can add form attributes as WKDictionary to the callback to
identify form on which submit button was clicked.

 

I will be glad to hear your opinion about it.

 

Regards,

Grzegorz

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


[webkit-dev] Some doubt about PluginView in WebCore

2011-12-20 Thread huangxueqing
Hi webkits:

 As guys know, there two implement of plug-in in webkit, the first
is located in WebKit/WebProcess/plugins and another in WebCore/plugins,
safari5 use former and Chromium implement plug-in in separate process in
webkit/support/glue/plugins. 

 I want to know WebCore/plugins whether be maintained in future?
Currently, it seems windowless plug-in has some problem in WebCore/plugins,
for instance, PluginView::setNPWindowRect do nothing although
m_npWindow.window is NULL, but WebKit/WebProcess/plugins hook
|TrackPopupMenu| and chromium call a GDI api |CreateCompatableDC|. I have
commit a bug about this  https://bugs.webkit.org/show_bug.cgi?id=74917.

 Actually, we hope WebCore/plugins be maintained since most base-on
webkit browser use it except chromium. Anyway, I found lots of bug about
plug-in, I will commit these in later.

 Thanks.

 


百度客户端部

RD

 黄学青

 | Tel: 5992-1996 

| Mob:186-0306-3814 | Hi: huangxq1986| Office:首创 F3-BW651

 

 

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


Re: [webkit-dev] webkit-dev Digest, Vol 79, Issue 22

2011-12-20 Thread Vicky Tux
Check libcurl what u are using has SSL support.(ie) built to use OpenSSL
for https. Still you have issues enable  WEBKIT_IGNORE_SSL_ERRORS enviromental
variable and try.

On Tue, Dec 20, 2011 at 4:37 AM, wrote:

>
> Message: 4
> Date: Wed, 17 Aug 2011 17:26:18 -0400
> From: Moumita Banerjee 
> To: undisclosed-recipients:;
> Subject: [webkit-dev] gmail.com is not loaded through winlauncher
> Message-ID:
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> I am trying to load gmail.com from winLauncher but this page is not
> loaded.
> but when I try to load google.com it's load successfully.
>
> Is there any setting variable , I need to set? Please help me.
>
> Thanks,
> Moumita
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://lists.webkit.org/pipermail/webkit-dev/attachments/20110817/09b58761/attachment.html
> >
>
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev