Bug 90784

Summary: [WK2] Add missing Battery Status API integration to WebContext and WebPage
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, kenneth, sam, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 90069    
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2012-07-09 06:04:39 PDT
Some code is needed in WebContext and WebPage in order for the Battery Status test cases to pass with WebKitTestRunner:
- We need to call WebCore::provideBatteryTo() in WebPage
- We need to add the WebBatteryManagerProxy to WebContext and properly direct messages to it
Comment 1 Chris Dumez 2012-07-09 06:13:38 PDT
Created attachment 151243 [details]
Patch
Comment 2 Chris Dumez 2012-07-09 07:37:17 PDT
Created attachment 151248 [details]
Patch

Add corresponding C API function in WKContext to retrieve the Battery manager.
Comment 3 WebKit Review Bot 2012-07-09 13:46:24 PDT
Comment on attachment 151248 [details]
Patch

Clearing flags on attachment: 151248

Committed r122153: <http://trac.webkit.org/changeset/122153>
Comment 4 WebKit Review Bot 2012-07-09 13:46:30 PDT
All reviewed patches have been landed.  Closing bug.