Граф коммитов

3457 Коммитов

Автор SHA1 Сообщение Дата
ffxbld 8c013cb69e No bug, Automated blocklist update from host bld-linux64-spot-022 - a=blocklist-update 2017-02-16 08:04:30 -08:00
Dão Gottwald f7593c2488 Bug 1339413 - Implement prefs for capping the amount of history we import from Chrome. r=Gijs
MozReview-Commit-ID: BdlNxS76Ko9

--HG--
extra : rebase_source : 242297a27bf5b363b0e3883de79da72485c8b490
2017-02-15 18:42:15 +01:00
Carsten "Tomcat" Book dacc230ad3 Merge mozilla-central to autoland 2017-02-15 12:59:23 +01:00
Chris Pearce d050e8d591 Bug 1338064 - Enable VP9 in MP4 for EME in Nightly. r=gerald
MozReview-Commit-ID: Deggrc038Va

--HG--
extra : rebase_source : cebfafbfec26bc0c756b85c9cde214455979f374
2017-02-09 20:09:39 +13:00
Jesse Schwartzentruber df40990bb3 Bug 1335411 - Fix --enable-address-sanitizer for Mac cross-compilation and adapt Linux ASan configs for Mac. r=froydnj
--HG--
extra : rebase_source : 493400a792fd50266a8d434b842710586c7947c5
2017-02-10 11:10:23 -05:00
Gabriele Svelto 276f7423bb Bug 1310703 - Introduce the pingsender executable; r=ted
MozReview-Commit-ID: 2SEwwGywahQ
2017-01-16 17:39:22 +01:00
Matthew Noorenberghe 4f85765ea4 Bug 1339515 - [Form Autofill] Add built-in debug logging to ease debugging. r=steveck
MozReview-Commit-ID: F4w2CzdWdrI

--HG--
extra : rebase_source : 33ea952b4d3d28013d9d9efaa1fc0efe57d3956f
2017-02-15 16:22:38 +08:00
steveck-chung 918291a57e Bug 1330567 - Part 1: Fallback to form history if form autofill pref is disabled, r=MattN
MozReview-Commit-ID: Aq8NhSkxNId

--HG--
extra : rebase_source : 20c4c8aafabcce7c2f4af05c41b3c1989bd9f5d7
2017-02-08 14:13:59 +08:00
ffxbld 28a131c59f No bug, Automated blocklist update from host bld-linux64-spot-387 - a=blocklist-update 2017-02-09 07:37:11 -08:00
Chris Peterson 7ed800f024 Bug 1242321 - Remove obsolete "media.eme.apiVisible" pref. r=cpearce sr=bz
MozReview-Commit-ID: D31Yg1LHI5u

--HG--
extra : rebase_source : 7c608ee93025840fc4f97977feec2ca65ceee263
2017-02-01 22:10:06 -08:00
Tim Huang 4e31b183a6 Bug 1319773 - Part 2: Add a pref 'privacy.firstparty.isolate.restrict_opener_access' which controls the access of window.opener for different first party domain. r=baku
--HG--
extra : rebase_source : 052dfb3554ba050af85247bcf2587ade26710aac
2017-01-23 10:50:22 +08:00
ffxbld 13f287296e No bug, Automated blocklist update from host bld-linux64-spot-222 - a=blocklist-update 2017-02-01 08:17:02 -08:00
Gian-Carlo Pascutto aa1bdaad34 Bug 1330326 - Make sandboxing policy more configurable via preferences. r=jld
MozReview-Commit-ID: 9P0bSLLKRWp

--HG--
extra : rebase_source : e1d2f34e5d0901614d88a583beecb704369ce478
2017-01-26 19:59:50 +01:00
ffxbld 711c79df96 No bug, Automated blocklist update from host bld-linux64-spot-015 - a=blocklist-update 2017-01-27 18:39:07 -08:00
Sebastian Hengst e1d5db133e Backed out changeset e87ae43ca443 (bug 1330326) 2017-01-27 20:59:55 +01:00
Gian-Carlo Pascutto 0d2bf66dfd Bug 1330326 - Make sandboxing policy more configurable via preferences. r=jld
MozReview-Commit-ID: 9P0bSLLKRWp

--HG--
extra : rebase_source : ab7d7da81459bd08c6aec7d7c89949ca7207471f
2017-01-26 19:59:50 +01:00
Carsten "Tomcat" Book 9af2aa6b47 Merge mozilla-central to autoland 2017-01-27 11:26:26 +01:00
David Parks 6126517411 Bug 1334182 - Turn off sandbox violation logging by default on Windows. r=jimm
Make security.sandbox.logging.enabled false by default on Windows only.
2017-01-26 09:42:02 -08:00
Michelangelo De Simone a011917b2b Bug 1269531 - Make the Geolocation test suite secure-context aware. r=jdm
MozReview-Commit-ID: 4WPUsGAO7xF

--HG--
extra : rebase_source : a0616dff53d547ab6c5b5d9f9b4e965e60b862b5
2017-01-26 15:38:16 -07:00
David Parks 990402c301 Bug 1317735 - Consolidate env vars for logging. r=jimm
Assigns the preference security.sandbox.logging.enabled and the environment variable MOZ_SANDBOX_LOGGING to control whether or not sandbox violations are logged.  The pref defaults to true.  On Linux, only the environment variable is considered.

--HG--
extra : rebase_source : f67870a74795228548b290aec32d08552c068874
2017-01-23 12:46:49 -08:00
Mike Hommey 9a71407b51 Bug 1332523 - Add BinaryPath::Get variant that returns a UniquePtr instead of filling a stack buffer. r=bsmedberg
--HG--
extra : rebase_source : 3fd502f67bd28e504f9a5d1a6ea1e790e9fec774
2017-01-13 09:40:54 +09:00
Mike Hommey 45bb38d482 Bug 1332523 - Make GetBootstrap take the path to an arbitrary file next to libxul. r=bsmedberg
The FileExists check can be removed because the code loading the library
will handle that case already.

--HG--
extra : rebase_source : bac53d3f88ed1dd716ee1340d40dae42becdfdf0
2017-01-13 09:27:39 +09:00
Mike Hommey 11a4734e0d Bug 1332523 - Remove nsXPCOMGlue.h. r=bsmedberg
--HG--
extra : rebase_source : 7a0b2441f768cbdef1a5b51139f8ecd4a6fde0c1
2017-01-13 07:56:05 +09:00
Mike Hommey 9d2b3754b7 Bug 1332523 - Move message indicating when the blocklist is initialized after user32.dll was loaded to the blocklist itself. r=dmajor
--HG--
extra : rebase_source : 4aea579104d2bad56a91f67e66d0af8c4ada9c3d
2017-01-12 11:13:40 +09:00
Mark Banner 751b105bb1 Bug 737836 - Improve frecency handling for multiple redirect sequences, and add a test. r=mak
MozReview-Commit-ID: ImJMF5KDvtz

--HG--
extra : rebase_source : ecf063f47db082bff48104e09fd114e868fb4bda
2017-01-18 14:12:58 +00:00
Mark Banner ef6375ca0d Bug 737836 - Don't rely on past visits for frecency calcuations for redirects. r=mak
MozReview-Commit-ID: GfgZSInN9Lv

--HG--
extra : rebase_source : a052eebb1e5ffd2825b556c8a5702ec57f2570de
2017-01-18 14:09:09 +00:00
Mike Hommey 7523430127 Bug 1330533 - Use FuzzerDriver directly instead of wrapping it in a libfuzzer_main function. r=decoder
Going further from the previous changes, all libfuzzer_main really does
is call the init function, and then proceed to call the fuzzer driver
with the testing function.

So instead of calling that function for it to do all that, the
LibFuzzerRunner can just call the init function itself, and then
call the fuzzer driver with the testing function.

--HG--
extra : rebase_source : 2eb1a2ae763ef21827471cd32addceacefc1ac5d
2017-01-12 14:44:18 +09:00
Mike Hommey cc6c5d8f71 Bug 1330533 - Pass LibFuzzerInitFunc and LibFuzzerTestingFunc to libfuzzer_main. r=decoder
The LibFuzzerRunner code lives in libxul. It's unnecessary complications
to have it call back a function in the firefox executable just so that
it calls another function that is in libxul. Passing the init and
testing functions to the libfuzzer_main function allows to just bypass
that roundtrip, simplifying the setup.

--HG--
extra : rebase_source : ba72c029a904e05fe3b0ed5984c1bad946b73c6a
2017-01-12 14:50:14 +09:00
Mike Hommey 92c5bff388 Bug 1330533 - Remove argc/argv arguments to XRE_LibFuzzerSetMain. r=decoder
The function given to XRE_LibFuzzerSetMain is called from somewhere that
does have access to argc/argv already, so we can avoid passing them
to XRE_LibFuzzerSetMain.

