Port stuff needed to support desktop notifications.
Created attachment 474384 [details] [diff] [review] Patch v1.0 Fix bustage. This fixes the current breakage due to backend changes from Bug 594261.
> This fixes the current breakage due to backend changes from Bug 594261. Tested with: http://channy.creation.net/project/firefox/geolocation.html and the following pref from Firefox: pref("geo.wifi.uri", "https://www.google.com/loc/json");
Pushed to comm-central http://hg.mozilla.org/comm-central/rev/130bca1d699e