Commit Graph

13363 Commits

Author SHA1 Message Date
Sebastian Hengst
6389867b7c Backed out changeset 1d87b1dc4ce2 (bug 1272697) for failing mochitest test_interfaces.html for 'ByteLengthQueuingStrategy' and wpts, e.g. general.dedicatedworker.html. r=backout on a CLOSED TREE 2017-07-28 20:20:50 +02:00
Till Schneidereit
dec687b07c Bug 1272697 - Part 2: Add runtime pref to enable streams. r=baku,jonco
MozReview-Commit-ID: 5OSxbcd3jQB
2017-07-28 17:48:12 +02:00
Ryan VanderMeulen
4f8cc2e674 Backed out changeset bc37ab3e9abc (bug 900784) for leaks. 2017-07-28 11:42:59 -04:00
Carsten "Tomcat" Book
139661e8e4 Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Carsten "Tomcat" Book
892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Nicolas B. Pierron
05a1127a93 Bug 900784 - Enable the JavaScript Start-up Bytecode Cache. r=mrbkap 2017-07-28 13:06:48 +00:00
Nicolas B. Pierron
7a08464871 Bug 900784 - Tune the bytecode cache heuristic based on telemetry results. r=mrbkap 2017-07-28 13:06:48 +00:00
Sebastian Hengst
d7527a414d Backed out changeset 07b534f44740 (bug 1384835) for failing xpcshell's security/manager/ssl/tests/unit/test_cert_sha1.js checkCertErrorGenericAtTime on Linux x64 debug. r=backout 2017-07-28 10:30:29 +02:00
Sebastian Hengst
1d708511f0 Backed out changeset 5df4d8778602 (bug 1384835) 2017-07-28 10:29:29 +02:00
Sebastian Hengst
744a0a216b Backed out changeset ef5feef07bed (bug 1384835) 2017-07-28 10:29:24 +02:00
Carsten "Tomcat" Book
28bdd40776 Merge mozilla-central to mozilla-inbound 2017-07-28 09:48:24 +02:00
Carsten "Tomcat" Book
de369deb98 Backed out changeset 284af26c1b53 (bug 1351148) 2017-07-28 09:20:27 +02:00
Carsten "Tomcat" Book
6aa98d7df0 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02:00
Nicholas Nethercote
200d8ec18b Bug 1384835 (part 3) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
This is similar like the previous patch, but for the 8-bit string variants.
Also, it changes assignment to Adopt() in GetCString() and GetDefaultCString()
to avoid an extra copy.