This actually might fix subtle issues with argc/argv not really matching
reality when calling the LibFuzzerMain function in the current code:
some arguments are handled before the call, and both argc and argv are
modified from within XRE_main, but the values stored for the
LibFuzzerMain call still are the original ones.

Argv being a pointer, and it not being reallocated, the value stored for
the LibFuzzerMain call points to the changed one, but argc, being an
integer, is not modified accordingly.

In fact, it's actually worse, because while the Gecko code doesn't
reallocate argv, gtk_main might. So if some GTK flag is passed on the
command line, there's also a possibility that the LibFuzzerMain function
will do a use-after-free.

So all in all, it's just better to use the set of modified argc/argv
from XRE_main instead of storing them from main().

--HG--
extra : rebase_source : 92b89909eab0fc2f67ce372b959bb0e3ed12cd2b
2017-01-12 11:59:37 +09:00
Brian Grinstead 72624995c7 Bug 1323833 - Trim the list of recommended themes from 5 to 3;r=Gijs
MozReview-Commit-ID: 2TFNxwMT1qz

--HG--
extra : rebase_source : ed4484e3c25244219a545957cee32335c03ea3ee
2017-01-19 13:28:33 -08:00
David Parks 033c45c4ef Bug 1306239 - Add pref to toggle OS X sandbox violation debugging, default on. r=haik
Turns on sandbox denial logging if security.sandbox.logging.enabled is true.

Removes most sandbox violation messages but some related messages generated
by other processes will still get through.

--HG--
extra : rebase_source : 4f06e70d53b0f500cc85a869c5bd7f8ea20d8341
2017-01-17 15:47:13 -08:00
Chris Pearce 6265ff2efa Bug 1329543 - Remove GMPAudioDecoder and unencrypted GMP decoding. r=gerald
MozReview-Commit-ID: JLlHmyEg6Qo

--HG--
extra : rebase_source : c7b17efed0b24ed0aec075de144d306c985bddec
2017-01-14 11:44:41 +08:00
Chris Pearce 75fbf5ab95 Bug 1329543 - Remove uses of MOZ_ADOBE_EME. r=glandium
MozReview-Commit-ID: DCQ5KsZEJLP

--HG--
extra : rebase_source : 80492e1787666c9bcc4601ca80b9956f8de1ab65
2017-01-09 21:43:23 +08:00
Mike Hommey 2330dcf840 Bug 1306327 - Move reading application.ini to XRE_main. r=bsmedberg
Reading application.ini involves using nsCOMPtr<nsIFile>, and that can
only happen through the XPCOM glue, which we eventually want to get rid
of.

So, while keeping the command line argument/environment variable
handling in nsBrowserApp, we move the actually parsing of the file to
XRE_main, where things can be handled without the XPCOM glue.

--HG--
extra : rebase_source : 487960a671476d4edae4f568c37efa6563ef4dff
2017-01-10 16:43:23 +09:00
Mike Hommey 09dc362a61 Bug 1306327 - Use the new XRE Bootstrap API in Desktop Firefox. r=bsmedberg
This just wraps all the XRE method calls to go through the Bootstrap API
instead of relying on the XPCOM glue methods.

--HG--
extra : rebase_source : eccbe18b9b21ca1ab6c403515ffd60f0a9174d9c
2016-12-16 11:10:02 +09:00
Mike Hommey 17436e8731 Bug 1306327 - Remove NS_XRE_DLL_BLOCKLIST_ENABLED. r=bsmedberg
Instead of having nsBrowserApp.cpp set a flag in XREAppData to indicate
whether the DLL blocklist properly initialized, just have XRE code ask
the blocklist itself.

--HG--
extra : rebase_source : e872853481acce68b325909e476d009aec878701
2017-01-10 09:10:36 +09:00
Mike Hommey af19e1f051 Bug 1306327 - Remove the flags argument to XRE_main. r=bsmedberg
This hasn't been used since the removal of the Metro code in bug
1039866, close to two years ago.

--HG--
extra : rebase_source : 58ec1ce63e4231c8006cafd3424675f14ddbf9f1
2017-01-10 14:15:50 +09:00
Mike Hommey f6f8d88483 Bug 1306327 - Don't set XREAppData.xreDirectory from nsBrowserApp.cpp. r=bsmedberg
It turns out nsAppRunner.cpp sets it to the exact same thing when it's
not already set, so we might as well use that.

