trivial test case for Mac OS X issue

0 views
Skip to first unread message

glazou

unread,
Feb 18, 2009, 5:39:54 AM2/18/09
to Loki API
1. have a mac with Firefox 3.0.x installed ; warning: NOT Firefox
3.1b*
2. download http://glazman.org/tmp/testGeoloc.tar
3. untar it wherever you want, it creates a xulapp directory
4. go into that directory
5. make sure to disable Geode in Firefox if you have it installed
6. call

/Applications/Firefox.app/Contents/MacOS/firefox-bin -app `pwd`/
application.ini

7. that will show a small window with a button inside, click that
button
8. first alert should show you a JS object, it's an instantiation
of Loki
9. second alert should show your longitude and latitude if it's
possible to determine your location based on your wifi context ;
integers are VERY unlikely here so if you see integers, that's the
bug...

The code of this xulapp is trivial, only calls loki.
See xulapp/chrome/content/main.js

Daniel Glazman

glazou

unread,
Feb 20, 2009, 10:10:14 AM2/20/09
to Loki API
No followup at all ? Ah. Even with a narrowed test case ?

Daniel Glazman
Reply all
Reply to author
Forward
0 new messages