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

6209 Коммитов

Автор SHA1 Сообщение Дата
Andrew Swan b690f2eb9e Bug 1304392 Fix startup reason for bootstrapped addons that require restart for e10s r=rhelmer
MozReview-Commit-ID: 9fwtCQ0KZa8

--HG--
extra : rebase_source : cbfb23bb9b6ba35c7d33ac72a33e9235752e6bfe
2016-10-14 11:01:27 -07:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Andrew Swan 728f3da287 Bug 1091924 Fix up InstallTrigger for e10s-multi r=kmag
MozReview-Commit-ID: HmGZvanRhxl

--HG--
extra : rebase_source : ae8dc5781f5525a6bd95c94ab807910e5b9bc939
2016-10-13 11:21:24 -07:00
Mark Banner daf6127dcc Bug 1295567 - Ensure system add-ons are always be multiprocessCompatible. r=rhelmer
Adds a unit test for in-tree system add-ons, and then adds a update check denying system add-ons if they are not compatible.

MozReview-Commit-ID: KVcArBEPwfE

--HG--
extra : rebase_source : 0df04b4b80687251026bbcc310639dc8fa70377d
2016-10-07 11:35:08 +01:00
Robert Strong 5f5e7ce401 Test code for Bug 1309125 - Allow configuration of the download throttle via the update.xml. r=mhowell 2016-10-12 11:37:50 -07:00
Robert Strong 3db07c0b40 Client code for Bug 1309125 - Allow configuration of the download throttle via the update.xml. r=mhowell 2016-10-12 11:37:45 -07:00
Gabor Krizsanits 876516c028 Bug 1301340 - part2: Force single content process in some tests. r=mrbkap 2016-10-12 19:50:42 +02:00
Mike Conley e356e72755 Bug 1203813 - Make nsHelperAppDlg dialog be parented by top-level nsIDOMWindow. r=mrbkap
MozReview-Commit-ID: LUK01OptZgG

--HG--
extra : rebase_source : 0aa5a06369e3083027e3d6576270433955632360
2016-10-27 02:47:32 -04:00
Jared Wein 4b027e3645 Bug 1315781 - Enable no-shadow rule for eslint for xpcshell mochitests. r=mossop
MozReview-Commit-ID: 1mhCWplknyN

--HG--
extra : rebase_source : ab47e6e1bc2ba94fa26179ec18053fa798d9b778
2016-11-07 22:34:25 -05:00
Robert Strong 7a23477bea client code for Bug 1315506 - Remove app.update.url.override preference. r=mhowell 2016-11-11 12:58:47 -08:00
Robert Strong 2a8efd793a test code for Bug 1315506 - Remove app.update.url.override preference. r=mhowell 2016-11-11 12:58:42 -08:00
Robert Strong 5c8e04c059 marionette tests fixes - Bug 1315506 - Remove app.update.url.override preference. r=mhowell 2016-11-11 12:58:36 -08:00
Wes Kocher bc55e46e74 Backed out 3 changesets (bug 1315407) for bc7 permafail a=backout
Backed out changeset a3fbd5543a77 (bug 1315407)
Backed out changeset 50984e605fd7 (bug 1315407)
Backed out changeset c7fa771f5bb1 (bug 1315407)
2016-11-11 12:44:58 -08:00
Andrew Swan 3f7443c75f Bug 1315407 Refactor AddonInstall r=rhelmer
MozReview-Commit-ID: Hj88zv7cBhI

--HG--
extra : rebase_source : 01eb0f5d1dcd161befa4f566dd667d4b1c8a7949
extra : intermediate-source : 70991df304d33e2f1c4ebb334986133c035ca38b
extra : source : d1002ce40764e6b5465563b08f124882ca815d9e
2016-11-09 13:04:30 -08:00
Andrew Swan 54e7816096 Bug 1315407 Revise tracking of active AddonInstalls r=rhelmer
MozReview-Commit-ID: Is3RMjSN6Bw

--HG--
extra : rebase_source : 73017ee1300a52fdc05cac026e69892e4fc5ea25
extra : intermediate-source : d0ea5475559a25097a72022de0aa529b148e068a
extra : source : 67088f2c1a9c13b471ddeb57e874ce15c72dc014
2016-11-10 12:49:27 -08:00
Dave Townsend 76fbb2e22e Bug 1312355: Use a fixed lookup table for variables imported from JS modules. r=standard8
MozReview-Commit-ID: EhKhBvAAlXd

--HG--
extra : rebase_source : 935a96957ffb9e5f7e752c00e150d1757989d867
2016-11-01 12:24:04 -07:00
Phil Ringnalda fe9d9c45d7 Merge m-c to m-i
MozReview-Commit-ID: B5Nf2oiDcqG
2016-10-10 19:13:45 -07:00
Boris Zbarsky bae20efd7f Bug 1298243 part 7. Change DataTransfer.types from being a DOMStringList to being a frozen array. r=mystor,gijs 2016-10-10 21:07:47 -04:00
Alexandre Poirot ec7febe16f Bug 1185460 - Implements AddonManager.installAddonFromSources to install addon from sources permanently. r=rhelmer
MozReview-Commit-ID: LYEFnVUPhtX

--HG--
extra : rebase_source : b50e78579cd275f334f20611255bee1699149d23
2016-09-27 02:36:23 -07:00
Phil Ringnalda 080c63d412 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6YHoSP3exdY
2016-10-08 16:48:33 -07:00
Sebastian Hengst cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Sebastian Hengst c635b8c61d No bug - Fix Eslint warnings which showed up after merge. r=eslint-fix a=eslint-fix
MozReview-Commit-ID: 17TDsBMCsUx

--HG--
extra : amend_source : d16c96ea99ecbf9e3cbe341f4bb80c65659843cc
2016-10-07 16:21:44 +02:00
Phil Ringnalda ef58a75ffd Merge m-c to autoland 2016-10-06 20:24:09 -07:00
Dale Harvey 17905c9f75 Bug 1306516 - Fix expected return value from checkForAddons. r=mconley 2016-10-06 17:21:24 +01:00
Tom Schuster 774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Andy McKay 69bfe48899 bug 1282977 handle developer in manifest r=kmag
MozReview-Commit-ID: BsGflddsodd

--HG--
extra : rebase_source : 829a633f0e2d11d2f6f48e233bf91079ecb84b87
2016-09-15 16:37:16 -07:00
Andrew Swan 64e9612631 Bug 1308261 Add hash to options for mozAddonManager.createInstall() r=bz,kmag
MozReview-Commit-ID: Dx4Giy5k26c

--HG--
extra : rebase_source : 3a612b5586a5ae7e726ba2cf7840ca15bbab8a90
2016-10-06 17:50:55 -07:00
Robert Helmer 6177419992 Bug 1306492 - release staging directory when add-on install is postponed r=kmag
MozReview-Commit-ID: 3mMFS2l8bKq

