[Webkit-unassigned] [Bug 62698] Support for Battery Status API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 5 00:39:20 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=62698





--- Comment #43 from Adam Barth <abarth at webkit.org>  2012-03-05 00:39:18 PST ---
(From update of attachment 129837)
View in context: https://bugs.webkit.org/attachment.cgi?id=129837&action=review

> Source/WebCore/dom/Document.cpp:1964
> +#if ENABLE(BATTERY_STATUS)
> +    if (!page())
> +        return;
> +
> +    if (BatteryController* batteryController = BatteryController::from(page()))
> +        batteryController->removeAllListeners();
> +#endif

This change shouldn't be needed.  We should find a way for BatteryController to observe this condition and do this work itself.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list