[Webkit-unassigned] [Bug 27255] Geolocation incorrectly calls error callback in case of exception in success callback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 9 07:50:45 PDT 2009


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





--- Comment #13 from Darin Adler <darin at apple.com>  2009-09-09 07:50:44 PDT ---
(From update of attachment 39257)
>      if (exec->hadException()) {
>          reportCurrentException(exec);
> -        raisedException = true;
>      }

Just noticed that braces should go now that this is only one line.

> -    virtual void handleEvent(Geoposition*, bool& raisedException);
> +    virtual void handleEvent(Geoposition*);

This should be private, not public.

> +        virtual void handleEvent(Geoposition* position) = 0;

The argument name "position" should be omitted.

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