--HG--
extra : rebase_source : 31048819e830e79db468a39e1ce1cfb2e5d0fa66
2016-09-29 19:38:08 -07:00
Phil Ringnalda 7026f16e79 Merge m-c to autoland 2016-10-03 20:36:09 -07:00
Bob Silverberg 15f306ba49 Bug 1299551 - Update test_webextension_install.js to wait for add-ons to finish installing, r=kmag
MozReview-Commit-ID: KJKi3BA8mI1

--HG--
extra : rebase_source : 797851f4f805ea0f34a72a838a9096b39e193e3a
2016-09-19 16:47:28 -04:00
Benjamin Smedberg a735f280da Bug 1269807 - Remove support for all NPAPI plugins except for Flash, behind a pref. Tests that use the testplugin for now set the pref to keep it working. This will be disabled for ESR 52, but enabled for release 52. In the next cycle, the pref will be removed and this will be hardcoded. r=jimm
MozReview-Commit-ID: IDFTfaqpebo

--HG--
extra : rebase_source : b43d9fec42da6b6943786f18c8750c1880ff08fe
2016-09-29 09:16:33 -04:00
Kris Maglione 7fe3c9e28a Bug 1306037: Support options_ui in embedded WebExtensions. r=aswan
MozReview-Commit-ID: KZVPz52qrTS

--HG--
extra : rebase_source : 302bdead12c6bf36e30ed3782c6cb4526f1ef1c7
2016-09-28 23:11:35 +01:00
Florian Quèze 05c4b00740 Bug 1305662 - Missing update.png/warning.gif referenced from chrome://mozapps/skin/extensions/update.css, r=Gijs. 2016-09-28 13:18:24 +02:00
Dale Harvey b694c34086 Bug 1267495 - Fallback to local config for fresh GMP installs. r=mconley, r=rhelmer, feedback=ksteuber 2016-09-27 11:57:41 +01:00
Andrew Swan fa088e54e9 Bug 1303418 Follow-up to fix fat-fingered graft r=me
MozReview-Commit-ID: K560xfnlbhD

--HG--
extra : rebase_source : 204d8caf40ffa2530a7d9a3710c0dc12b850702e
2016-09-22 10:49:55 -07:00
Andrew Swan 8fbeb75129 Bug 1303418 Don't allow upgrades that change the addon ID r=mossop
MozReview-Commit-ID: JHINo8ShmeI

--HG--
extra : source : 9a74c400ed6c62d5fc6abe0cd42d27be70f18f02
extra : amend_source : 8776cfb584840bccc817ce1fda00d04b236875eb
extra : intermediate-source : 8490362e38cdaa930985a5adafc581d7bb76fe45
2016-09-16 15:00:18 -07:00
Christoph Kerschbaumer bde72ba5d9 Bug 1297338 - Use principalToInherit instead of TriggeringPrincipal within AddonManager.js. r=bz,mossop 2016-09-20 08:37:17 +02:00
Mike Hommey f3effba503 Bug 1303210 - Show compressed size in find_dupes.py report, and sort its output. r=gps 2016-09-20 13:46:16 +09:00
Felipe Gomes 6953a61b4f Bug 1297755 - Allow e10s add-on policy based on the multiprocessCompatible flag. r=mconley
MozReview-Commit-ID: ASqoNFI2ZAI

--HG--
extra : rebase_source : e0527a3f619ed8543488ac07414670f4a767cc68
2016-09-12 13:19:06 -03:00
Luca Greco dec0e33a64 Bug 1269342 - Integrate LegacyExtensionsUtils helpers into XPIProvider. r=aswan,kmag
MozReview-Commit-ID: Iw47S7OMP5S

--HG--
extra : rebase_source : 5de43bd207de2a1379b7761bbbcea076468f6004
2016-09-11 15:37:54 +02:00
Andrew Swan 897c54369e Bug 1284407 Generate addon id from the path for temporarily loaded xpis r=rhelmer
MozReview-Commit-ID: 4XChacM8xE0

--HG--
extra : rebase_source : 2549fd7bc0597db1e292e772eefd42dd7f6507f4
2016-09-12 16:13:42 -07:00
Bob Silverberg 21f8f5eff5 Bug 1298923 - Prevent installation of an extension when "*" is used as part of strict_min_version in a WebExtension manifest.json, r=kmag
MozReview-Commit-ID: BeHU7ZPB1NG

--HG--
extra : rebase_source : c3e5e1aba0f3db247b9b9bf27b79290342cbcfe1
2016-09-01 14:46:38 -04:00
Robert Strong cd9aeee488 bug 1299583 - Don't create backup of files when staging an update. r=mhowell 2016-09-09 11:53:57 -07:00
Carsten "Tomcat" Book 0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Nicholas Nethercote b597f8fec1 Bug 1297300 - Add missing checks to GetSpec() calls in toolkit/. r=froydnj.
--HG--
extra : rebase_source : afb0e9a0f9f5a033f57ef0881071a21fb623a6e0
2016-09-08 14:32:20 +10:00
Carsten "Tomcat" Book f4a16a723a merge mozilla-inbound to mozilla-central a=merge 2016-09-08 12:01:17 +02:00
Robert Strong b06816d820 bug 1301288 - set post update values earlier in startup so Firefox post update actions can be performed. r=mhowell 2016-09-08 13:07:15 -07:00
Thomas Wisniewski dadce88a58 Bug 918751 - Throw NetworkErrors instead of failures where appropriate for some XHR web platform tests. r=bz, r=keeler, r=Mossop, r=paul
--HG--
extra : rebase_source : 2d454dd6f7f66b0b2df44f6f4ce3740d8f6de04c
2016-09-03 18:45:08 -04:00
Fischer.json 7190eefb7f Bug 1120967 - Broken middle/right click on links via about:preferences pages. r=jaws
MozReview-Commit-ID: FejMTP3invj

--HG--
extra : transplant_source : xN3%8A%28%5D%B4%82U%FC%DF%CE%CD%22%D0%236%1A%83o
2016-08-19 17:32:31 +08:00
Robert Strong a9181df023 bug 1281586 - clean up logging in the hope it helps figure out this intermittent. r=mhowell 2016-09-06 12:28:56 -07:00
Luca Greco 1618aa7ef4 Bug 1252215 - [webext] Fix promiseAddonStartup defined in xpcshell tests. r=kmag
MozReview-Commit-ID: BXYXHDrG6zL

