[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
Fri Feb 26 21:51:40 PST 2010


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





--- Comment #18 from David Kilzer (ddkilzer) <ddkilzer at webkit.org>  2010-02-26 21:51:39 PST ---
(In reply to comment #17)
> > Out of curiosity, why add the suspend() and resume() methods to Page instead of
> > Document?
> The use case this is trying to solve is to make sure that when a browser
> window/tab is in the background, all Geolocation objects are suspended. So we
> want to suspend the entire Page, not just individual Documents.
> 
> Is there a particular reason why you suggested adding the methods to Document?

The iPhone port overrides methods that already exist on ScriptExecutionContext
to suspend and resume Geolocation services:  suspendActiveDOMObjects(),
resumeActiveDOMObjects() and stopActiveDOMObjects().  Document extends
ScriptExecutionContext, so this seemed like a natural place for them.

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