[Webkit-unassigned] [Bug 34082] [Android] Android Geolocation service should not start if the WebView is paused

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 2 08:58:25 PST 2010


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





--- Comment #19 from Steve Block <steveblock at google.com>  2010-03-02 08:58:25 PST ---
> The iPhone port overrides methods that already exist on ScriptExecutionContext
> to suspend and resume Geolocation services:  suspendActiveDOMObjects(),
> resumeActiveDOMObjects() and stopActiveDOMObjects().
Do you mean that the iPhone overloads these methods in Document, or in another
class that extends ScriptExecutionContext? These methods on Document are called
from several places, so I'm not sure it's safe to override them.

> Document extends
> ScriptExecutionContext, so this seemed like a natural place for them.
Or did you mean that we should add new suspend and resume methods to Document?

Another option would be to make Geolocation inherit from ActiveDOMObject, so it
could be suspended and resumed by the calls to the existing
ScriptExecutionContext methods.

-- 
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