--HG--
extra : rebase_source : a93d664d78ffc416d08e1bab3058be153ae560f7
2016-09-01 19:42:41 +02:00
Bob Silverberg 0bf2cb5d79 Bug 1298508 - Problems with temporary install compatibility checks, r=kmag
Don't reject a temporary install if AddonManager.checkCompatibility is false.
Don't try to add missing info from addon to error message.
Fix up test_webextension_install.js to use equal and notEqual and pass assertion messages.

MozReview-Commit-ID: 46kxpXdWQtx

--HG--
extra : rebase_source : 2dae6f82dcaf489d2bd3eef62e0f460e008e1b88
2016-08-29 22:29:25 -04:00
Felipe Gomes 7e193ad5d4 Bug 1297753 - Configure list of add-ons for e10s rollout on release 49. r=mconley
MozReview-Commit-ID: 6cVebHG2yLo

--HG--
extra : rebase_source : fac7f2dd08c675f42f520ddaa6a986b25f38ee9e
2016-09-02 16:45:12 -03:00
Bob Silverberg 87d0ea2fcb Bug 1297752 - Issue a warning when "*" is used as part of strict_min_version in a WebExtension manifest.json. r=kmag
MozReview-Commit-ID: 9BKjBe2Gigo

--HG--
extra : rebase_source : 1aabd1d437b5ed4ea1a829eacc98c6f1aa008b90
2016-08-29 15:10:38 -04:00
Ryan VanderMeulen 44f02640c6 Merge fx-team to m-c. a=merge 2016-09-01 11:48:45 -04:00
Johann Hofmann f1547c7e17 Bug 1266836 - Part 1 - Fix password manager handling of popup windows in e10s. r=MattN r=liuche
MozReview-Commit-ID: OVsgkHhyg9

--HG--
extra : rebase_source : fb5a56c5e31967636112ae8ce3dcca25d5ebefec
extra : histedit_source : abbb3d0cafc96bf925773443cc28ff26d5895f0f
2016-08-30 15:47:38 +02:00
Robert Strong 3fb6c49dbe Bug 1214421 - add more test logging to help with diagnosing. r=mhowell 2016-08-31 12:35:09 -07:00
Robert Strong dab62f3605 Bug 1299333 test code only - Fix app update test file in use checks. r=mhowell 2016-08-31 12:35:05 -07:00
Iris Hsiao 114e53ff4e Backed out changeset 4a42968b790d (bug 1250901) for Mochitest M(oth) failures on OS X 2016-08-30 16:54:29 +08:00
Stephen A Pohl 172ae502d6 Bug 1250901: Relaunch applications using NSTask instead of posix_spawnp on OSX. r=mstange 2016-08-29 21:14:36 -04:00
Matt Howell ef6bd6dd59 Bug 1246972 - Always require the update working directory to be within the installation path; r=rstrong
This required fixing a few chrome tests which broke on Mac because they were assuming updater-settings.ini would be at the same location as the executables.

Also, this patch removes many dependencies on the current working directory from updater.cpp by changing it to use absolute paths instead. Otherwise this patch would have required adding yet more chdir() calls to avoid invalidating existing assumptions about what the current directory is.

MozReview-Commit-ID: ASxfV4uVpmD

--HG--
extra : source : 91b303801c0d20c5a7962e40e5d9dde4cbf37911
2016-08-25 15:31:13 -07:00
Robert Strong 529df92f7d Bug 1298222 - Fix showPrompt and showNeverForVersion checks in updateManagerXML.js. r=mhowell 2016-08-26 10:16:21 -07:00
Robert Strong dfbe3dae65 Bug 1299570 - Remove code for MozUpdater dir removals from the temp dir. r=mhowell 2016-08-31 17:23:39 -07:00
Stephen A Pohl a72d356fc5 Bug 1250901: Relaunch applications using NSTask instead of posix_spawnp on OSX. r=mstange 2016-08-31 18:56:45 -04:00
Robert Strong 8ee2538619 bug 1291985 - disable updater xpcshell tests on XP debug to prevent intermittent failures due to Process32FirstW failures on debug. r=mhowell 2016-08-25 13:32:19 -07:00
Robert Strong 319980c082 bug 1296207 tests - Remove unused app update billboard capability. r=mhowell
--HG--
rename : toolkit/mozapps/update/tests/chrome/test_0021_available_basic.xul => toolkit/mozapps/update/tests/chrome/test_0010_background_basic.xul
rename : toolkit/mozapps/update/tests/chrome/test_0013_check_basic_staging.xul => toolkit/mozapps/update/tests/chrome/test_0012_check_basic_staging.xul
rename : toolkit/mozapps/update/tests/chrome/test_0052_check_no_updates.xul => toolkit/mozapps/update/tests/chrome/test_0013_check_no_updates.xul
rename : toolkit/mozapps/update/tests/chrome/test_0051_check_error_xml_malformed.xul => toolkit/mozapps/update/tests/chrome/test_0014_check_error_xml_malformed.xul
2016-08-25 13:32:15 -07:00
Robert Strong f371088109 bug 1296207 app update client code - Remove unused app update billboard capability. r=mhowell 2016-08-25 13:32:11 -07:00
Stephen A Pohl 6e5d1c263b Bug 1286490: Handle IPC timeout exceptions during elevated updates on OSX. r=mstange 2016-08-25 16:14:11 -04:00
Wes Kocher 2c15b0b1f8 Backed out 2 changesets (bug 1246972) for marSuccessComplete.js failures a=backout
Backed out changeset 4576637003b6 (bug 1246972)
Backed out changeset c079fb045b9d (bug 1246972)

--HG--
extra : rebase_source : 3a3acdca0561b777bb35f73746766904b21a7f00
2016-08-25 13:02:17 -07:00
Matt Howell f725243240 Bug 1246972 followup - Fix eslint errors; CLOSED TREE
MozReview-Commit-ID: FGTFeGOqpqw

--HG--
extra : rebase_source : d4bf641ba9166839b6c582f11fa194efa4d0354a
2016-08-25 11:05:51 -07:00
Matt Howell 2dd1325240 Bug 1246972 - Always require the update working directory to be within the installation path; r=rstrong
This required fixing a few chrome tests which broke on Mac because they were assuming updater-settings.ini would be at the same location as the executables.

Also, this patch removes many dependencies on the current working directory from updater.cpp by changing it to use absolute paths instead. Otherwise this patch would have required adding yet more chdir() calls to avoid invalidating existing assumptions about what the current directory is.

MozReview-Commit-ID: ASxfV4uVpmD

--HG--
extra : rebase_source : e9f7c5614ab7a90a290b3586dedde410ac21d5ac
extra : amend_source : 5c80ab53f2db066f6859b4f29479778d32734f3e
2016-08-23 14:11:23 -07:00
Aryeh Gregor f3e54042f1 Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher
This allows plain mochitests to use the functions as well, which is
necessary to get them to work with e10s.

