-
gyuyoung.kim@samsung.com authored
https://bugs.webkit.org/show_bug.cgi?id=82556 Reviewed by Adam Barth. As Bug 73528 comment #71, NavigatorBattery.idl doesn't need to have ScriptExecutionContext. Document can be used instead of ScriptExecutionContext. Tests: batterystatus/add-listener-from-callback.html batterystatus/basic-all-types-of-events.html batterystatus/basic-operation.html batterystatus/event-after-navigation.html batterystatus/multiple-frames.html batterystatus/updates.html batterystatus/window-property.html * Modules/battery/BatteryManager.cpp: (WebCore::BatteryManager::create): (WebCore::BatteryManager::BatteryManager): * Modules/battery/BatteryManager.h: (BatteryManager): * Modules/battery/NavigatorBattery.cpp: (WebCore::NavigatorBattery::webkitBattery): * Modules/battery/NavigatorBattery.h: (NavigatorBattery): * Modules/battery/NavigatorBattery.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
3eb50926