Re: [webkit-dev] Implementing new WebSocket protocol

2011-06-15 Thread Yuta Kitamura
On Wed, Jun 15, 2011 at 6:57 AM, Maciej Stachowiak m...@apple.com wrote: Getting on the latest protocol in place would be great, so long as we minimize the risk of anyone shipping a halfway mix. What do you mean by a halfway mix? If you mean we should not ship until the complete feature set

[webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread 권기홍
Hi webkit-dev! I wanted to let you know that I plan to add battery status event support to WebCore. The Battery Status Event is a new feature that is defined by W3C (http://www.w3.org/TR/battery-status http://www.w3.org/TR/battery-status/ ) This support will be behind the

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Holger Freyther
On 06/15/2011 10:21 AM, 권기홍 wrote: Hi webkit-dev! I wanted to let you know that I plan to add battery status event support to WebCore. The Battery Status Event is a new feature that is defined by W3C (http://www.w3.org/TR/battery-status http://www.w3.org/TR/battery-status/) I am

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Kihong Kwon
Dear. holger I agree with you. This spec is too simple, and I think there may be some other needs. So I reported your concern to DAP WG for this spec, I'm joining in the DAP WG in the W3C. But this is a minimum set of battery status report to WebApps or a Web pages, So I think this event and

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Ryosuke Niwa
2011/6/15 권기홍 kihong.k...@samsung.com I wanted to let you know that I plan to add battery status event support to WebCore. The Battery Status Event is a new feature that is defined by W3C ( http://www.w3.org/TR/battery-status) It seems like the working draft has a couple of TODOs now. Is

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Kihong Kwon
From: ryosuke.n...@gmail.com [mailto:ryosuke.n...@gmail.com] On Behalf Of Ryosuke Niwa 2011/6/15 권기홍 kihong.k...@samsung.com I wanted to let you know that I plan to add battery status event support to WebCore. The Battery Status Event is a new feature that is defined by W3C

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Anssi Kostiainen
Hi, On 15.6.2011, at 17.24, ext Ryosuke Niwa wrote: 2011/6/15 권기홍 kihong.k...@samsung.com I wanted to let you know that I plan to add battery status event support to WebCore. The Battery Status Event is a new feature that is defined by W3C (http://www.w3.org/TR/battery-status) It

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread laszlo.1.gombos
Hi, It seems like the working draft has a couple of TODOs now. Is the spec sufficiently stable? Are other browser vendors implementing this feature? We have interest implementing the battery-status spec for the QtWebKit (and share the common part of the implementation). What happens if

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Holger Freyther
On 06/15/2011 06:11 PM, laszlo.1.gom...@nokia.com wrote: Hi, The use-case for us is to enable content developers to implement rudimentary power management (e.g. to stop expensive operations on the page, perhaps save state). I'm not sure if this API is really meant for accurately

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Brett Wilson
On Wed, Jun 15, 2011 at 9:30 AM, Holger Freyther ze...@selfish.org wrote: On 06/15/2011 06:11 PM, laszlo.1.gom...@nokia.com wrote: Hi, The use-case for us is to enable content developers to implement rudimentary power management (e.g. to stop expensive operations on the page, perhaps

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Andrei Popescu
On Wed, Jun 15, 2011 at 5:58 PM, Brett Wilson bre...@chromium.org wrote: On Wed, Jun 15, 2011 at 9:30 AM, Holger Freyther ze...@selfish.org wrote: On 06/15/2011 06:11 PM, laszlo.1.gom...@nokia.com wrote: Hi, The use-case for us is to enable content developers to implement rudimentary

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Holger Freyther
On 06/15/2011 06:58 PM, Brett Wilson wrote: Why would a web page care about whether the battery is being charged when the device is plugged in? Hi, aeh, first of all my mind is playing tricks and I could swear that its battery is being charged was not in the isPlugged description so my

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Alexis Menard
On Wed, Jun 15, 2011 at 2:02 PM, Andrei Popescu andr...@google.com wrote: On Wed, Jun 15, 2011 at 5:58 PM, Brett Wilson bre...@chromium.org wrote: On Wed, Jun 15, 2011 at 9:30 AM, Holger Freyther ze...@selfish.org wrote: On 06/15/2011 06:11 PM, laszlo.1.gom...@nokia.com wrote: Hi, The

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Ryosuke Niwa
On Wed, Jun 15, 2011 at 10:02 AM, Andrei Popescu andr...@google.com wrote: Because it would know not to start doing things that drain the battery. For instance, powering up a 3G antenna to download your latest emails could be annoying to users if the battery level is too low. 3G takes quite a

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Andrei Popescu
On Wed, Jun 15, 2011 at 6:08 PM, Alexis Menard alexis.men...@openbossa.org wrote: On Wed, Jun 15, 2011 at 2:02 PM, Andrei Popescu andr...@google.com wrote: On Wed, Jun 15, 2011 at 5:58 PM, Brett Wilson bre...@chromium.org wrote: On Wed, Jun 15, 2011 at 9:30 AM, Holger Freyther ze...@selfish.org

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Greg Simon
From what I can tell the spec offers no way for the web application to initialize any algorithm based on the battery/power state because there is no guarantee of minimum time when a new document is created and the first battery event arrives. Ideally there would be a way to kick the UA into

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Darin Fisher
There should probably be a way to poll the current state. Much as you can poll the document.readyState and respond to progress events, it would seem to make sense to have a way to poll the battery state as well as respond to battery state change events. -Darin On Wed, Jun 15, 2011 at 10:25 AM,

Re: [webkit-dev] Adding ENABLE_BATTERY_STATUS to WebCore

2011-06-15 Thread Ryosuke Niwa
On Wed, Jun 15, 2011 at 11:29 AM, Darin Fisher da...@chromium.org wrote: There should probably be a way to poll the current state. Much as you can poll the document.readyState and respond to progress events, it would seem to make sense to have a way to poll the battery state as well as

Re: [webkit-dev] Implementing new WebSocket protocol

2011-06-15 Thread Adam Crabtree
If possible, I would encourage any breaking update to WebSockets (protocol or JS API) to be feature detectable. Additionally, I would encourage WebKit to postpone updating to -09 to coincide with expected changes to the JS API, which may provide the necessary feature detection mechanisms (e.g.,

Re: [webkit-dev] Expected behavior of scrolling attribute for IFrame element

2011-06-15 Thread Ojan Vafai
On Mon, Jun 13, 2011 at 11:21 AM, Darin Adler da...@apple.com wrote: On Jun 13, 2011, at 11:05 AM, Ojan Vafai wrote: On Mon, Jun 13, 2011 at 10:51 AM, Darin Adler da...@apple.com wrote: Even though we need to prevent find or autoscrolling from scrolling, it seems we must not prevent