MozReview-Commit-ID: J4um2mliJcZ
2016-08-25 16:57:09 +03:00
Ryan VanderMeulen bfdd703c49 Merge fx-team to m-c. a=merge 2016-08-25 08:12:26 -04:00
Bob Silverberg d487ac88f9 Bug 1281884 - strict_min_version and strict_max_version aren't respected in "Load Temporary Add-on". r=aswan
Replace test_disabled_addon_can_be_enabled_after_reload in test_reload.js with test_reload_to_invalid_version_fails.

MozReview-Commit-ID: 9OEBnbwNplC

--HG--
extra : transplant_source : %F8T%13%BAZ%9C%9D%A2%23%E7n%FC%2CL%81%90%05g%0D%C3
2016-08-22 13:28:17 -04:00
Ryan VanderMeulen baeaac9b10 Merge m-c to fx-team. a=merge 2016-08-23 10:11:52 -04:00
Paolo Amadini aebadaa666 Bug 1243445 - Pasting an invalid URL breaks the Downloads View in the Library. r=jaws
MozReview-Commit-ID: DCPhxiB1i0Y

--HG--
extra : rebase_source : 2ecf9925407929c07390fcdfaf3e778011be25f4
2016-08-22 14:22:18 +01:00
Andrew Swan 4297232844 Bug 1297028 Expose Addon.canUninstall flag to content r=bz,rhelmer
MozReview-Commit-ID: Ec6QPj9h9k7

--HG--
extra : rebase_source : 747cb4ce54d5e8d0cc7bc2cc3654471b3b07bfcb
2016-08-23 19:24:15 -07:00
Robert Strong 009acbe783 Bug 1291985 - Remove failing check from tests that run in parallel. r=mhowell 2016-08-22 09:19:00 -07:00
Ryan VanderMeulen 833833b8c5 Merge inbound to m-c. a=merge 2016-08-22 09:40:41 -04:00
Robert Helmer a080096625 Bug 1295732 - update system add-on spec to reflect override behavior of updates r=mkelly
MozReview-Commit-ID: GNSMwBxFN2Z

--HG--
extra : rebase_source : afac8a4a51012a851078165c519db11e6d79dbb5
2016-08-18 18:33:08 -07:00
Robert Helmer e0e207b935 Bug 1295732 - allow system add-ons updates to override defaults per addon ID r=aswan
MozReview-Commit-ID: 1zFEzshG6yC

--HG--
extra : rebase_source : c2d62c8d0ddc37f90f6dee4c34e72ad7559da508
2016-08-16 19:15:56 -07:00
Jeff Gilbert 0011f2bc39 Bug 1287653 - Not blocked, so won't fail. CLOSED TREE
MozReview-Commit-ID: L1A7s5Dn0Yb
2016-08-18 21:49:33 -07:00
Bob Silverberg ed19eb105f Bug 1283116 - Implement chrome.management.getSelf. r=kmag
MozReview-Commit-ID: Bj9ZyF1meED

--HG--
extra : rebase_source : 39a9ff4fa944a19d851d3f047ef363ac9c521be8
2016-08-18 11:52:31 -04:00
Jeff Gilbert d76b53ecff Bug 1287653 - Expect no blocklist for test.
MozReview-Commit-ID: 3llOazz8v7I
2016-08-18 18:56:22 -07:00
Kris Maglione fd4b3a748c Bug 1294811: Fix external tests that import head_addons.js. r=rhelmer
MozReview-Commit-ID: EWo7Gv9oSsz

--HG--
extra : rebase_source : e83863f0ef55f04be32a5062d0f672c8a3d88cb5
2016-08-16 17:02:44 -07:00
Kris Maglione 71550e4477 Bug 1294811: Move AddonManager test helpers to a shared test module. r=rhelmer
Most of the AddonTestUtils code is simply moved from head_addons.js, but I
did significantly refactor some of the especially crufty parts.

MozReview-Commit-ID: K4vIqnI1qhY

--HG--
extra : rebase_source : 776d94bcf59546aa827f5befc4b018dd628e2efe
2016-08-18 14:30:39 -07:00
Jeff Gilbert 9a6dade559 Bug 1287653 - Add blacklist entry for dx_interop2. - r=milan
MozReview-Commit-ID: ID2bRpOnysX
2016-08-18 14:06:50 -07:00
Robert Strong 2caede3733 Bug 1296097 - Use new XMLHttpRequest() instead of nsIXMLHttpRequest. 2016-08-18 12:03:38 -07:00
Robert Strong 9fc2f04c5b Bug 1182352 test code - Remove custom cert check code from app update. r=mhowell 2016-08-18 10:34:28 -07:00
Robert Strong cf60dc6c6d Bug 1182352 client code - Remove custom cert check code from app update. r=mhowell 2016-08-18 10:34:23 -07:00
Sebastian Hengst 745d18da4b Backed out changeset c45e5c5015e3 (bug 1283116) for missing test path for added test test_ext_management.js. r=backout 2016-08-18 17:28:09 +02:00
Bob Silverberg 32e17247b7 Bug 1283116 - Implement chrome.management.getSelf. r=kmag
MozReview-Commit-ID: Bj9ZyF1meED

--HG--
extra : rebase_source : 9641a6f40f09f838b51e26fcb7f5ea8115674582
2016-08-18 09:13:08 -04:00
Jorg K c7b501bf65 Bug 1296883 - Disable test unsuitable for Thunderbird. r=kmag 2016-08-20 15:13:00 -04:00
Kris Maglione 2c634c4cb0 Bug 1296888: Add "webextensions" tag to WebExtension tests. r=aswan
MozReview-Commit-ID: 3QYXtpdznrP

--HG--
extra : rebase_source : 4aacd77cd2569b9ffc3916a5db3f41dd26bc7b70
2016-08-20 15:41:31 -07:00
Wes Kocher a177bd0ff1 Merge m-c to inbound a=merge 2016-08-17 17:24:02 -07:00
Wes Kocher ae78ab94fa Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Wes Kocher 07f8858bf6 Merge inbound to central, a=merge 2016-08-17 16:38:41 -07:00
Wes Kocher f90f3d11fd Merge m-c to fx-team, a=merge
a=release for the webidl hook due to comment-only changes

