Bug 92839

Summary: Dropping webkit prefix from Battery Status API
Product: WebKit Reporter: Kihong Kwon <kihong.kwon>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: abarth, anssi.kostiainen, gyuyoung.kim, ojan, paulirish, peter, simon.fraser, syoichi, vimff0, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.w3.org/TR/battery-status/
Bug Depends on: 92964    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Kihong Kwon
Reported 2012-07-31 22:13:44 PDT
I would like to drop webkit prefix from Battery Status API. - Battery Status API have been changed CR. - Mozilla implemented Battery Status API to the Gecko and the Firefox enabled this API already.
Attachments
Patch (10.87 KB, patch)
2012-08-01 02:33 PDT, Kihong Kwon
no flags
Kihong Kwon
Comment 1 2012-08-01 02:33:51 PDT
Adam Barth
Comment 2 2012-08-01 11:21:58 PDT
This API is more substantial than the vibrate API, so having a test suite makes more sense. Is there a test suite that we and Firefox pass?
Kihong Kwon
Comment 3 2012-08-02 04:20:34 PDT
(In reply to comment #2) > This API is more substantial than the vibrate API, so having a test suite makes more sense. Is there a test suite that we and Firefox pass? I made a test case. http://hackerslab.eu/test/batterystatus.html We can see the same result between Firefox and Efl test browser. Thank you.
Peter Beverloo
Comment 4 2012-08-02 06:53:19 PDT
Per Anssi (who I've cc'ed): there is an action item for writing a test-suite for the Battery Status and Vibration APIs. Kihong, do you think we should wait for that -maybe contribute our tests to it?- to verify the implementation prior to unprefixing? https://www.w3.org/2009/dap/track/actions/523 For reference, bug 92964 came up today, which was an incompatibility that should have been caught by some test.
Kihong Kwon
Comment 5 2012-08-03 00:42:36 PDT
Comment on attachment 155765 [details] Patch I agree. When battery test cases is opened, I will raise this issue after testing.
Anssi Kostiainen
Comment 6 2012-08-24 04:39:39 PDT
I started working on a test suite for the Battery Status API: http://w3c-test.org/dap/battery/tests/submissions/anssik/ It is work in progress, I'll let you know when the test coverage improves. Do you have re-usable test assets? I'm using testharness.js as the test framework.
Simon Fraser (smfr)
Comment 7 2016-11-02 14:37:57 PDT
Note You need to log in before you can comment on or make changes to this bug.