mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
0996b424d1
- align configures a little (69326315ba) - Bug 1268138 - Call StringSplitString directly for internal use. r=till (1edf155d43) - Bug 1268034 - Part 1: Reset constructor slot of GlobalObject to undefined when it fails to initialize constructor. r=till (1eaebb838b) - Bug 1268034 - Part 2: Call setConstructor and initBuiltinConstructor after defining properties in all init function. r=till (fcf42ec3b7) - bug 1139012 - telemetry for MLS vs win8 geolocation response. r=cpetrson (26745928e7) - Bug 1253159 - Remove locationUpdatePending and restore request timeout. r=jdm (e37e1d992d) - Bug 1250709 - Upgrade browser to gcc 4.9.3, r=glandium (2dc1262978) - Bug 1250709 - Clobber builds, r=terrence (e56a27abcc) - CSE some multiply-repeated ToFloatRegister(...) and such in some of the JIT backends into local variables for readability. No bug, r=bbouvier (7ee653c3c8) - Bug 1266180 - Port unboxed object getprop stub to CacheIR. r=efaust (104e6aabae) - Bug 1266695 - Port typed object getprop stub to CacheIR. r=efaust (3b627b5bd6) - Bug 1263811 - Do not attach optimized IC for arguments element access if any arguments element has been overridden. r=jandem (7ffb405dd1) - Bug 1266434 - Make Debugger::findScripts delazify scipts in a separate phase now this can GC r=jimb a=abuillings (b08013336e) - Bug 1204170 - Fix icns file for b2g graphene builds. r=spohl (e43e2e9d4f) - Bug 1201672 - Package more files for B2G desktop on OS X. r=spohl (e6cb92bd0d) - Bug 1268863 - Follow-up to appease rooting hazard analysis (rs=sfink) (4f6aaafe27) - Bug 1266649: TraceLogger - Handle failing to add to pointermap gracefully, r=bbouvier (12c006b2ed) - Bug 1268740 - Change AllocateArrayBuffer to receive byteLength with |count * unit| format. r=lth (5f435125bc) - Bug 1267755 - Print objects' class names in JS::ubi::dumpPaths; r=jimb (bace99e63d) - Bug 1267737 - Request edge names from JS::ubi::RootList before calling `init`; r=jimb (1b858d7a0c) - Bug 1266639 - Don't separately heap-allocate PLDHashTables within XPCMaps. r=mrbkap. (17bc8c82cc) - Bug 1263205 - BaldrMonkey: add temporary Wasm.experimentalVersion (r=bbouvier) (f71b47386e) - Bug 1219098 - Odin: Share JSFunction objects to make less garbage (r=bbouvier) (f602609a78)
84 lines
2.2 KiB
Plaintext
84 lines
2.2 KiB
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
interface nsIURI;
|
|
interface nsIDOMWindow;
|
|
interface nsIDOMElement;
|
|
interface nsIDOMGeoPosition;
|
|
interface nsIGeolocationPrompt;
|
|
|
|
/**
|
|
|
|
* Interface provides a way for a geolocation provider to
|
|
* notify the system that a new location is available.
|
|
*/
|
|
[scriptable, uuid(643dc5e9-b911-4b2c-8d44-603162696baf)]
|
|
interface nsIGeolocationUpdate : nsISupports {
|
|
|
|
/**
|
|
* Notify the geolocation service that a new geolocation
|
|
* has been discovered.
|
|
* This must be called on the main thread
|
|
*/
|
|
void update(in nsIDOMGeoPosition position);
|
|
/**
|
|
* Notify the geolocation service of an error.
|
|
* This must be called on the main thread.
|
|
* The parameter refers to one of the constants in the
|
|
* nsIDOMGeoPositionError interface.
|
|
* Use this to report spurious errors coming from the
|
|
* provider; for errors occurring inside the methods in
|
|
* the nsIGeolocationProvider interface, just use the return
|
|
* value.
|
|
*/
|
|
void notifyError(in unsigned short error);
|
|
};
|
|
|
|
|
|
/**
|
|
* Interface provides location information to the nsGeolocator
|
|
* via the nsIDOMGeolocationCallback interface. After
|
|
* startup is called, any geo location change should call
|
|
* callback.update().
|
|
*/
|
|
[scriptable, uuid(AC4A133B-9F92-4F7C-B369-D40CB6B17650)]
|
|
interface nsIGeolocationProvider : nsISupports {
|
|
|
|
/**
|
|
* Start up the provider. This is called before any other
|
|
* method. may be called multiple times.
|
|
*/
|
|
void startup();
|
|
|
|
/**
|
|
* watch
|
|
* When a location change is observed, notify the callback.
|
|
*/
|
|
void watch(in nsIGeolocationUpdate callback);
|
|
|
|
/**
|
|
* shutdown
|
|
* Shuts down the location device.
|
|
*/
|
|
void shutdown();
|
|
|
|
/**
|
|
* hint to provide to use any amount of power to provide a better result
|
|
*/
|
|
void setHighAccuracy(in boolean enable);
|
|
|
|
};
|
|
|
|
%{C++
|
|
/*
|
|
This must be implemented by geolocation providers. It
|
|
must support nsIGeolocationProvider.
|
|
*/
|
|
#define NS_GEOLOCATION_PROVIDER_CONTRACTID "@mozilla.org/geolocation/provider;1"
|
|
%}
|