Hi.
I'm implementing Battery Status API.
(https://bugs.webkit.org/show_bug.cgi?id=62698)
(http://www.w3.org/TR/battery-status/)

I have an issue which would need your comments.

Battery Status API needs to be added under the Navigator class, but there is
not any event handling logic there.
Therefore, because I have no other choice, I have implemented the necessary
event handling logic in the BatteryManager.
I, however, think it may not look good to add the event listener in the
Batter Status API itself.

IMHO, the Navigator class would need some sort of event listener handling
logic similar to DOMWindow.
I would like to have your comments how you think this.

Thank you.

Best Regards.
Kihong


_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to