--HG--
extra : amend_source : d988a8a774085539988d1d964c4beb2d07eecb50
2016-08-16 22:09:34 -07:00
Wes Kocher 48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Wes Kocher 073e095b66 Merge fx-team to central, a=merge CLOSED TREE 2016-08-16 16:37:28 -07:00
Jared Wein ea0b3d77bc Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: GDfvwWRLNm5
2016-08-16 21:27:37 -04:00
Sebastian Hengst c66c2fee3a Backed out changeset 7914e9dc6f88 (bug 1294542) for xpcshell failure in test_Log.js. r=backout 2016-08-17 01:24:58 +02:00
Jared Wein e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Jared Wein b82aa6f6de Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
MozReview-Commit-ID: AAXqh63QNv3
2016-08-16 15:44:13 -04:00
Wes Kocher fee75658b6 Merge m-c to fx-team a=merge CLOSED TREE 2016-08-15 15:04:43 -07:00
Wes Kocher 03b3c20a6e Merge fx-team to central, a=merge 2016-08-15 14:49:11 -07:00
Wes Kocher 257350ce3a Backed out changeset a11a0035c85e (bug 1281884) for Windows VM xpcshell failures a=backout 2016-08-15 14:43:13 -07:00
Wes Kocher d602abb016 Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
Wes Kocher 0fe7a92d47 Merge m-c to fx-team a=merge 2016-08-12 16:39:13 -07:00
Wes Kocher b44cee8b2a Merge fx-team to central, a=merge CLOSED TREE 2016-08-12 14:37:49 -07:00
Jared Wein d3e296107e Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
Dave Townsend 958533ac14 Bug 1294483: Centralise where we check for correct signing state and make the checks more obvious. r=rhelmer
--HG--
extra : rebase_source : eb94721a22ffbb1b70ef614f9585595eb60ec72f
extra : amend_source : 724a557eda6b1663caa961fa745e80a7ab98ec6f
2016-08-11 11:45:06 -07:00
Wes Kocher 4aec37ca6e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Robert Strong 092b1b9be2 Bug 1295896 test code - Remove mock XMLHttpRequest from app update tests. r=mhowell 2016-08-17 13:31:07 -07:00
Robert Strong ad37c18940 Bug 1295896 client code - Remove mock XMLHttpRequest from app update tests. r=mhowell 2016-08-17 13:30:53 -07:00
Wes Kocher 2253eb9510 Merge m-c to inbound, a=merge 2016-08-15 14:53:49 -07:00
Wes Kocher c84ec3b3f3 Merge m-c to inbound, a=merge 2016-08-16 22:06:58 -07:00
Wes Kocher 88bc8189f9 Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
Sebastian Hengst f61777a6ba Bug 1279012 - implement onUpdateAvailable and runtime.reload() for WebExtensions: remove unnecessary semicolon. r=eslint-fix 2016-08-15 19:05:53 +02:00
Robert Helmer bcf92a01fd Bug 1279012 - implement onUpdateAvailable and runtime.reload() for WebExtensions r=aswan
MozReview-Commit-ID: KywrVkcRhzp

--HG--
extra : rebase_source : e51f67f76f3b3ac845b2d2f3ba8c36005c43c2c1
2016-08-02 09:37:01 -07:00
Jorg K dd34d47f05 Bug 1293992, bug 1295907 - Disable tests not suitable for Thunderbird. r=kmag
--HG--
extra : rebase_source : bf3495e7fffcfab015840355ce52f640741833ce
2016-08-17 11:07:00 -04:00
Dave Townsend 3e93422569 Bug 1294439: Mark add-ons as soft disabled even if they are app disabled. r=aswan
MozReview-Commit-ID: FcPwk5YEtRT

--HG--
extra : rebase_source : a18e4ab6999e25fd1948bffa32d67282d94e0884
2016-08-11 10:57:39 -07:00
Andrew Swan c6dafd1189 Bug 1293721 follow up: handle pre-existing absolute optionsURL r=kmag
MozReview-Commit-ID: GafnS4ckUiY

--HG--
extra : rebase_source : 4ddb3766e139e1ff1f49b1e769d32d29e8929afc
2016-08-11 09:59:03 -07:00
Robert Strong f2f3794312 Bug 1295734 - Remove dump override from app update tests. r=mhowell 2016-08-16 14:00:43 -07:00
Robert Strong dbddca3e70 Bug 1295517 - turn on app update xpcshell debug logging to get more information on marStageFailurePartial.js test failure. r=mhowell 2016-08-16 14:00:27 -07:00
Wil Clouser 3315f2a277 Bug 1288178 - add Test Pilot to mozAddonManager allow list r=rhelmer
MozReview-Commit-ID: Klx75vFhKUI

--HG--
extra : rebase_source : d488675eea0504b4af4fd1cb9278a44bb9564fbe
2016-08-09 15:15:01 -07:00
Andrew Swan b904b2d437 Bug 1286908 Remove id allocation from SpecialPowers loadExtension() r=kmag
Prior to this change, SpecialPowers used the extension id to identiy
extension instances in inter-process messaging.  This required that
an id be allocated from the content process side when loadExtension()
was called, but that made it impossible to test code that exercises the
code path in the AddonManager that allocates ids for extensions that do
not include an id in the manifest (it also made the loadExtension() api
clunky).

With this change, SpecialPowers allocates an internal identifier for
messaging, but this identifier is separate from extension ids.
Confusingly, we still store the actual extension id in an id property
on the object returned by loadExtension(), but there are enough tests
that reference this that it would be unnecessarily disruptive to get
rid of it so it stays for now...

MozReview-Commit-ID: G6xk1mBJJL8

--HG--
extra : rebase_source : a0891e5ba308972c35813f55274badf9edde62f7
extra : source : e8818ef3c28489e196d1db92cabf224861b693c9
2016-08-02 16:04:37 -07:00
Kashyap Gajera a2fde92e87 Bug 1290701 - Replace in-tree consumer of non-standard Iterator() with Object.{values,entries} in toolkit/. r=dtownsend 2016-08-03 11:53:10 +05:30
Kris Maglione 73b1b5f221 Bug 1263011: Part 2 - Implement WebExtensions Experiments prototype. r=aswan
MozReview-Commit-ID: 4KO4cCLRsLf

--HG--
extra : rebase_source : 40e5ec808e557e845a771bb21e8863a8edcd4faf
2016-08-05 14:20:54 -07:00
Thomas Wisniewski d0dfbfb36e Bug 700640 - Have extensions.xml set XHR responseType to document for update release notes. r=hsivonen, r=Mossop 2016-08-09 16:28:56 -04:00
Bob Silverberg 57f798a372 Bug 1281884 - strict_min_version and strict_max_version aren't respected in "Load Temporary Add-on". r=aswan
Replace test_disabled_addon_can_be_enabled_after_reload in test_reload.js with test_reload_to_invalid_version_fails.

MozReview-Commit-ID: 9OEBnbwNplC

--HG--
extra : transplant_source : %F1%3F%26%11%1CI%A7K%8C%E9%A34%15%ED%8C%C6%F0H%97B
2016-07-04 09:58:59 -04:00
Stephen A Pohl 63ccef1c60 Bug 1286490 - Improve logging when unable to clean up elevated updater on OSX. r=mstange 2016-08-12 09:53:00 -04:00
Kris Maglione 83cfaa2af3 Bug 1280083: Support dependencies for bootstrapped add-ons. r=aswan
MozReview-Commit-ID: ACmsUcKZ2Jp