--HG--
extra : rebase_source : eba805c3a7b809d5ccd6e853b1c9010db9477667
2017-07-27 16:45:10 +10:00
Nicholas Nethercote
0574a6b496 Bug 1384835 (part 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj.
Because we want to remove nsAdoptingString. We have other variants that don't
use nsAdoptingString, which can be used instead. There are three basic
patterns.

1. The easiest case is when we don't check for success.

> nsAdoptingString s = Preferences::GetString("foo");
> foo(s);

becomes:

> nsAutoString s;
> Preferences::GetString("foo", s);
> foo(s);

2. The next case is when we check if the result is empty.

> nsAdoptingString s = Preferences::GetString("foo");
> if (s.IsEmpty()) { ... }

becomes:

> nsAutoString s;
> Preferences::GetString("foo", s);
> if (s.IsEmpty()) { ... }

3. The final case is when we null check the result.

> nsAdoptingString s = Preferences::GetString("foo");
> if (s) { ... }

becomes:

> nsAutoString s;
> nsresult rv = Preferences::GetString("foo", s);
> if (NS_SUCCEEDED(rv)) { ... }

The patch also avoids some UTF8/UTF16 conversions in a few places.

--HG--
extra : rebase_source : f339b1a3dda4dc93979d38c30c001fbe77485b55
2017-07-25 20:36:14 +10:00
Nicholas Nethercote
f314cbcbe5 Bug 1384835 (part 1) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
This is basically a cosmetic change; references are the normal way to do string
outparams.

--HG--
extra : rebase_source : ffc5945f269bdcd3d4116755b56713e87a44b6cd
2017-07-25 19:12:56 +10:00
Wes Kocher
7dc0b363c1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1JlPbFMKbJZ
2017-07-27 16:17:40 -07:00
David Anderson
2086b2467b Let software compositor process ride the trains. (bug 1385048, r=milan) 2017-07-27 12:27:43 -07:00
Luke Chang
491deaf2a1 Bug 1362290 - Support non-experimental autocomplete pref. r=baku
MozReview-Commit-ID: LABuNLbq2Io

--HG--
extra : rebase_source : 3902adee74ef95ff144325d7b77c13192133d3e7
2017-07-27 11:41:15 +08:00
Daosheng Mu
8dcb583554 Bug 1352410 - Add a preference to enable or disable haptic feedback for gamepads; r=Lenzak
MozReview-Commit-ID: 70FFdcd3n5q

--HG--
extra : rebase_source : 42123c0dcb93160d1b0363c616e5bdfac11604a7
2017-07-27 17:55:16 +08:00
Carsten "Tomcat" Book
c4e7d0a39e merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f0f666839de9bee40c2d469fd8dd7e63b266f69
2017-07-27 11:38:15 +02:00
Carsten "Tomcat" Book
d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Kaku Kuo
e4ccafd226 Bug 1383610 - turn off preference of ShutdownDecoder feature on desktop version release and beta channel but keep the Fennec on; r=bwu
MozReview-Commit-ID: 38RLaR3Vxeh

--HG--
extra : rebase_source : 508fd63ff8db1445be8fb1f3b286311fabc888bd
2017-07-24 13:29:04 +08:00
Farmer Tseng
474d1f2ba1 Bug 1367948 - Part2. Prevent PDFium from using GDIPlusExt to avoid garbage rendering. r=jwatt
MozReview-Commit-ID: 8hE0q6jKFzj

--HG--
extra : rebase_source : 811b2fe7057caaf4785ce3c8678740bb92133ee7
2017-07-27 11:22:45 +08:00
Farmer Tseng
7d96621f28 Bug 1367948 - Part1. Add a patch file to patch PDFium to prevent it from using GDIPlusExt to avoid garbage rendering. r=jwatt
MozReview-Commit-ID: 9571a5b7G5m

--HG--
extra : rebase_source : e71122dcbacee6d728c10d04cffefff58383b8b7
2017-07-27 11:22:20 +08:00
Andreas Farre
1e3c594756 Bug 1372951 - Turn on tracking throttling for foreground on nightly. r=ehsan 2017-06-19 05:37:00 -04:00
Bevis Tseng
a7505864a8 Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Kearwood "Kip" Gilbert
b75b2ceec3 Bug 1384459 - Only enable WebVR device enumeration for 64-bit builds r=jgilbert
We wish to enable WebVR only for 64-bit builds before it rides the
trains with 55 in release.

This will serve a few purposes:
- Reduction of test requirements by reduction of configuration matrices.
- Ensuring that the optimal 64-bit builds are used for WebVR sites,
  which are often likely to hit 32-bit address space fragmentation
  limitations resulting in OOMs.
- Act as a rudimentary soft-launch in 55.  56 is expected to bring a
  larger set of users to 64-bit builds.

MozReview-Commit-ID: 207ABcd31dP

--HG--
extra : rebase_source : 5e7ec8d88beb5ecebdf8d5b224b6024d875bd134
2017-07-26 11:28:21 -07:00
Haik Aftandilian
97420c053a Bug 1376496 - Part 2 - Don't request FD from parent when JAR file is cached. r=mayhemer
MozReview-Commit-ID: 6xooCVnBehj

--HG--
extra : rebase_source : e8045206d5b5196d26109967966d91476470b058
2017-07-21 15:19:09 -07:00
Wes Kocher
f19f28adfd Merge m-c to autoland, a=merge
MozReview-Commit-ID: F1X8wKqbkg
2017-07-25 19:16:09 -07:00
Brian Grinstead
4fb89bd43d Bug 1383935 - Use sticky_prefs for remote debugging;r=Gijs
This prevents accidental resetting when opening the same profile in Nightly and local builds

MozReview-Commit-ID: L6oPfsDlUmf

--HG--
extra : rebase_source : 221a045f752cbc7df47037c4d74bd5d8dc60e65b
2017-07-24 16:13:22 -07:00
Carsten "Tomcat" Book
bdf7db3d13 Merge mozilla-central to mozilla-inbound
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : d74c74a654cd977d35e35de2768ada4ebe659ae4
2017-07-25 14:38:43 +02:00
Carsten "Tomcat" Book
679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Kaku Kuo
93e37baf6b Bug 1383610 - turn off preference on desktop version release channel but keep the Fennec on; r=bwu
MozReview-Commit-ID: 38RLaR3Vxeh

--HG--
extra : rebase_source : 293084229ec1546222dadf6737b67330075c369b
2017-07-24 13:29:04 +08:00
Paul Bone
70b304d94b Bug 1380768 (part 2) - Add a pref for nursery size, r=sfink. 2017-07-21 14:34:46 +10:00
Wes Kocher
fd09155f06 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 418vKEKrk3n
2017-07-24 18:10:56 -07:00
Wes Kocher
2673406be5 Merge inbound to central, a=merge
MozReview-Commit-ID: 1oTeP8uycV2
2017-07-24 18:06:39 -07:00
Benjamin Smedberg
2a757d9ae7 Bug 1382817 - Prefs shouldn't start out dirty or be written almost immediately after being read, r=milan
MozReview-Commit-ID: BFLMsMQjn9w

--HG--
extra : rebase_source : 9e9ba20270b055e8b1e3400c8926b7c4c932d752
2017-07-20 16:19:39 -04:00
Thomas Nguyen
a73c1f5314 Bug 1381745 - Increase server and download timeout when updating SB lists r=hchang
MozReview-Commit-ID: IRXb9QiMYwJ

--HG--
extra : rebase_source : ec35d2a224df11c3c02483e8df4933893c06b73f
2017-07-24 10:30:15 +08:00
Tristan Bourvon
3aef11a5bd Bug 1383000 - Fix UAF in nsJAR::GetInputStreamWithSpec. r=aklotz
MozReview-Commit-ID: 6g7wusTbLfN

--HG--
extra : rebase_source : 43e862e6c8b4948a256883695cd8ca215afaf671
2017-07-21 15:12:55 +02:00
Christoph Kerschbaumer
9c97294062 Bug 1331351: Block toplevel window data: URI navigations. r=smaug,francois 2017-07-24 18:51:21 +02:00
Wes Kocher
d45eb771f0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Wes Kocher
051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan Hunt
6fb1299c78 Bug 1377280 - Enable keyboard APZ on nightly for all platforms except Android. r=kats
MozReview-Commit-ID: D8OvXehFUYW

--HG--
extra : rebase_source : a65f18c7672bbc3efebb50fe91de5ade3d01714d
extra : intermediate-source : 042978789b5af309a5f7fc4575122ccdb8f77264
extra : source : 7dc3238f839a8dbc7e8dffbef3f0ae6c94847f23
2017-07-19 20:58:41 -04:00
Ryan VanderMeulen
d229288071 Merge m-c to autoland. a=merge
CLOSED TREE

--HG--
extra : amend_source : 2ab51304cc7df444f22c3aac001a1aba61faee3a
2017-07-21 09:42:41 -04:00
Nicholas Nethercote
9b59e77626 Bug 1382099 - Remove MOZ_WIDGET_GONK from modules/libpref/init/all.js. r=kats. 2017-07-21 10:52:09 +10:00
JW Wang
67a23f8462 Bug 1377044 - default "media.seekToNextFrame.enabled" to true since bug 1276272 is already fixed. r=kikuo
MozReview-Commit-ID: 4DZ4Mr2lhrn

--HG--
extra : rebase_source : 6e158f7654a909cf5dbac7b3df6719d489af6674
2017-07-19 10:59:59 +08:00
Honza Bambas
8f8eed7be6 Bug 1378375 - Kill switch preference for image network request prioritization according layout position. r=tnikkel 2017-07-14 09:26:00 -04:00
Kershaw Chang
b62593bf12 Bug 1378385 - Add a pref for switching off giving more priority to active tab. r=mayhemer
This patch introduce new pref "network.http.active_tab_priority" which indicate whether or not we dispatch transactions from active tab before others from background tab.

--HG--
extra : rebase_source : 093ab372d392eec285889f307d4540012e7aac9f
2017-07-18 21:47:00 -04:00
Alastor Wu
f235c5746c Bug 1274919 - part2 : implement resume/suspend mechanism in MediaDecoder. r=jwwang
Create the new class "BackgroundVideoDecodingPermissionObserver" to handle the
suspended request sent from the front end side.

We would do registration on startup and deregistration on shutdown of MediaDecoder.

MozReview-Commit-ID: 1UwHA7YuVN3

--HG--
extra : rebase_source : a0bc22999fbf799cd25da8ec423d9f03acc9e8e2
2017-07-20 14:13:37 +08:00