Jeff Gilbert
70a22b2878
Bug 1470325 - s/FooBinding/Foo_Binding/g - r=qdot
...
MozReview-Commit-ID: JtTcLL5OPF0
2018-06-26 17:05:01 -07:00
Yuan Lyu
a5151607f0
Bug 1441295 - Reverted the changes in bug 1372069 and modified test; r=baku
...
MozReview-Commit-ID: KG0H9UPa6Di
2018-06-15 23:23:40 -04:00
Karl Tomlinson
4b6d0c28fa
bug 1442776 make CycleCollectedJSContext accessible from JSContext private r=peterv
...
Inheriting PerThreadAtomCache on CycleCollectedJSContext permits use of
static_cast, avoiding one level of indirection compared to adding a
CycleCollectedJSContext* to PerThreadAtomCache.
PerThreadAtomCache is over 18kB, and so WorkerJSContext and WorkletJSContext
are moved from the stack to the heap.
MozReview-Commit-ID: 6jdJeZcviK4
2018-05-10 17:04:12 +12:00
Boris Zbarsky
23bff6368f
Bug 1466298 part 3. Remove nsIDOMGeoGeolocation. r=mccr8
2018-06-04 12:41:09 -04:00
Boris Zbarsky
1f6515070f
Bug 1466298 part 1. Switch the geolocation service to using a singleton constructor. r=mccr8
2018-06-04 12:41:01 -04:00
Boris Zbarsky
52b398714f
Bug 1466213 part 2. Remove nsIDOMGeoPositionError. r=qdot
2018-06-01 22:35:44 -04:00
Boris Zbarsky
a01fb5cf9a
Bug 1466213 part 1. Move PositionError out into a separate file. r=qdot
2018-06-01 22:35:42 -04:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Boris Zbarsky
60904110c3
Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot
2018-04-26 23:36:10 -04:00
Boris Zbarsky
df9656d2e0
Bug 1442039 part 14. Remove nsDOMClassInfoID.h. r=peterv
...
MozReview-Commit-ID: 6pZs1XI1oSd
2018-03-21 23:13:30 -04:00
Josh Matthews
0c9f96fe10
Bug 1437140 - Replace some uses of NS_DispatchToMainThread/NS_DispatchToCurrentThread with more specific event targets. r=mystor
2018-02-20 09:52:32 -05:00
Kate McKinley
1bef155067
Bug 1410364 - Don't consider opener when calculating IsSecureContext. r=bz, r=dveditz
...
Per https://github.com/w3c/webappsec-secure-contexts/issues/42 , the
section considering the window opener when calculating secure context is
to be dropped. Firefox already uses "isSecureContextIfOpenerIgnored" in
most places as this is the actual behavior we want. This patch aligns
with the upcoming spec changes by ignoring the window opener. We also no
longer have to keep information about whether our opener was secure as
that no longer factors in our calculations.
2017-11-29 10:40:00 -05:00
Johann Hofmann
7edf42f138
Bug 1345424 - Add an isHandlingUserInput attribute to permission requests. r=baku,smaug
...
MozReview-Commit-ID: 80TXjnxLMuT
2017-02-20 20:46:39 +01:00
Nika Layzell
d8c117bc28
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Kris Maglione
7cdbf75d48
Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
...
MozReview-Commit-ID: 8Oei6TuXNbu
2017-10-15 23:15:40 -07:00
Bevis Tseng
59627df038
Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
2017-07-27 02:18:20 +08:00
Nicholas Nethercote
e892cd86c4
Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm.
...
As well as the obvious #ifdef stuff, the patch removes
TCPSocket::SetAppIdAndBrowser(), which means
{TCPSocketParent,TCPServerSocketParent}::{GetAppId,GetInIsolatedMozBrowser}()
can also be removed.
2017-07-21 10:52:44 +10:00
Tim Huang
a33d98cebd
Bug 1372069 - Part 1: Disable Geolocation when 'privacy.resistFingerprinting' is true. r=arthuredelstein,smaug
...
This patch disables Geolocation API when fingerprinting resistance is enabled.
The way we disable it is the same as how we disable this API for non-secure
origins that we will reject the request from this API and still keep this API
around.
MozReview-Commit-ID: 5D7Bf6Rplm8
2017-07-13 14:11:08 +08:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Michelangelo De Simone
1dbb4368db
Bug 1072859 - Disable Geolocation on non-secure origins. r=jdm
...
MozReview-Commit-ID: KnHOb0aN4nE
2017-03-08 16:45:44 -08:00
Sebastian Hengst
90b3b93efb
Backed out changeset 8b1c50cdb50c (bug 1072859) for failing devtools/client/responsive.html/test/browser/browser_permission_doorhanger.js. r=backout a=merge
...
MozReview-Commit-ID: LaknhYl9fEw
2017-03-09 00:46:17 +01:00
Michelangelo De Simone
13ce3fb3c0
Bug 1072859 - Disable Geolocation on non-secure origins. r=jdm
...
MozReview-Commit-ID: KnHOb0aN4nE
2017-03-06 14:10:13 -08:00
Michelangelo De Simone
3910524f98
Bug 1341897 - Harmonize Geolocation providers. r=jdm
...
MozReview-Commit-ID: DZbFDsklbq0
2017-02-22 15:09:02 -08:00
deepsrijit1105
6bc2044dbd
Bug 1334794 - nsGeolocation.cpp: redundant return statement at the end of a function with a void return type. r=jdm
2017-02-01 22:22:51 +05:30
Michelangelo De Simone
abfc3e323d
Bug 1335291 - Change the console flag for insecure geo requests from warning to error. r=jdm
...
MozReview-Commit-ID: 4gLN8jVDyPm
2017-01-30 18:23:14 -08:00
Michelangelo De Simone
0a8df87097
Bug 1269531 - Make the Geolocation test suite secure-context aware. r=jdm
...
MozReview-Commit-ID: 4WPUsGAO7xF
2017-01-26 15:38:16 -07:00
Carsten "Tomcat" Book
b2903208c2
Merge mozilla-central to inbound
2016-11-16 14:53:15 +01:00
Andi-Bogdan Postelnicu
c47b0b7b15
Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
...
MozReview-Commit-ID: 12AHOhrpaNO
2016-11-14 11:40:37 +02:00
Boris Zbarsky
50e8294eb9
Bug 1317596. Stop using LegacyIsCallerChromeOrNativeCode in geolocation code. r=jdm
2016-11-15 12:46:32 -05:00
Kan-Ru Chen
f3a7638ece
Bug 1300474 - Replace nsAutoPtr usages in geolocation with UniquePtr. r=jdm
...
MozReview-Commit-ID: KcJj8VKjLpj
2016-10-24 14:40:18 +08:00
Adam Velebil
2488d519c0
Bug 1308600 - Remove unused ServiceReady method from Geolocation. r=jdm
2016-10-10 23:15:45 +02:00
Michelangelo De Simone
fe191938eb
Bug 1278716 - Remove wakelocks from geo. r=jdm
...
MozReview-Commit-ID: 2Uu1W34r3g8
2016-10-04 15:12:16 -07:00
Kan-Ru Chen
3edcb04a15
Bug 1283563 - Don't reset timeout for oneshot geolocation request. r=jdm
...
MozReview-Commit-ID: 4EkPD54Xu7f
2016-09-29 17:13:59 +08:00
Michelangelo De Simone
c3223b7c61
Bug 1218627 - Remove MozSettings API from Geo (and fix randomly failing tests). r=dougt
...
MozReview-Commit-ID: J74XihIkeHH
2016-09-27 13:54:15 -07:00
Ninad Bhat[:ninad101]
fa8ed0f04e
Bug 1301628 - Corrects misc-argument-comment. r=dzbarsky
2016-09-09 10:45:00 +02:00
Boris Zbarsky
b80a698704
Bug 1300005. Make sure that our PositionOptions structs are always owned by someone in geolocation code. r=kanru
2016-09-02 17:55:37 -04:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Jan de Mooij
bfe36450fc
Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence
2016-08-11 14:39:23 +02:00
Nicholas Nethercote
1f65390cc9
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
2016-08-08 12:18:10 +10:00
Xidorn Quan
4839378866
Bug 1287706 part 1 - Make CallbackObjectHolder movable (and actually move-only). r=smaug
...
So that we can avoid unnecessary refcount changes.
MozReview-Commit-ID: 4Mk9SJTj6AS
2016-07-28 12:00:06 +10:00
Thomas Zimmermann
4a96154adb
Bug 1250922: Use gpsd for Geolocation, r=jdm,glandium
...
This patch adds the gpsd location provider to |nsGeolocationService|.
On release builds, the new provider is *not* used by default, as GPS
is slow to start and unreliable indoors. To enable gpsd, users with a
supported GPS receiver must set the preference 'geo.location.use_gpsd'
to 'true'.
On non-release builds, the gpsd location provider is enabled by default
to give it some testing.
MozReview-Commit-ID: I0tj1GmmFNP
2016-07-22 11:52:09 +02:00
Chris Peterson
6c0f810682
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Jinank Jain
4ee51a9f4c
Bug 1238801 - Don't set a timer for the default geolocation timeout. r=jdm, r=smaug
2016-06-26 10:24:54 -04:00
Fabrice Desré
9f65e4231e
Bug 1218627 - backout ef8fcd144a50
2016-07-12 14:00:34 -07:00
Benjamin Smedberg
cfd17e06ca
Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
...
MozReview-Commit-ID: EGqHHhCD7vD
2016-07-07 12:14:25 -04:00
Michelangelo De Simone
dd7cf68a92
Bug 1218627 - Fixing randomly failing test(s) in Geo. r=dougt
...
MozReview-Commit-ID: LyZVmPBQT84
2016-07-05 14:46:58 -07:00