--HG--
extra : rebase_source : fc7842ff4026ec2b39d1f961253b17cb4f12912e
2016-06-16 16:29:31 +01:00
Chris Pearce 243006e385 Bug 1291537 - Assume GMPs are unsupported when running in 32bit mode on MacOS. r=spohl
Users may have opted into running in 32bit mode if they have certain plugins,
or manually from Finder's Info dialog.

We end up downloading the 64bit GMP and installing it when running in 32bit mode,
and it will crash.

Since we're dropping 32bit MacOS Firefox in 52, there doesn't seem to be
much point doing work to make us install the 32bit GMP on 32bit mode on
MacOS, and pushing out new 32bit GMPs. So just mark them as unsupported.


MozReview-Commit-ID: KRZKPKZkmKB

--HG--
extra : rebase_source : 98cb35ec9469b136a744fe7a2423de6a7e143489
2016-08-03 15:19:00 +12:00
Wes Kocher 234534ff57 Backed out changeset 61fbf96a2cfa (bug 1293721) for browser-chrome leaks a=backout
--HG--
extra : rebase_source : e6c71044c8b4eb74518b8045ef6802d43d4dcadf
2016-08-11 14:43:11 -07:00
Wes Kocher 45575a7f86 Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change

--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -07:00
Robert Strong f829bffa9d Bug 1287176 test code - Status file not written for staging errors. r=mhowell 2016-08-12 22:52:45 -07:00
Robert Strong fffeb50078 Bug 1287176 client code - Status file not written for staging errors. r=mhowell 2016-08-12 22:52:24 -07:00
Jared Wein fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Jared Wein 169d66a3ed Bug 1292035 - Enable the space-before-blocks rule for eslint. This patch was generated using 'eslint --fix'. r=markh
MozReview-Commit-ID: 2XVoU05YvES

--HG--
extra : rebase_source : e7ed2d094c21b59dd59476b8930b75da2e6d6980
2016-08-04 03:20:25 -04:00
Jared Wein 871ed4e3ba Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh

--HG--
extra : rebase_source : bc81b68ea5599fd1815dc34dac7106eef7044483
2016-08-03 18:54:59 -04:00
Robert Helmer 8792aa2dec Bug 1291569 - avoid for-let-of scoping bug and temporarily disable failing tests r=aswan
Due to an existing scoping bug fixed by bug 1263355, this test hasn't been
running the tests we thought it did. This patch gets most of the tests running
and disables the few that are not passing while we work on fixing these.

MozReview-Commit-ID: 2BqO4Ap2tLU

--HG--
extra : rebase_source : 3ad5264175b1cc0532eb800224dd34ff75b885d4
2016-08-03 08:58:59 -07:00
Carsten "Tomcat" Book bd81ddd0b0 merge mozilla-inbound to mozilla-central a=merge 2016-08-02 17:09:31 +02:00
Thomas Wisniewski 6606669857 Bug 1283902 - Skip repeated onDownloadProgress events so the test may pass. r=aswan 2016-07-31 13:44:50 -04:00
Felipe Gomes 697249aceb Bug 1247497. Remove Flashblock from first experiment list. r=me
MozReview-Commit-ID: GdG3VdrpAws
2016-07-29 13:53:22 -03:00
Mark Hammond 27fa2ce0b7 Bug 1275139 (part 3) - don't Sync system addons, nor apply them when incoming. r=rhelmer
MozReview-Commit-ID: Jn0TNLy4cDJ
2016-07-29 10:44:20 +10:00
Carsten "Tomcat" Book 37be51f16a merge mozilla-inbound to mozilla-central a=merge 2016-07-28 17:43:03 +02:00
Chris Pearce 9d4e51cf50 Bug 1288311 - Remove GMP install failed/unsupported telemetry reporting code. r=spohl
The telemetry result indicate that unexplained install failures are very rare,
so we don't need to bother keeping this probe.

We should still need to check whether the GMP files disappear from disk, as
telemetry indicates this does happen, though quite rarely.

MozReview-Commit-ID: K64tlRajACJ

--HG--
extra : rebase_source : 0778f4bdf85cbd448ca71694c65bd99806307386
2016-07-21 16:31:56 +12:00
Felipe Gomes f19aed1d46 Bug 1247497. Test for e10s-addons mechanism. r=krizsa
MozReview-Commit-ID: 9vKCXT7tolw
2016-07-27 13:33:01 -03:00
Felipe Gomes 916fe57f38 Bug 1247497 - Inform the system add-on that there is at least one non-exempt add-on installed. r=krizsa
MozReview-Commit-ID: BPoianyEWGi
2016-07-27 13:33:00 -03:00
Felipe Gomes f12faf9bac Bug 1247497 - Mechanism to control when e10s is turned on based on add-ons presence or absense. r=krizsa
MozReview-Commit-ID: 28QaUfWNAnE
2016-07-27 13:33:00 -03:00
Carsten "Tomcat" Book 7293066753 merge mozilla-inbound to mozilla-central a=merge 2016-07-27 16:35:44 +02:00
Carsten "Tomcat" Book dbdbb9ddab merge fx-team to mozilla-central a=merge 2016-07-27 16:33:09 +02:00
Nick Alexander c6f2ef4d51 Bug 1268944 - Remove GeckoView packaging. r=chmanchester
The best kind of patch: bulk deletion.  This removes two separate but
similar build flags, and an unsupported integration piece.  The first
packaged Fennec's resources into an ill-defined GeckoView archive; the
second built on the first to produce an Android ARchive for external
consumption.  Neither of these artifacts are supported or have
consumers; in fact, they mislead potential consumers, since they're
known to be broken.  The Gradle build work under the --with-gradle
flag, and significant follow-up, is the path forward if Mozilla wants
to invest in packaging GeckoView on Android for external consumption.
That is, rather than hacking together AAR files, we'll use the
well-supported Gradle mechanisms for building and publishing such
libraries.

MozReview-Commit-ID: 4Z1jJ8z0cyJ

--HG--
extra : rebase_source : b8e65f39c286313fe8963bf3832d9b6977ef188f
2016-07-25 11:54:03 -07:00
Kilik Kuo 3de7882657 Bug 1136707 - [Part1] Make pref 'media.eme.enabled' only affect practical DRMs. r=cpearce
MozReview-Commit-ID: 5XeAelzLbIc

