Closed
Bug 452566
Opened 16 years ago
Closed 16 years ago
navigator.geolocation optional parameters on getCurrentPosition and watchPosition are not optional
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: divinegod, Assigned: smaug)
Details
Attachments
(2 files, 1 obsolete file)
4.48 KB,
patch
|
dougt
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
4.49 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1a2pre) Gecko/20080827020629 Minefield/3.1a2pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1a2pre) Gecko/20080827020629 Minefield/3.1a2pre When trying to use the navigator.geolocation features the spec as given by w3c is not implemented correctly. navigator.geolocation.getCurrentPosition takes three parameters, two of which are optional in the spec, when using them in firefox, they are not optional. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Assignee | ||
Updated•16 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 1•16 years ago
|
||
A minimal testcase would be great here.
Assignee | ||
Comment 2•16 years ago
|
||
now I need to figure out how to use geolocation :)
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → Olli.Pettay
Assignee | ||
Comment 3•16 years ago
|
||
Attachment #335854 -
Attachment is obsolete: true
Attachment #335893 -
Flags: superreview?(jst)
Attachment #335893 -
Flags: review?(doug.turner)
Comment 4•16 years ago
|
||
Comment on attachment 335893 [details] [diff] [review] with tests didn't know about that idl flag. cool. could you rename "test_geolocation_api" to "test_optional_api_params"?
Attachment #335893 -
Flags: review?(doug.turner) → review+
Assignee | ||
Comment 5•16 years ago
|
||
Updated•16 years ago
|
Attachment #335893 -
Flags: superreview?(jst) → superreview+
Assignee | ||
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•