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

1276 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt 1252d85394 Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher
In order to meet the addon signing requirement for tests, specialpowers
needs to be installed at gecko runtime. This means it must be restartless.
This patch packages specialpowers as a restartless addon, but it does not
yet install it at runtime.

--HG--
rename : testing/specialpowers/components/SpecialPowersObserver.js => testing/specialpowers/content/SpecialPowersObserver.jsm
extra : commitid : Bbg8gFten8S
extra : rebase_source : 99d0b841a1f8f9eb6b6ca846363a158836482e57
2015-11-05 10:00:59 -05:00
Matt Howell 501c275eec Bug 1205843 - Part 2: Disable maintenance service on WinXP < SP3 - r=rstrong
Attempt to get around the fact that XP SP2 (and below) systems won't be able to
handle Authenticode signatues with SHA-2 digests by disabling the maintenance
service, the only thing on our update path that uses Authenticode, on systems
running WinXP below SP3.

This patch both prevents the service from being included in new installations,
and prevents the service from being used where it is already installed.

--HG--
extra : transplant_source : %F7%BE%0B%FDYd%CF%24%E7%B2%A5l%40%8D%E5%81%88F%E4%07
2015-10-27 14:31:34 -07:00
Philip Chee 2325f694ea Bug 1217985 Follow up fix test bustage 2015-10-28 09:16:44 -07:00
Kathy Brade 4885c2cc81 Bug 1217985 - Don't depend on Windows crypto DLLs
If not building the Windows Maintenance Service, avoid a dependency
on crypt32.dll and wintrust.dll.

Also, avoid setting sUsingService inside the updater code; this
ensures that all Maintenance Service related codepaths are skipped.
2015-10-27 17:50:32 -07:00
Matt Howell 49a0eb88bf Bug 1208626 - Add needed parameter to getHistogramById. r=rstrong
--HG--
extra : transplant_source : C%C4%29%FC%A2%92%27%5E%A0%B6%8B%EA%DAR%FE%F1%90%3C%D5r
2015-09-25 13:43:18 -07:00
Ehsan Akhgari a6cf9bdba5 Bug 1208926 - Initialize hOldFont so that it can't be accessed uninitialized; r=rstrong
Found by Viva64.
2015-09-27 20:54:31 -04:00
Tooru Fujisawa 8a0aa17cb2 Bug 1207497 - Part 2: Remove use of expression closure from tests in toolkit/. r=Gijs
--HG--
extra : commitid : F0AJXZT2xzk
extra : rebase_source : 4b076123afebebf10abfe62872d98f0a21e91ac8
2015-09-24 21:25:24 +09:00
Dave Townsend a22c2d1f9e Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : KsbH21csjH4
extra : rebase_source : bc7c08de1ec6e802261b8cd294d88ee2c4e75c2d
2015-09-14 11:04:19 -07:00
Wes Kocher 468b697f04 Backed out 3 changesets (bug 1192924) for Android bustage CLOSED TREE
Backed out changeset 30d612836685 (bug 1192924)
Backed out changeset a6860f880e01 (bug 1192924)
Backed out changeset 10e1fa2cc23a (bug 1192924)

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi
2015-09-22 11:02:55 -07:00
Dave Townsend fb7653707b Bug 1192924: Expose the update URL formatting code a new UpdateUtils module. r=rstrong
The GMP manager uses a copy of the update service's url formatting code and has
since fallen out of sync. We'll also want to use the same formatting code for
the system add-on update checks so this just exposes it in a shared API.

I've moved the contents of UpdateChannel.jsm to UpdateUtils.jsm and exposed
formatUpdateURL there as well as a few properties that the update service still
needs access to.

UpdateUtils.UpdateChannel is intended to be a lazy getter but isn't for now
since tests expect to be able to change the update channel at runtime.