--HG--
extra : transplant_source : J%7D%FE%B8%CC3%CF%E7%BAg%A7%3E%19%DDC%C0%EB%92%AD%C8
2016-07-27 12:04:47 +08:00
Carsten "Tomcat" Book b9a6c687fa merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
Geoff Lankow b013f58f80 Bug 1284166 - <setting>s do not properly handle non-ASCII characters. r=kmag 2016-07-22 12:12:11 +12:00
Luca Greco eab2b0ad2c Bug 1268773 - Notify Addon Listeners when the preferred addon debug global is changed. r=aswan
MozReview-Commit-ID: Hn7jb8Kni2J

--HG--
extra : rebase_source : db4a2545950e3b8d32808475ea4b16bd88c43272
2016-07-07 16:29:36 +02:00
Chris Pearce 888002acb9 Bug 1288580 - Mark Widevine as supported on Linux and remove Mac OSX version check. r=spohl
This means if Widevine is preffed visible on Linux it will show up in the
plugin list.

We only support Mac OSX 10.9 and later, so we don't need the >= 10.7 check any
more.

MozReview-Commit-ID: BjgMKeIIrrI

--HG--
extra : rebase_source : 46740a9d40f8ae700b6a47eb488a2435e48c1e99
2016-07-22 14:21:19 +12:00
Chris Pearce 93e60feb01 Bug 1288582 - Hide Adobe Primetime plugin on Windows < Vista. r=spohl
We're not going to get a supported Adobe GMP on WinXP, so we shouldn't download
it or show it in our add-on manager.


MozReview-Commit-ID: I3cNsStmzsV

--HG--
extra : rebase_source : b67c7cbec013f83bcf7d24cac99755faf1b5e07e
2016-07-22 14:30:22 +12:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Wes Kocher 324028bc3b Bug 1288480 - ESLint fix a=me CLOSED TREE 2016-07-21 15:53:09 -07:00
Andrew Swan 6ce8cf50ff Bug 1288480 Rework mozAddonManager error handling r=kmag a=kwierso CLOSED TREE
This ended up being a bigger change than I had hoped for but
it updates the WebAPITask helper in amWebAPI.js so that errors
returned from the parent process are immediately wrapped into
Error objects from the content page.  In this way, programming
errors or other internal errors don't leak out to mozAddonManager
users.

The way the previous code managed window references using "this"
was already a bit fussy, this patch only makes it worse.  But I
think this basic logical structure here is right and since this
bug is responsible for widespread breakage, I'd like to get this
checked in and then clean it up in a follow-up.

MozReview-Commit-ID: 98PgbWKsHIN

--HG--
extra : source : f2cd195ea3898c9c46e7f58bbcaa3292a2793554
2016-07-21 11:35:41 -07:00
Carsten "Tomcat" Book 4a64baa9d4 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Andrew Swan e8c3e2138f bug 1287125 Lock down mozAddonManager.install() r=rhelmer
MozReview-Commit-ID: 7wLqVme2Yzi

--HG--
extra : rebase_source : 870ddfc2a92599b3ce6f8ab1b850f8bde944575e
2016-07-15 11:40:45 -07:00
Chris Manchester 5d733ce029 Bug 1286016 - Re-organize browser.ini manifests to reflect support files needed by tests in toolkit/mozapps/extensions/test/browser/browser.ini r=erahm
MozReview-Commit-ID: Kfn3ApOTXOk

--HG--
extra : rebase_source : 6be4c04f05ec917e571fc6a4a41eec1f87c6a095
2016-07-20 11:47:22 -07:00
Chris Peterson b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Mark Hammond 98d7b727d9 Bug 1286785 - treat a corrupt addons.json as though it was missing. r=rhelmer
MozReview-Commit-ID: 3CmGaQ2MxPg

--HG--
extra : rebase_source : 8549ab7557ebcd40909e733b59132baa34a5bf62
2016-07-18 09:55:00 +10:00
Andrew Swan 7ab541e10d Bug 1293721 follow up: handle pre-existing absolute optionsURL r=kmag
MozReview-Commit-ID: GafnS4ckUiY

--HG--
extra : rebase_source : 52a5af4154830bb5d0ff4a49090a9659aac054be
2016-08-11 09:59:03 -07:00
Andrew Swan 0245be301b Bug 1293721 Handle options_ui properly when id isn't immediately available r=kmag
MozReview-Commit-ID: JQC8rZwUkXG

--HG--
extra : rebase_source : 3fe3808971a2a97a32bd70dbce0f477ad4007f0c
2016-08-09 13:40:57 -07:00
Mike Hommey a918e97bfa Bug 1293837 - Move HAVE_64BIT_BUILD test to python configure. r=chmanchester
Also, now that we're using modern C++11 compilers, we can just rely on
static_assert, instead of the pile of macros used in the autoconf test.

--HG--
extra : rebase_source : 85d507da653d07e6527a971082277486e3502ea2
2016-08-10 09:00:23 +09:00
Andrew Swan 1543cdc797 Bug 1285899 Manager mozAddonManager AddonListeners per child r=krizsa
MozReview-Commit-ID: 6xRhWuHf6rq

--HG--
extra : rebase_source : 429d2ce1e5d631846de80ad2b284cc2429b57360
2016-08-03 13:36:47 -07:00
Felipe Gomes 8e21ed830a Bug 1282120 - Include Personas Plus in the first e10s-addons experiment for Beta 49. r=me a=me
This has been agreed with Shell and Kev and this addon was tested by QA on 49.

MozReview-Commit-ID: 3GMMEwgIwP2
2016-07-31 16:38:48 -03:00
Carsten "Tomcat" Book 14a7e12166 Backed out changeset fbf164ef9e70 (bug 1287125) for perma failing in browser_webapi_install.js after merged 2016-07-18 09:06:42 +02:00
Wes Kocher ad9620b862 Merge m-c to autoland a=merge 2016-07-15 17:01:59 -07:00
Andrew Swan 741c775523 bug 1287125 Lock down mozAddonManager.install() r=rhelmer
MozReview-Commit-ID: 7wLqVme2Yzi

--HG--
extra : rebase_source : 1eeee0567b7977e00c68467546cf77e5c4f3577c
2016-07-15 11:40:45 -07:00
Robert Helmer 25e5792baa Bug 1284564 - correct update behavior section of system add-on spec r=mkelly
MozReview-Commit-ID: JtncY5gvcN7

--HG--
extra : rebase_source : 1b31d2fc6ba095a2944e51901471baad5c2bcbb8
2016-07-05 09:59:22 -07:00
Benjamin Smedberg be3857f963 Bug 1277905 - Remove in-product links to plugincheck. Also remove support for startup prompting about outdated plugins, since that's annoying to users. r=Gijs r=mconley
MozReview-Commit-ID: 69tMivPVxuW