--HG--
extra : rebase_source : cb8955e75c13a02494f3e163089c53696a661aa9
2017-01-10 08:02:43 +09:00
Mike Hommey a92655a398 Bug 1306327 - Remove XPCOMGlueEnablePreload. r=froydnj
Back in bug 632404, when the function was added, preloading was
conditional. But after some A/B testing, the conclusion in bug 771745
was that we would just do preloading unconditionally.

Which means in practice, we don't need to have a function to enable it
manually anymore, since we're always enabling it.

--HG--
extra : rebase_source : c76307c13c057e87e1fe4564b82113fbfa20d382
2016-12-15 17:37:53 +09:00
Johann Hofmann 95370d69a3 Bug 1206232 - Add temporary permission states to SitePermissions.jsm. r=jdm,Paolo
MozReview-Commit-ID: zQVeEHhIax

--HG--
extra : rebase_source : bebcd31cfbd638c51ff21c7e2b62bcc536b026da
2016-09-22 23:09:30 +02:00
Phil Ringnalda 082d6bd9df Merge m-i to m-c, a=merge
MozReview-Commit-ID: 1NtOkt6oQ7d
2017-01-14 09:38:58 -08:00
Phil Ringnalda 5a2bb1b51b Merge autoland to m-c, a=merge
MozReview-Commit-ID: 1NoQxmEjpqA
2017-01-14 08:56:07 -08:00
ffxbld f5b9aaaa5c No bug, Automated blocklist update from host bld-linux64-spot-223 - a=blocklist-update 2017-01-14 07:05:20 -08:00
Matthew Wein e3673f105f Bug 1330337 - Add basic theme framework hidden behind pref r=mikedeboer
MozReview-Commit-ID: 1kje3tc7y9O

--HG--
extra : rebase_source : 62fa9ff12f20877deade86f4ad8a3c64d95bc448
2017-01-11 14:34:23 -05:00
Brian Grinstead 0dfcf308e1 Bug 1314091 - Expose 'compact' themes instead of the Dev Edition theme;r=Gijs
This commit does the following:
* Install two lightweight themes instead of one
* Introduce a build config to install the themes instead of relying on channel: INSTALL_COMPACT_THEMES
* Change browser-compacttheme to use the new themes instead of the old one
* Remove inferBrightness since the lwt colors are part of the compact theme definision, as opposed
  to the devedition theme which could be light or
* Update CSS to use :-moz-lwtheme-darktext and :-moz-lwtheme-brighttext instead of [devtoolstheme]

MozReview-Commit-ID: 4gKU68drlE2

--HG--
rename : browser/base/content/defaultthemes/devedition.header.png => browser/base/content/defaultthemes/compact.header.png
2017-01-13 11:53:58 -08:00
Andrea Marchesini 6f72097efb Bug 1328756 - Add a pref for and options to the Long Press of the plus button, r=gijs 2017-01-12 18:30:47 +01:00
Brian Grinstead 2797c83264 Bug 1329207 - Change the default theme icon in about:addons and customize mode;r=Gijs
MozReview-Commit-ID: KOdm4BUb1Es

--HG--
extra : rebase_source : b4209c6fbff042689c6b025dc1b27c990039ada7
2017-01-12 12:42:18 -08:00
Henry Chang 55614c06db Bug 1305486 - Enable v4 tables on nightly build. r=francois
MozReview-Commit-ID: 4iGduuYqMQs

--HG--
extra : rebase_source : 49deb89d4fb3e4ec692ae933134e4b247734e980
2016-11-20 15:10:19 +08:00
Eric Rahm 87cfbc1b65 Bug 1322735 - Remove MOZ_STACKWALKING define. r=glandium
With frame pointer omission disabled we should always have usable stacks on Windows. This allows us to remove the MOZ_STACKWALKING define as it will always be enabled.

MozReview-Commit-ID: 54xs3Hf1r4P

--HG--
extra : rebase_source : dfaf13fb4c2185985f4f074c338ccf1fef8f3c94
2016-12-20 15:11:36 -08:00
Phil Ringnalda 1c2d0d367f Backed out 3 changesets (bug 1322735) for ASan leaks and xpcshell/selftest.py failures
CLOSED TREE

Backed out changeset 01cfc71ce542 (bug 1322735)
Backed out changeset 84c729c41230 (bug 1322735)
Backed out changeset b419aaefae95 (bug 1322735)
2017-01-10 20:17:34 -08:00