--HG--
extra : commitid : FuPUB9X4oYJ
extra : rebase_source : cfcd31d7da5f5b636a2ec11546dbada973d681de
extra : histedit_source : 3df840dc502c6ee4177f1858920d1260e4dc27af
2015-09-14 11:04:19 -07:00
Alexandre Lissy ca41727a38 Bug 1201556 - Send hashed device id for foxfooders. r=fabrice
--HG--
extra : rebase_source : beee55eb2c52519d1c19fb5ebc667ea8b6ec7b42
2015-09-17 05:06:00 +02:00
Nicholas Nethercote cfce5c44cd Bug 1202971 (part 2) - Fix compile warnings in toolkit/mozapps/update/tests. r=rstrong.
--HG--
extra : rebase_source : e9cccb4a70c26c040e963e37da14cdb313fd1648
2015-09-15 17:39:12 -07:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Jacek Caban b56fbdbaff Bug 1199615 - Fixed toolkit/mozapps/update/ compilation on mingw. r=rstrong 2015-09-15 13:12:03 +02:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Jacek Caban 413bf97b94 Bug 1199118 - Don't use pragma comment in certificatecheck.cpp. r=glandium 2015-08-28 13:17:54 +02:00
Robert Strong f1241db698 Bug 862173 - don't verify mar file hash when using mar signing to verify the mar file (lessens main thread I/O). r=spohl 2015-08-20 10:05:05 -07:00
Robert Strong b7924a4a24 Bug 1177861 - remove remaining unused declarations and cleanup update staging. r=spohl
--HG--
rename : toolkit/components/maintenanceservice/certificatecheck.cpp => toolkit/mozapps/update/common/certificatecheck.cpp
rename : toolkit/components/maintenanceservice/certificatecheck.h => toolkit/mozapps/update/common/certificatecheck.h
rename : toolkit/components/maintenanceservice/registrycertificates.cpp => toolkit/mozapps/update/common/registrycertificates.cpp
rename : toolkit/components/maintenanceservice/registrycertificates.h => toolkit/mozapps/update/common/registrycertificates.h
2015-08-11 14:30:35 -07:00
Nathan Froyd 5d00f2a43f Bug 1191819 - part 2 - move updater's CXXFLAGS munging to moz.build; r=mshal 2015-08-06 17:26:46 -04:00
Christoph Kerschbaumer 1c05a94924 Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan) 2015-08-06 11:17:24 -07:00
Carsten "Tomcat" Book 7d6f90f702 Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer cb37e46dd2 Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan) 2015-08-05 12:58:05 -07:00
Makoto Kato 50e851b877 Bug 830801 - Part 2. Remove NOMINMAX define from moz.build. r=mshal 2015-08-03 10:07:09 +09:00
Stephen A Pohl c2f7baf8a0 Bug 1183077: Modify test to check for new ABI on Windows. r=rstrong 2015-07-27 10:17:56 -04:00
Stephen A Pohl 5817bb5f8f Bug 1183077: Include CPU architecture in build target on Windows. r=rstrong 2015-07-27 10:17:53 -04:00
Stephen Pohl df867a068e Bug 1158870: Enable marVersionDowngrade.js and marWrongChannel.js on all platforms except gonk. r=rstrong 2015-07-20 15:35:45 -04:00
Stephen Pohl b5f00dc8bf Bug 1158870: Disable mar signing code path in updater for gonk until mar signing is available there. r=bbondy 2015-07-20 15:35:40 -04:00
Robert Strong 7f05087707 Bug 1171518 - cleanup maintenance service logging. r=bbondy 2015-07-14 12:08:45 -07:00
Carsten "Tomcat" Book a3ba8f387e merge mozilla-inbound to mozilla-central a=merge 2015-06-25 11:09:46 +02:00
Panos Astithas ed8a0b3572 Display the update badge on the hamburger menu when staging is not possible (bug 1171852). r=rstrong 2015-06-24 16:00:12 -07:00
Mike Hommey 46a8325e4d Bug 1175856 - Still do cert validation when app.update.url.override is set to an empty value. r=rstrong 2015-06-24 10:49:55 -07:00
Robert Strong 6e649b1eba Bug 1171792 - An update is attempted from an update notification when it is not possible to update. r=spohl 2015-06-08 13:11:43 -07:00
Robert Strong 344665f8f5 Bug 1168720 - Remove use of test env var MOZ_NO_REPLACE_FALLBACK and associated tests that are covered by other tests. r=spohl 2015-06-04 09:20:00 -07:00
Robert Strong e20b2bd833 Bug 1165061 - Fix Intermittent test_0102_background_restartNotification_staging.xul by not copying app files when staging for tests and enable the tests for Linux and Mac. r=spohl 2015-06-03 11:29:51 -07:00
Robert Strong e807306135 Bug 1168489 - Combine XPCSHELL_TESTS_MANIFESTS entries in moz.build. r=spohl 2015-06-02 12:17:45 -07:00
Robert Strong fd8806d185 Bug 1168009 - heap-use-after-free (ASAN build) in updater.cpp mstrtok. r=spohl 2015-06-01 11:52:08 -07:00
Mike Hommey ea7750bcb1 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Ryan VanderMeulen bedb1caf76 Backed out changeset d39ba5b549c5 (bug 1165061) for LSAN leaks. a=me 2015-05-21 11:50:34 -04:00
Robert Strong f770a33579 Bug 1165061 - prevent test timeouts by not copying files when staging an update in mochitest-chrome tests. r=spohl 2015-05-20 13:34:29 -07:00
Wes Kocher 5b9076b1f0 Merge b2ginbound to m-c a=merge 2015-05-14 15:37:44 -07:00
Aus Lacroix a0f15fc73a Bug 1164037 - [OTA] Unable to find System Update. r=aus (landing on behalf of nhirata) 2015-05-13 21:14:43 -07:00
Robert Strong 94c425dca9 Bug 1164560 - only run test_0017_check_staging_basic.xul on Windows due to timing out on other platforms while copying files. r=spohl 2015-05-13 12:06:38 -07:00
Wes Kocher dd620e38c0 Bug 1164150 - disable some recently re-enabled tests on b2g emulator a=bustage
--HG--
extra : amend_source : aef7fab2ad8a4e422f523efd9588882599675c89
2015-05-12 12:01:09 -07:00
Carsten "Tomcat" Book dd3f1a22f8 merge mozilla-inbound to mozilla-central a=merge 2015-05-12 16:10:32 +02:00
Robert Strong ce0d8fb360 Bug 821942 - Add xpcshell reason codes to marVersionDowngrade.js and marWrongChannel.js. r=spohl 2015-05-11 13:21:34 -07:00
Robert Strong 4832487e02 Bug 821866 - Fix and enable marAppApplyUpdateSuccess.js and marAppApplyUpdateStageSuccess.js xpcshell tests on B2G ICS Emulator opt. r=spohl 2015-05-11 13:16:55 -07:00
Robert Strong 87a3877973 Bug 821942 - Fix and enable marStageSuccessComplete.js, marAppInUseSuccessComplete.js, and marAppInUseStageSuccessComplete_unix.js xpcshell tests on B2G ICS Emulator opt. r=spohl 2015-05-11 13:16:45 -07:00
Wes Kocher a791cefe49 Merge m-c to fx-team a=merge 2015-05-08 10:41:14 -07:00
Wes Kocher 4fb59c4c25 Merge b2g-inbound to m-c a=merge 2015-05-08 10:35:16 -07:00
Aus Lacroix e0fd14a6c3 bug 1154947 - Use variant in update URL. r=rstrong 2015-05-07 19:00:19 -07:00