--HG--
extra : rebase_source : bd4d2979beff0f460a20156b0f954e2f1a2a5e85
2016-07-01 11:01:07 -04:00
Luca Greco 114e6cb097 Bug 1285289 - Use the URL of the addon sourceBundle as the sourceURI of temporary addon. r=aswan
MozReview-Commit-ID: KKeIFOMN3yo

--HG--
extra : transplant_source : %5C%8D%AFG%B1%3E%3B%07%D0%1B.%96%83%CF%10%FF%5D%15%27%FC
2016-07-07 21:25:35 +02:00
Benjamin Smedberg b8f122617a Bug 1285618 - Move support files to browser-common.ini so that running individual addon manager tests installs them properly. r=gps
MozReview-Commit-ID: FRslpRvJFK9

--HG--
extra : rebase_source : 95279fa5acf2ca3b0566d84f8adbf79868d1d5cb
2016-07-08 16:04:57 -04:00
Robert Strong 80d6999ee4 Bug 1285099 - STATE_PENDING_SVC is not defined in nsUpdateService.js after bug 394984 landed. r=spohl 2016-07-07 07:43:49 -07:00
Carsten "Tomcat" Book 1e5237c994 merge mozilla-inbound to mozilla-central a=merge 2016-07-07 11:41:27 +02:00
Robert Helmer 303a44d1f7 Bug 1283897 - flush JAR cache before loading temporary add-on, r=kmag
MozReview-Commit-ID: 2wBKzvP6a4g

--HG--
extra : rebase_source : 9937dc681215ac404881f899e56a090c06b781e1
2016-07-01 13:08:19 -07:00
Chris Peterson 2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
Bill McCloskey c952246316 Bug 1214824 - Forbid CPOW usage if add-on declares it is multiprocessCompatible (r=mrbkap) 2016-07-05 13:59:36 -07:00
Robert Helmer c1ac013c11 Bug 1281077 - do not allow hidden add-ons to be user disabled. r=aswan
MozReview-Commit-ID: JUtKsYZLJTV

--HG--
extra : rebase_source : c2d0cd8cfbbafe22d81192bd1185bbd64c52c7c6
2016-06-29 17:14:41 -07:00
Robert Strong 33be16a9cc Bug 1278248 - On Mac, don't download complete mar file when cancelling elevation of a partial mar file on Mac. r=spohl 2016-07-14 09:55:02 -07:00
Chris Pearce 84da183105 Bug 1294649 - Don't show EME plugins in the plugin list that are disabled. r=spohl
I noticed that on Linux is you have 'Play DRM content' unchecked, and then
open about:addons > plugins, and then check 'Play DRM content', that the
Adobe CDM then appears in the about:addons > plugins list.

This is because in GMPWrapper.onPrefEMEGlobalEnabledChanged() we're taking the
branch that calls AddonManagerPrivate addon listeners.

We're doing that because we're only checking the GMPWrapper.appDisabled on
that branch, and so if EME is enabled, we'll go down that path for the Adobe
CDM on Linux, even though the CDM itself isn't visible/supported on Linux.

So we should instead only go down that path if EME is enabled, *and* if the
GMP is not hidden. We can uninstall the GMP if it's hidden or EME is
disabled, as there's not much point in keeping the plugin around if its
disabled.

This means toggling the 'Play DRM Content' checkbox doesn't make the
Adobe CDM appear in the plugins list, and also if the Widevine CDM is
explicitly disabled, it still appears in the plugins list if 'Play DRM
Content' is checked, but it appears in a disabled state. As you'd expect.


MozReview-Commit-ID: Fq10vnhiaKO

--HG--
extra : rebase_source : 6cbfa621a6548e8e5c70e239a7d358bbb6e0eac4
2016-08-16 16:15:45 +12:00
Nomis101 f1831ab523 Bug 1279731 - "Fix typos in AddonRepository.jsm and PluginProvider.jsm". r=rhelmer 2016-06-11 10:41:45 +02:00
Carsten "Tomcat" Book 5c90a99952 merge mozilla-inbound to mozilla-central a=merge 2016-06-29 16:13:05 +02:00
anonym 91d0ac1119 Bug 1281959 - Add a pref hiding the "Open with" option. r=dolske
If browser.download.forbid_open_with is set to true (default: false)
the download dialog will not ever show the "Open with" option for
opening the file with an external application; only the "Save" and
"Cancel" options will be available.

This is very useful to enable when the browser is sandboxed (e.g. via
AppArmor) in such a way that it is forbidden to run external
applications, since users then are not presented with this choice
which will not work and only cause confusion.

See https://trac.torproject.org/17502
2016-06-28 14:23:00 +02:00
Carsten "Tomcat" Book bd81760f9c Merge mozilla-central to fx-team 2016-06-28 16:14:58 +02:00
Towkir Ahmed 8eff74364d Bug 1279910 - Renamed occurrences of 'Oriya' to 'Odia'. r=gijs 2016-06-27 12:31:00 +02:00
Stephen A Pohl 36a128ce82 Bug 1272585: Start handling NS_ERROR_DOCUMENT_NOT_CACHED the same way as network offline in app update. r=mhowell 2016-06-27 15:02:58 -04:00
Andrew Swan ba6d7750b6 Bug 1279034 Add Addon.setEnabled() for a.m.o r=rhelmer,smaug
MozReview-Commit-ID: 6mvHMWinkle

--HG--
extra : rebase_source : 6d6f564d50dbcea8850c3fd6117351c2efe2cb6c
2016-06-24 12:54:18 -07:00
Andrew Swan 6528b7ae63 Bug 1279046 Expose onOperationCancelled to a.m.o r=rhelmer
MozReview-Commit-ID: 2QTjGi8tnjT

--HG--
extra : rebase_source : c01c7649105a47e83339186bfc4d4a0b8b74a2dc
2016-06-24 10:16:50 -07:00
Robert Helmer 18bcdedb45 Bug 1281547 - add-on compatibility check should log underlying reason r=aswan
MozReview-Commit-ID: GzfIN4DNTt9

--HG--
extra : rebase_source : fd8915018009846d5991f2a46826ab42c9addd18
2016-06-22 10:36:40 -07:00
Andy McKay 991102e916 bug 1282568 sign add-ons in browser_update tests r=aswan
MozReview-Commit-ID: 6kF005zOosv

--HG--
extra : source : 63c1aecb37ac17e88cc993c9b78f366f214fe130
extra : amend_source : f2f1a1eb6a10914a8d10df49d80cda313987b8b4
2016-06-27 14:52:57 -07:00
Andrew Swan 97f5aada1f Bug 1277295 Remove obsolete reference to storage service r=gps,kmag
MozReview-Commit-ID: 27BEb2XGQkZ

--HG--
extra : rebase_source : 4abfe29abfb7b8e8b7a11fcbf68ce12f8419be40
2016-06-24 13:14:35 -07:00