Bug 98437
Summary: | PositionCallback returns bool instead of void | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sebastian <arakis> |
Component: | UI Events | Assignee: | Benjamin Poulain <benjamin> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | benjamin |
Priority: | P2 | Keywords: | EasyFix |
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Sebastian
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
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.