WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
98437
PositionCallback returns bool instead of void
https://bugs.webkit.org/show_bug.cgi?id=98437
Summary
PositionCallback returns bool instead of void
Sebastian
Reported
2012-10-04 12:00:45 PDT
In file
http://trac.webkit.org/browser/trunk/Source/WebCore/Modules/geolocation/PositionCallback.idl
and
http://trac.webkit.org/browser/trunk/Source/WebCore/Modules/geolocation/PositionErrorCallback.idl
the callback needs to return "void" instead of "bool". Reference:
http://dev.w3.org/geo/api/spec-source.html
IDL: callback PositionCallback = void (Position position); callback PositionErrorCallback = void (PositionError positionError); Greetings, Sebastian
Attachments
Add attachment
proposed patch, testcase, etc.
Benjamin Poulain
Comment 1
2012-10-04 15:19:35 PDT
It is just one of those difference between WebIDL and WebKit IDL. The return type of Callback idl is just if there was no exception.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug