[Webkit-unassigned] [Bug 35666] New: [Gtk]: assertion triggered when geolocation getCurrentPosition without an option argument.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 03:50:51 PST 2010


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

           Summary: [Gtk]: assertion triggered when geolocation
                    getCurrentPosition without an option argument.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arno at renevier.net


Hi,

when getCurrentPosition is called without an option argument (or with an object
that don't have a timeout property), PositionOptions does not have a timeout
(m_hasTimeout is false).

Currently in GeolocationServiceGtk::startUpdating, we have following code:
timeout = options->timeout();
without checking if options->hasTimeout().

We should check if options has a timeout before trying to get its value.

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