Commit Graph

2619 Commits

Author SHA1 Message Date
Dave Townsend
c872ff3d33 Bug 1226386: Remove most of the preprocessing from the add-ons manager. r=gps
For build speed, for correct line numbers in errors, for faster development, for so many reasons.
Still a couple of cases left mostly in XUL files for different strings on Windows.

Bonus: The new lexical scope means ADDON_SIGNING and REQUIRE_SIGNING can just
be declared as regular constants and outside code can't get to them easily.

--HG--
extra : commitid : Kj8khjuCwG2
extra : rebase_source : 2e0a3143900c0c414cda43254306f0c070f8e621
2015-11-19 15:30:47 -08:00
Dave Townsend
361cd471ff Bug 1228359: Allow experiments to register chrome. r=felipe
Simple obvious fix. Adds tests by making BootstrapMonitor (which
test_experiments.js and others use for verifying bootstrap startup and shutdown)
verify the list of registered chrome manifests at various points. Without the
fix this makes test_experiment fail as expected.

--HG--
extra : commitid : DhCOtar9Mqu
extra : rebase_source : c194a4d390bbd460b9c17ec09e9c3a219b5025d6
2015-11-27 12:44:22 -08:00
Kris Maglione
6713ba9ac7 Bug 1192435: Support updates for WebExtensions. r=Mossop
--HG--
extra : commitid : 2NZYNYBpFs4
extra : rebase_source : 06a5d6fe9b91872f31f17323766e74fc4dc24646
2015-11-17 16:23:15 -08:00
Johann Hofmann
75a90ffc8e Bug 1200674 - Allow flexible icon sizes in ExtensionUtils. r=dtownsend 2015-11-24 18:20:26 +01:00
Christoph Kerschbaumer
413a60a063 Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
Robert Helmer
e339903d0b Bug 1209341 - allow loading unsigned restartless add-ons at runtime. r=mossop
--HG--
extra : transplant_source : %9EhX%F7%9D%AE%F5%14%18%E6%3B%A7%D3w%E3%3B%CAl%27%05
2015-11-03 10:07:08 -08:00
Jim Chen
3f2aedd313 Bug 1221270 - Let AddonUpdateService use AddonManagerPrivate to check for updates; r=mfinkle
The Android-specific AddonUpdateService has a bit of redundant code
because AddonManagerPrivate has a backgroundUpdateCheck method that does
a lot of the same thing. This patch makes AddonUpdateService call that
method so there's less code and more consistency.

This requires flipping the "extensions.update.enabled" pref, which was
disabled in bug 528588 for showing the XUL addon update dialog. I don't
think this is relevant anymore in native Fennec and with the later
rewrite of AddonManager, so I'm fairly certain it's okay to flip that
pref.

The patch also disables the AddonManager update timer because we have
our own update timer on Android.
2015-11-23 23:31:49 -05:00
Christoph Kerschbaumer
5975a9caee Bug 1182546 - Test update: make inlinesettings accessible from content (r=bz) 2015-11-20 10:56:55 -08:00
Gijs Kruitbosch
161662dac8 Bug 1191468 - always load app dir add-ons irrespective of enabledScopes, r=Mossop,froydnj
--HG--
extra : commitid : 4O0JNbchonb
extra : rebase_source : f218722dd70f74a45e4dbb461a7faaa3ef1d1d81
extra : amend_source : 538b86815da89ccf5b3e7e42412019064123ccfe
2015-11-17 13:55:31 +00:00
Carsten "Tomcat" Book
839fa910f5 merge mozilla-inbound to mozilla-central a=merge 2015-11-19 14:44:11 +01:00
Nigel Babu
8638a9854f Backed out changeset 9155ee3d42d8 (bug 1182546) for Android M(c) bustage 2015-11-19 14:26:20 +05:30
Dave Townsend
d9c57718d0 Bug 1220911: Remove most of the special casing around experiments. r=rhelmer
Experiments should differ from normal add-ons in a few ways:

* They can always be enabled regardless of compatibility info
* They default to disabled when installed
* They cannot be checked for updates
* They only stay enabled for the lifetime of the current process
* The UI doesn't give users the ability to enable/disable

This makes a few changes to keep these differences but remove much of the special casing code for experiments.

Being able to use regardless of compatibility was mostly fixed by bug 1220198 but I've also removed the redundant override in isCompatible.

Previously the "enabled until restart" feature worked with by not updating the DBAddonInternal object and instead using a hack to make the wrapper still seem enabled. This seems likely to break other code that relies on the state of the DBAddonInternal object so instead we update that as normal and simply don't persist the enabled state to disk.

Also switch the DBAddonInteral.prototype code to use some newer JS features.

I've removed the hack from addon.permissions which was hiding the enable/disable buttons in the UI and instead just hidden them in the UI stylesheet. This makes the API make sense and means callers can use addon.permissions to verify that enabling will work.

--HG--
extra : commitid : I1KdZYTWAyE
extra : rebase_source : 352634d8e980a6f7a9c2121607283f5b08dc8484
2015-11-09 15:02:29 -08:00
Dave Townsend
0ca2ae256e Bug 1220911: Switch test_experiment.js to task style. r=rhelmer
Before changing the handling of experiments make the tests a bit more readable
and use BootstrapMonitor to verify things.

--HG--
extra : commitid : LnQTmpOqRgj
extra : rebase_source : be63740ca7613bf685c9d69722e9fb2e1bb0d5e3
2015-11-09 15:02:05 -08:00
Dave Townsend
95d4a64276 Bug 1225629: Always verify signatures for hotfixes and system add-on updates. r=rhelmer
--HG--
extra : commitid : HZM3glYLa3L
extra : rebase_source : e6c2c366ba7a96f5b66ed24b00c97c3ca4333e6b
extra : amend_source : e536be12a4d97d83f38b0cb8a9d931544902d75d
2015-11-17 14:05:04 -08:00
Christoph Kerschbaumer
a6cb71ab15 Bug 1223435 - Use channel.asyncOpen2 in toolkit/mozapps/extensions/internal/XPIProvider.jsm (r=sicking) 2015-11-15 14:48:11 -08:00
Christoph Kerschbaumer
59449aca2c Bug 1182546 - Test update: make inlinesettings accessible from content (r=bz) 2015-11-18 19:25:03 -08:00
Mark Goodwin
854efb9851 Bug 1224467 - Add a preference for controlling whether oneCRL blocklists are updated via AMO. Also add a test. r=keeler,mossop 2015-11-18 11:53:54 +00:00
Nigel Babu
70eb23339b Backed out changeset 46eadccf444d (bug 1223435) 2015-11-16 16:03:18 +05:30
Christoph Kerschbaumer
438e0eb3d0 Bug 1223435 - Use channel.asyncOpen2 in toolkit/mozapps/extensions/internal/XPIProvider.jsm (r=sicking) 2015-11-15 14:48:11 -08:00
Bill McCloskey
d3c47f743b Bug 967873 - Fix some recently enabled tests 2015-11-11 16:24:34 -08:00
Kris Maglione
4a1b170b2c Bug 1192433: Part 3 - Support localized names and descriptions in WebExtension manifests. r=Mossop
--HG--
extra : commitid : 79RHXd1mZtp
extra : rebase_source : 3bbd8ae3184d58ba5d2c1d332e0209fb2d0a19ef
2015-11-02 16:50:42 -08:00
Carsten "Tomcat" Book
0a34392a9e Merge mozilla-central to fx-team 2015-11-05 12:17:28 +01:00
Andrew McCreight
a56cc47ac7 Bug 1221185 - Enable more e10s tests in toolkit/mozapps/extensions/test/browser/. r=felipe 2015-11-03 09:12:00 +01:00
Carsten "Tomcat" Book
3e11f2fe34 merge mozilla-inbound to mozilla-central a=merge 2015-11-04 11:59:46 +01:00
Kris Maglione
9768c79d20 Bug 1213632: Prevent WebExtensions from using versioned JavaScript. r=billm
--HG--
extra : commitid : 3aQ4wS5I7LP
extra : rebase_source : 252277140f700ab305877f3bfd0ba9b582ff0b7a
2015-10-22 23:25:43 -07:00
Dave Townsend
efdebbd94c Bug 1220198: Never appDisable experiments if they don't have the right app compatibility information available. r=rhelmer
--HG--
extra : commitid : FRWLOAxSmbi
extra : rebase_source : 8783c5c2c347a9cc9cdfad45ea2e26aa9fc9111c
2015-11-02 11:15:12 -08:00
Kris Maglione
1f33d6ac2d Bug 1214058: Part 2 - Run add-on update tests against comparable JSON and RDF manifests. r=Mossop
I tried to keep the changes to existing tests as minimal as
possible. There were a few exceptions, though:

* test_update_ignorecompat.js was completely broken. I couldn't
  figure out why it was suddenly failing after I changed it to use
  `add_test`, and it turned out that it had been failing all along,
  but in a way that the harness didn't pick up.

* I changed most of the `do_throw` in update callbacks to `ok(false`
  because it took me about an hour to figure out where the test was
  failing when I hit one of them.

* I made some changes to sync `test_update.js` and `test_update_ignorecompat.js`
  where one appeared to have been changed without updating the
  other.

* I made `promiseFindAddonUpdates` a bit more generic, because I was
  planning to convert most of `test_update.js` to use it, rather
  than nested callbacks. I changed my mind a quarter of the way
  through, but decided to keep the changes, since they'll probably
  be useful elsewhere.

--HG--
extra : commitid : 2jBJ2yUht46
extra : rebase_source : a123db431a26b29f3deb81e6b961bf556005c2a6
extra : source : 90e625ac70b2071f1c2430725892f7c266928521
2015-10-19 09:18:42 -07:00
Kris Maglione
c663cc0727 Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop
--HG--
extra : commitid : HUFAitZpdVA
extra : rebase_source : b2eb9ede0582b804e1e583570e165e27f42c8fa7
extra : source : a4d5d63a03ef3938d95f629a6a9ea31d3e88627d
2015-11-03 14:49:46 -08:00
Wes Kocher
7a3e94be61 Backed out 2 changesets (bug 1214058) for xpcshell bustage
Backed out changeset 90e625ac70b2 (bug 1214058)
Backed out changeset a4d5d63a03ef (bug 1214058)
2015-11-03 16:06:23 -08:00
Kris Maglione
110d21abaa Bug 1214058: Part 2 - Run add-on update tests against comparable JSON and RDF manifests. r=Mossop
I tried to keep the changes to existing tests as minimal as
possible. There were a few exceptions, though:

* test_update_ignorecompat.js was completely broken. I couldn't
  figure out why it was suddenly failing after I changed it to use
  `add_test`, and it turned out that it had been failing all along,
  but in a way that the harness didn't pick up.

* I changed most of the `do_throw` in update callbacks to `ok(false`
  because it took me about an hour to figure out where the test was
  failing when I hit one of them.

* I made some changes to sync `test_update.js` and `test_update_ignorecompat.js`
  where one appeared to have been changed without updating the
  other.

* I made `promiseFindAddonUpdates` a bit more generic, because I was
  planning to convert most of `test_update.js` to use it, rather
  than nested callbacks. I changed my mind a quarter of the way
  through, but decided to keep the changes, since they'll probably
  be useful elsewhere.

--HG--
extra : commitid : 84oLUw4ZPOg
extra : rebase_source : 2bd6c921c6b677e4d487d0ee9c33b1130163bc39
2015-10-19 09:18:42 -07:00
Kris Maglione
84b37ed6ea Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop
--HG--
extra : commitid : kx59XtC26O
extra : rebase_source : 95f8fa8f13be16f2353ea3dcaa230a92563e6af6
2015-11-03 14:49:46 -08:00
Wes Kocher
1b36d95442 Merge fx-team to central, a=merge
--HG--
extra : commitid : HRvqk20Jqmp
2015-10-29 17:07:41 -07:00
Fabrice Desré
1021bedfa7 Bug 1208242 - Part 1: hook up the blocklist service to b2g web extensions r=mossop,ferjm
* * *
Bug 1208242 - Part 3: don't ship things that should not ship r=me
2015-10-29 07:32:50 -07:00
Wes Kocher
a47220809f Backed out 3 changesets (bug 1208242) for emulator mochitest bustage
Backed out changeset d2f87bf3aced (bug 1208242)
Backed out changeset c38225ee4378 (bug 1208242)
Backed out changeset 6dff307959f2 (bug 1208242)

--HG--
extra : commitid : 78rPKP5sInK
2015-10-29 12:17:25 -07:00
Tim Nguyen
f991aca55c Bug 1169679 - browser_inlinesettings.js: Scroll button into view before clicking on it. r= Mossop 2015-10-29 12:00:36 +01:00
Fabrice Desré
67f6fb0a63 Bug 1208242 - Part 1: hook up the blocklist service to b2g web extensions r=mossop,ferjm 2015-10-29 07:32:50 -07:00
Johann Hofmann
2225f650f8 Bug 1192432 - Support custom icons in Web Extensions. r=mossop 2015-10-14 11:03:40 +02:00
Dave Townsend
d7446578d5 Bug 1217070: Fix accessing the bootstrap methods when they are declared in the new lexical scope. r=rhelmer
Rather that trying to get the method from the sandbox global object which will
only work for var and function declared methods instead evaluate the function
name in the sandbox scope and get the result which will give us access to the
lexical scope.

--HG--
extra : commitid : 1yWu6Go3XoQ
extra : rebase_source : 447ef2f2184229693cd6a45d6d5ac9705b200847
2015-10-21 10:26:28 -07:00
Bill McCloskey
c76ae8f933 Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-11-04 10:56:15 -08:00
Bill McCloskey
de23733337 Bug 1219504 - Test changes (r=Gijs,mconley,jryans,MattN,Mossop) 2015-11-04 10:56:15 -08:00
Tooru Fujisawa
65e2703499 Bug 1217082 - Remove for-each from toolkit/. r=Gijs
--HG--
extra : commitid : Ewr7Bixammr
extra : rebase_source : 91e560a7b8b8d4b78debb1db2512867262b18375
2015-10-19 04:57:14 +09:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Alexandre Poirot
89cb263b54 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
Felipe Gomes
c56d3c0a1c Bug 1214052 - Remove unnecessary files from the pre-processing list. r=glandium 2015-10-13 23:50:30 -03:00
Neil Deakin
8ff28e901c Bug 1173330, fix to use content tasks and BrowserTestUtils, and reenable browser_bug638292.js, r=felipe 2015-10-09 08:50:13 -04:00
J. Ryan Stinnett
408cba0158 Bug 1212153 - Clean up Cu.isModuleLoaded after migration. r=bgrins 2015-10-08 15:25:23 -05:00
Dave Townsend
eaf44427bd Bug 1212059: Don't require shipped system add-ons to be signed, always require updated system add-ons to be signed. r=rhelmer
--HG--
extra : commitid : xEeCASb1R7
extra : rebase_source : 96e19ed756e4312fb25b548ca01b0284853daf67
2015-10-07 10:29:18 -07:00
Bill McCloskey
1b6da7ed71 Back out bug 967873 - Test changes for async removeTab 2015-10-07 11:15:11 -07:00
Wes Kocher
399a23b6c1 Merge inbound to m-c a=merge 2015-10-07 10:29:41 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Dave Townsend
763411093a Bug 1192928: Purge outdated system add-ons. r=rhelmer
--HG--
extra : commitid : LQ0UhTVa1Zz
extra : rebase_source : 897c85df3902fe16e2ae45960c9d65b1cfb86df0
2015-09-28 16:16:10 -07:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Carsten "Tomcat" Book
e91d5a31b6 Merge m-c to mozilla-inbound 2015-10-02 13:37:27 +02:00
Dave Townsend
e60d913b41 Bug 1193973: System add-ons that shipped with the app should be loaded in safe mode. r=rhelmer
By making the updated system add-on install location return an empty set when
in safe mode it causes us to rescan and enable the default system add-ons.

The complication is calling the uninstall method on the updated add-ons when
switching to safe mode, for that we have to cache the fact that an add-on
can run in safe mode in the bootstrappedAddons data so it persists to the
next restart and can be accessed when the updated add-on has been hidden.

--HG--
extra : commitid : 2BJfLTeXSwu
extra : rebase_source : 79d6df358d6cec2d5e4b8df265a56da049d6fd58
2015-09-24 11:23:35 -07:00
Gijs Kruitbosch
6873c42038 Bug 1205620 - fix default visibility of warning/error buttons in addon manager, r=Mossop
--HG--
extra : commitid : LyTwXIbRKjO
extra : rebase_source : 72bb4db87323efdb25363a9057123e8ad6fa94f0
2015-10-01 13:55:42 -04:00
Bill McCloskey
633d4a3ecf Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-10-01 21:18:05 -07:00
Dave Townsend
7de9418c9b Bug 1207772: Add some better sanity checks for the bootstrap function calls. r=rhelmer
Unifies the methods we have to check that bootstrap add-ons are correctly loaded
and makes it easier to make changes to them all in the future without needing to
re-sign add-ons etc.

This code allows a bootstrap script to use a shared script in a single line of
code. The shared scripts sends out all the relevant info over the observer
service, the add-ons manager test harness receives and retains the current state
for every add-on also performing sanity checks like making sure an "install"
method is always called before any "startup" method etc. It also provides simple
functions to check the state of a given add-on.

--HG--
extra : commitid : 3a3arh4wfjK
extra : source : 3d3f055ade5269d45ae3acc45c91da8390c25554
extra : amend_source : 5c47df309fda0c67d04877101ef0295ff66f651e
2015-09-15 10:45:52 -07:00
Wes Kocher
65d5424a6d Backed out changeset 3d3f055ade52 (bug 1207772) for test_system_update.js failures 2015-09-30 13:45:02 -07:00
Dave Townsend
0b2ce2f493 Bug 1207772: Add some better sanity checks for the bootstrap function calls. r=rhelmer
Unifies the methods we have to check that bootstrap add-ons are correctly loaded
and makes it easier to make changes to them all in the future without needing to
re-sign add-ons etc.

This code allows a bootstrap script to use a shared script in a single line of
code. The shared scripts sends out all the relevant info over the observer
service, the add-ons manager test harness receives and retains the current state
for every add-on also performing sanity checks like making sure an "install"
method is always called before any "startup" method etc. It also provides simple
functions to check the state of a given add-on.

--HG--
extra : commitid : 2mhI13iGMy6
extra : rebase_source : 1565c2909517c363a81b0516748c1c80a8890bdd
extra : amend_source : f8a1c8ad54d76109efbcad2ba5611cb89ab8e9a0
2015-09-15 10:45:52 -07:00
Dave Townsend
1c40f20779 Bug 1204158: Skip downloading system add-ons when we already have a copy locally. r=rhelmer
When we have a local copy of an add-on in the updated add-on set try to make a
temporary copy rather than re-downloading.

--HG--
extra : commitid : AzCd92Kt5u3
extra : rebase_source : 4a73c0129a0aa6b963c5a8de6bff8ebd9286e395
2015-09-24 14:55:27 -07:00
Dave Townsend
9edbbdb132 Bug 1204159: Switch to existing system add-ons when they match the wanted set. r=rhelmer
Checks the set that balrog gives us against the existing sets and switches
without needing to download again.

--HG--
extra : commitid : 1M0QvCVnfn6
extra : rebase_source : 5ce2c3f744128f3e9089fee036d8b63346cf8d72
2015-09-24 14:26:13 -07:00
Carsten "Tomcat" Book
363e40e298 merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Dave Townsend
c8c8abd6a0 Typo fix for bug 1192926. CLOSED TREE.
--HG--
extra : commitid : 8meufYutZTo
2015-09-25 17:38:37 -07:00
Dave Townsend
fd7f1eb306 Bug 1207287: Move the app-shipped system add-ons somewhere where they will be included in up date MARs. r=froydnj r=rhelmer
This moves the app-shipped system add-ons into <appdir>/features. I've created
a new directory provider location for this since it allows us to override the
location without allowing external apps to do so as would be the case with
prefs.

--HG--
extra : commitid : 9lzIzbjvCpK
extra : rebase_source : 1f1f319eac2142ffbe6714289e6fb4e40cfd6088
2015-09-24 16:03:01 -07:00
Dave Townsend
2ffb1e7856 Bug 1192926: Hide system add-ons from the add-ons manager. r=rhelmer
We've wanted a hidden property for add-ons for a while so we can do things like
hide "uninstalled" sideloaded add-ons so this adds the basic version of it to
hide system add-ons.

--HG--
extra : commitid : 7il8eoXSVnu
extra : rebase_source : fec52514f15c1e74532012c0465bd5902eb179a9
2015-09-24 11:36:40 -07:00
Dave Townsend
7c204151f3 Bug 1192924: Check for updated system add-ons and download and install them. r=rhelmer
This performs the update check for system add-ons. It runs as part of the daily
add-on update checks similar to hotfix checks. Currently no URL is set so builds
won't actually start checking yet.

I've taken a few shortcuts here by only staging updates and needing a restart to
install as well as always downloading updates rather than using existing local
copies. At least the latter probably needs fixing before turning this on but
it makes more sense to iterate on those in tree.

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi
extra : commitid : Ex9NNNduxhK
extra : rebase_source : 99088404019f53a8a76105c66edce404f2c7e454
2015-09-10 10:57:39 -07:00
Dave Townsend
77f3ee0b44 Bug 1192924: Split out add-on update.xml parsing code from GMP modules. r=spohl
The system add-on update checks will use the same update.xml format as GMP so
this splits out the code for parsing and downloading files into a standalone
module that both can reuse.

--HG--
extra : commitid : I89HsxRnP9T
extra : rebase_source : 1b38a03e202f73ba214604e083745e8c6b5984b5
2015-09-08 15:00:28 -07: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
Dave Townsend
b044e13005 Bug 1206897: Don't attempt to cancel installs that are already cancelled. r=dveditz
--HG--
extra : commitid : CXVaLUHUlIp
extra : rebase_source : ebecb46860e5b31c38b25435f1d86bab10cb29c9
2015-09-21 15:10:52 -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
d039cf8d34 Bug 1192924: Check for updated system add-ons and download and install them. r=rhelmer
This performs the update check for system add-ons. It runs as part of the daily
add-on update checks similar to hotfix checks. Currently no URL is set so builds
won't actually start checking yet.

I've taken a few shortcuts here by only staging updates and needing a restart to
install as well as always downloading updates rather than using existing local
copies. At least the latter probably needs fixing before turning this on but
it makes more sense to iterate on those in tree.

--HG--
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app3/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_1_badcert.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system1@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system1_2.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app1/features/system2@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system2_1.xpi
rename : toolkit/mozapps/extensions/test/xpcshell/data/system_addons/app2/features/system3@tests.mozilla.org.xpi => toolkit/mozapps/extensions/test/xpcshell/data/system_addons/system3_1.xpi
extra : commitid : CuRP3svf6aO
extra : rebase_source : 0a67da41a0a7b27ecb042875ebf13b7b69ec5c84
extra : histedit_source : e96ecd9a4a56e503b4df0e2a0ecd1ac82a716a66
2015-09-10 10:57:39 -07:00
Dave Townsend
b3e382b93e Bug 1192924: Split out add-on update.xml parsing code from GMP modules. r=spohl
The system add-on update checks will use the same update.xml format as GMP so
this splits out the code for parsing and downloading files into a standalone
module that both can reuse.

--HG--
extra : commitid : 31m1WDO3PCP
extra : rebase_source : f018d36b94460942b217e9a6bb4ec146309f9a55
extra : histedit_source : 15e2e92984ee8747b59d0278dab12f6872a17223
2015-09-08 15:00:28 -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
Carsten "Tomcat" Book
651a168616 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : toolkit/devtools/server/actors/styleeditor.js => devtools/server/actors/styleeditor.js
rename : toolkit/devtools/server/actors/stylesheets.js => devtools/server/actors/stylesheets.js
rename : toolkit/devtools/gcli/commands/screenshot.js => devtools/shared/gcli/commands/screenshot.js
2015-09-22 12:35:13 +02:00
Dave Townsend
0c4a303cc4 Bug 1203787: When the add-on ID is longer than 64 characters compare the signing certificate's common name to the sha256 hash of the ID. r=dveditz
--HG--
extra : commitid : 9PDEui0e5MG
extra : rebase_source : 9742784d707212cc8424a61571f9fe433333147d
2015-09-18 10:17:54 -07:00
J. Ryan Stinnett
efe328f1b2 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05: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
Tooru Fujisawa
7ff6b0aae3 Bug 1207497 - Part 1: Remove use of expression closure from toolkit/, exept tests. r=Gijs
--HG--
extra : commitid : 7TOGiSg7KEL
extra : rebase_source : e6c1672e9b7e9d18aa4a430051789b5962c0ec14
2015-09-24 21:20:04 +09:00
Chris Pearce
7cbbd23be8 Bug 1205178 - Make GMPProvider check that GMPs are the right arch before loading. r=spohl 2015-09-17 13:28:48 +12:00
Wes Kocher
3eef2f434b Merge m-c to inbound, a=merge 2015-09-15 17:20:16 -07:00
Dave Townsend
ef437b5ed0 Bug 1192925: Test that system add-ons are marked as un-uninstallable and un-upgradable. r=rhelmer
--HG--
extra : commitid : GCPMXAg0BHU
extra : rebase_source : a604758512d1449c506eefd5b07930df040b086e
2015-09-11 10:51:06 -07:00
Carsten "Tomcat" Book
6944c5ba30 merge mozilla-inbound to mozilla-central a=merge 2015-09-15 15:05:24 +02:00
Dave Townsend
1e68ce6af7 Bug 1204012: Lightweight themes are disabled if any add-ons are detected or modified during startup. r=rhelmer
When a lightweight theme is active the default theme is the selected skin but
the default theme's addon object is marked as inactive (to deal with the horror
of only allowing the user to select a single theme through the UI).

During startup we should only switch back to the default theme if there is a
non-default skin selected that we didn't see.

--HG--
extra : commitid : 8v5gChgFbgw
extra : rebase_source : 277807f800c98336c624718dc09b8ed44a25f201
2015-09-11 10:38:35 -07:00
Trevor Rowbotham
ca30a91dd6 Bug 1180901 - Test that an extension can be installed when a locked file exists in the extensions trash directory as long as the extension being installed does not touch the locked file. r=mossop 2015-09-09 13:44:00 +02:00
Christoph Kerschbaumer
60ffe96bea Bug 1195162 - Move mozapps/plugins into pluginproblem (r=sicking,bsmedberg)
--HG--
rename : toolkit/locales/en-US/chrome/mozapps/plugins/plugins.dtd => toolkit/locales/en-US/chrome/pluginproblem/pluginproblem.dtd
rename : toolkit/mozapps/plugins/content/pluginFinderBinding.css => toolkit/pluginproblem/content/pluginFinderBinding.css
rename : toolkit/mozapps/plugins/content/pluginProblem.xml => toolkit/pluginproblem/content/pluginProblem.xml
rename : toolkit/mozapps/plugins/content/pluginProblemBinding.css => toolkit/pluginproblem/content/pluginProblemBinding.css
rename : toolkit/mozapps/plugins/content/pluginProblemContent.css => toolkit/pluginproblem/content/pluginProblemContent.css
rename : toolkit/mozapps/plugins/jar.mn => toolkit/pluginproblem/jar.mn
rename : toolkit/mozapps/plugins/moz.build => toolkit/pluginproblem/moz.build
rename : toolkit/mozapps/plugins/pluginGlue.manifest => toolkit/pluginproblem/pluginGlue.manifest
2015-09-14 19:08:06 -07:00
Carsten "Tomcat" Book
c040626933 Merge mozilla-central to fx-team 2015-09-09 14:10:46 +02:00
Dave Townsend
2e931bb682 Bug 1192930 - Require a special certificate for system add-ons. r=rhelmer
Makes sure that add-on objects always have the _installLocation property for
the location they will be installed into so that isUsableAddon can test for the
right signature.

--HG--
extra : transplant_source : %9C%C1%AC%13%82%F2%94%18%9F%BC%CD%0C%FC%F65B%0DY%86%3F
2015-08-26 16:14:00 -07:00
Dave Townsend
716637f211 Bug 1192921: Add an install location for system add-ons. r=rhelmer
This adds two new directory install locations. One contains the default system
add-ons that ship with the application, the other contains system add-on that
will eventually be updatable at runtime.

The updatable location tracks the expected list of add-ons in a pref. and only
returns add-ons from that list when asked for its list of add-ons.

After processFileChanges has scanned all add-ons and updated the database it
checks if the updated system add-ons match the expected set. If not we ignore
those add-ons when working out which add-ons should be visible. If they do match
then we ignore the app-shipped system add-ons when working out which are
visible.

--HG--
extra : commitid : LYCHZGSoGwj
extra : rebase_source : c9bc96b36d23ba9b4374adead9b59059ccb02f39
2015-09-04 12:00:47 -07:00
Dave Townsend
3da1ade4bd Bug 1192921: Split DirectoryInstallLocation into an immutable and mutable version. r=rhelmer
Most directory install locations are immutable at runtime. Only the profile
location can be installed into and uninstalled from. The system add-on locations
will be immutable as well but also be extended with some extra functionality so
it is useful to split the immutable parts out into a shared class that both
the mutable location and eventually system add-on locations can inherit from.

--HG--
extra : commitid : 4JAbEmPbxAc
extra : rebase_source : 136e4143a24f09dc88f4db1b5dc450568e40799a
2015-08-25 16:01:55 -07:00
Dave Townsend
4369ebf0fc Bug 1192921: Remove most assumptions that add-on IDs match filenames. r=rhelmer
Normal directory install locations expect add-ons to exist on disk with the
naming convention "<id>.xpi". Originally system add-ons were going to do
something different so I started working on this. In the end it is unnecessary
but this work did reveal some cases where _sourceBundle wasn't being updated
for add-ons and removing most of these assumptions is still valuable.

--HG--
extra : commitid : 81LpRFeugL5
extra : rebase_source : 8b532ee58e57194889fffd8d9558718e1b551bac
2015-08-25 15:18:43 -07:00
Dave Townsend
688ebef0fa Bug 1192921: Refactor add-on manager startup loop to better support validating install locations after scanning. r=rhelmer
The add-ons manager recognises the notion of "install locations". Each location
can contain add-ons that are installed in the application. There are two main
types, directory locations which exist as a directory somewhere in the
filesystem and registry locations which exist in the Windows registry. The
profile location is the one where add-ons installed through the UI exist, the
other locations are for add-ons that are bundled with the application,
installed by the OS or by third-party applications.

Install locations have priorities. The profile location has the highest priority
then the others gradually lower priorities. When an add-on exists in more than
one install location the version in the highest priority location is the one
that is visible and can be active in the application. We still retain details
about the other versions in the database.

On every startup the add-ons manager scans over these install locations to see
if the set of installed add-ons has changed at all. A very quick check is done
to see if the more thorough check in processFileChanges (which synchronously
loads the add-ons database and install manifests for the add-ons) is needed.

The job of processFileChanges is to load information about all the add-ons and
update the add-ons database to match. It has to decide which add-ons to make
visible, track what changes were made to the visible set of add-ons and call
restartless add-ons install and uninstall scripts.

The original version of processFileChanges attempted to optimise this by doing
all of the work in a single loop over the add-ons in the locations. This mostly
worked but made certain situations difficult to handle (see bug 607818 f.e.).
There isn't much need for this level of optimisation. We're already in a slow
pass and once all the data is loaded off the disk looping over it is fast.

This changeset moves processFileChanges into the XPIProviderUtils file which is
lazy loaded when necessary. While most of the code is the same it instead does
one loop to update the database and gather information, then a second loop to
update add-on visibility, record changes and call bootstrap scripts.

--HG--
extra : commitid : CRFjjhiI4Pi
extra : rebase_source : 85091024e331dce72b9d704ca7a962a30d4b8407
2015-08-21 16:49:56 -07:00
Dave Townsend
8ee5dc830f Bug 1192921: Load XPIProviderUtils in a sandbox to simulate the way it is loaded in B2G. r=rhelmer
--HG--
extra : commitid : 2CPLf6mNPsk
extra : rebase_source : 0fd7e2846740b1fa3edcaf08564780e9063382f1
2015-09-04 12:22:24 -07:00
Dave Townsend
0cf2a7c5c2 Bug 1194784: Sideloaded add-ons without full signing don't display an appropriate warning in the add-ons manager. r=dao
--HG--
extra : commitid : 10VQvgDJsbv
extra : rebase_source : 9a2ea211db29e335a37ddf824bd18776d62cbeca
2015-09-03 12:39:29 -07:00
Phil Ringnalda
48457bc69c Backed out 4 changesets (bug 1192921) for b2g desktop Gu hangs
Backed out changeset 1bfa2dead61f (bug 1192921)
Backed out changeset f310cab1dd4e (bug 1192921)
Backed out changeset c3009691dfe6 (bug 1192921)
Backed out changeset d8233b994741 (bug 1192921)
2015-09-03 20:53:50 -07:00
Dave Townsend
a486e9c783 Bug 1192921: Add an install location for system add-ons. r=rhelmer
This adds two new directory install locations. One contains the default system
add-ons that ship with the application, the other contains system add-on that
will eventually be updatable at runtime.

The updatable location tracks the expected list of add-ons in a pref. and only
returns add-ons from that list when asked for its list of add-ons.

After processFileChanges has scanned all add-ons and updated the database it
checks if the updated system add-ons match the expected set. If not we ignore
those add-ons when working out which add-ons should be visible. If they do match
then we ignore the app-shipped system add-ons when working out which are
visible.

--HG--
extra : commitid : H1px7lWsLNj
extra : rebase_source : 6b70fd6c88608169e2974e19acd37bf63243c1cd
2015-08-10 15:47:28 -07:00
Dave Townsend
72d129f6ff Bug 1192921: Split DirectoryInstallLocation into an immutable and mutable version. r=rhelmer
Most directory install locations are immutable at runtime. Only the profile
location can be installed into and uninstalled from. The system add-on locations
will be immutable as well but also be extended with some extra functionality so
it is useful to split the immutable parts out into a shared class that both
the mutable location and eventually system add-on locations can inherit from.

--HG--
extra : commitid : 93JIjq8Dq7f
extra : rebase_source : b7bb657f11a6313a00589790787ad91a26543e36
2015-08-25 16:01:55 -07:00
Dave Townsend
00a22e8793 Bug 1192921: Remove most assumptions that add-on IDs match filenames. r=rhelmer
Normal directory install locations expect add-ons to exist on disk with the
naming convention "<id>.xpi". Originally system add-ons were going to do
something different so I started working on this. In the end it is unnecessary
but this work did reveal some cases where _sourceBundle wasn't being updated
for add-ons and removing most of these assumptions is still valuable.

--HG--
extra : commitid : G0Rr1VMDtWB
extra : rebase_source : 426b21cd9faace5371de939170c12e1b96284386
2015-08-25 15:18:43 -07:00
Dave Townsend
53b799a110 Bug 1192921: Refactor add-on manager startup loop to better support validating install locations after scanning. r=rhelmer
The add-ons manager recognises the notion of "install locations". Each location
can contain add-ons that are installed in the application. There are two main
types, directory locations which exist as a directory somewhere in the
filesystem and registry locations which exist in the Windows registry. The
profile location is the one where add-ons installed through the UI exist, the
other locations are for add-ons that are bundled with the application,
installed by the OS or by third-party applications.

Install locations have priorities. The profile location has the highest priority
then the others gradually lower priorities. When an add-on exists in more than
one install location the version in the highest priority location is the one
that is visible and can be active in the application. We still retain details
about the other versions in the database.

On every startup the add-ons manager scans over these install locations to see
if the set of installed add-ons has changed at all. A very quick check is done
to see if the more thorough check in processFileChanges (which synchronously
loads the add-ons database and install manifests for the add-ons) is needed.

The job of processFileChanges is to load information about all the add-ons and
update the add-ons database to match. It has to decide which add-ons to make
visible, track what changes were made to the visible set of add-ons and call
restartless add-ons install and uninstall scripts.

The original version of processFileChanges attempted to optimise this by doing
all of the work in a single loop over the add-ons in the locations. This mostly
worked but made certain situations difficult to handle (see bug 607818 f.e.).
There isn't much need for this level of optimisation. We're already in a slow
pass and once all the data is loaded off the disk looping over it is fast.

This changeset moves processFileChanges into the XPIProviderUtils file which is
lazy loaded when necessary. While most of the code is the same it instead does
one loop to update the database and gather information, then a second loop to
update add-on visibility, record changes and call bootstrap scripts.

--HG--
extra : commitid : FAyc1y0WszT
extra : rebase_source : 308a674ec0e3f81ee3e0533b7014c37477860d67
2015-08-21 16:49:56 -07:00
Dave Townsend
d78b5ae798 Bug 1200027: Fix installing add-ons from the AMO discovery pane in the add-ons manager. r=dveditz
--HG--
extra : commitid : 94OiH0KUpNn
extra : rebase_source : 5d51f94c1627b19bdc438fe05e5475bd3525070d
extra : amend_source : 203756cbbab7f0f7dbda20ec003292081d96bb51
2015-08-31 11:23:39 -07:00
Wes Kocher
19ac958e5f Merge m-c to inbound, a=merge CLOSED TREE
--HG--
extra : amend_source : 2ee129b9eca3c22c2a3bbba9e514059826ae3aa7
2015-09-08 17:06:42 -07:00
Dragana Damjanovic dd.mozilla@gmail.com
94779891d5 Bug 1202421 - Rename the network.auth.allow-subresource-auth pref. r=michal 2015-09-08 08:21:19 -07:00
Philipp Kewisch
d914394488 Bug 1197617 - Fix addon signing tests to work when addon signing is disabled. r=Mossop 2015-09-01 12:48:12 +02:00
Mike Kaply
7ddcba10e2 Bug 608972 - Make sure there is a theme author before using it. r=Mossop 2015-08-31 07:42:04 -05: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
Ryan VanderMeulen
6e18bb2fc7 Backed out changeset 292d13beeb7b (bug 1186522) for Gaia unit test bustage. 2015-08-28 21:43:37 -04:00
Jordan Lund
87407424dc Bug 1186522 - force per checkin builds to require signed add-ons on beta 42, r=mshal 2015-08-28 13:41:26 -07:00
Steffen Wilberg
973b3edf3e Bug 1195060 - In the Add-ons manager, make Ctrl+f focus the search box again instead of invoking the findbar first. r=mossop
--HG--
extra : commitid : JAE1UX4icQ9
extra : rebase_source : 33750e091ca082b06767bcbf7796dfd863cb9ec2
2015-08-24 17:11:17 +02: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
Jonathan Griffin
cf56e85136 Bug 1136892 - Create a browser-chrome-addons tag for running addon-specific browser-chrome tests, r=chmanchester
--HG--
extra : commitid : HKQaOeqUMj1
2015-08-25 09:38:39 -07:00
Dave Townsend
cbedcf3b95 Bug 1042699: Block cross-origin add-on install requests. r=dveditz
--HG--
extra : commitid : FdVvNum7B1w
extra : rebase_source : db8d8aff572798f35b80e20feb6aaaa9094cf79c
extra : amend_source : 14e54c9a677784e9f520a454ee579208f8385384
2015-08-18 17:21:05 -07:00
Dave Townsend
3367215de0 Bug 1193926: Only register chrome for add-ons that need it. r=bsmedberg
--HG--
extra : commitid : KRQXLPhcfl
extra : rebase_source : 9fac383d4624e8dbd670bbd3e70caaa346c84bf9
extra : amend_source : fd31d377fbbf8ef63a99bc0ef041a27237040f67
2015-08-24 09:36:57 -07:00
Ryan VanderMeulen
5b75ad5195 Merge inbound to m-c. a=merge 2015-08-23 17:18:36 -04:00
Philipp Kewisch
3e3165e7ab Bug 1167986 - TEST-UNEXPECTED-FAIL | xpcshell-unpack.ini:toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js (and signing failures) - missing review comments 2015-08-23 12:04:40 +02:00
Philipp Kewisch
757af5060a Bug 1167986 - TEST-UNEXPECTED-FAIL | xpcshell-unpack.ini:toolkit/mozapps/extensions/test/xpcshell/test_signed_install.js (and signing failures). r=gps 2015-08-23 11:54:44 +02:00
Robert Helmer
5ea52a4f9e Bug 1196301 - Prefer install.rdf over manifest.json. r=Mossop
--HG--
extra : rebase_source : 94b750298f57446210d8aa55337058e17b76de28
2015-08-21 12:30:27 -04:00
Dave Townsend
49bcda6379 Bug 1195034: Only show messages about add-ons being disabled if signing requirements are on. r=dao
--HG--
extra : commitid : 6pPdIgKpCMq
extra : rebase_source : 7e06b5459adab1e8932ee86c7b3b4fd71c5074eb
2015-08-20 14:25:22 -07:00
Trevor Rowbotham
ec8d23fdb0 Bug 1180901 - Catch the error when trying to remove the trash directory when it contains a file that is locked r=mossop
--HG--
extra : amend_source : feb4bcc17812d4dc2fae99895ff4f6bb6a94ab9f
2015-08-20 13:46:48 -07:00
Trevor Rowbotham
4076f4a2c1 Bug 1180901 - Test that a locked file cannot be removed from the extensions trash directory on Windows r=mossop
--HG--
extra : amend_source : 2ec19a524037838b7ac9d4d5cb1c053f0728f891
2015-08-20 13:46:29 -07:00
Jonathan Griffin
369ec3ac0f Bug 1136892 - Create an xpcshell-addons tag for running addon-specific xpcshell tests, r=chmanchester
--HG--
extra : commitid : 6kGKslC9h14
2015-08-18 11:26:14 -07:00
Phil Ringnalda
2ef98b0156 Merge f-t to m-c, a=merge 2015-08-09 15:45:11 -07:00
Bill McCloskey
2e258a5151 Bug 1189555 - Support moz-extension URIs in addon path service (r=bholley,Mossop) 2015-08-08 18:15:22 -07:00
Dave Townsend
54e20971ab Bug 1190692: Load web extensions. r=billm
Also corrects a race condition where if an extension was disabled before it
had finished loading its manifest it would have called GlobalManager.init but
never call GlobalManager.uninit.

--HG--
rename : browser/components/extensions/bootstrap.js => toolkit/mozapps/extensions/internal/WebExtensionBootstrap.js
extra : commitid : 6Wzwp09S1AO
extra : rebase_source : 4592c790250a6ef5af6979800edf0b609ef0c027
2015-08-07 15:53:46 -07:00
Dave Townsend
f295d1209c Bug 1190692: Parse manifest.json files into AddonInternal instances. r=billm
--HG--
extra : commitid : FGNJ50xTcij
extra : rebase_source : a7d880014ea69d05fcd1a487b8b8fa2a0143ba61
extra : source : 4b463aa3b737a85ccc5912911c1e44c1401f559b
2015-08-07 14:40:08 -07:00
Dave Townsend
37ce6d7d7e Bug 1190692: Split out manifest parsing code to support web extension manifests. r=billm
--HG--
extra : commitid : LTCnnA7ZpDd
extra : rebase_source : 7c5bcf2743200bdb9bfe292c0efa47028b8e3932
2015-08-07 13:15:11 -07:00
Dave Townsend
1f9dc59306 Bug 1009332: Present certain internal add-on types as other types through the API. r=billm
--HG--
extra : commitid : 1170OHLVt7e
extra : rebase_source : 40d90eb5a1b557563d16aae3650801b5e4f4afeb
2015-08-07 13:13:59 -07:00
Christoph Kerschbaumer
e42fb810bc Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking) 2015-08-06 11:11:32 -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
253e851464 Bug 1180273 - Adding missing 'this' pointer when forwarding newChannel2 calls (r=gijs,sicking) 2015-08-05 12:55:14 -07:00
Dave Townsend
d4b06c30df Bug 1190966: Ensure that the signature verification scan disables existing add-ons if the pref has been flipped in the meantime. r=rhelmer
--HG--
extra : commitid : HvRj45sZJ5t
extra : rebase_source : 684fe586d3d8121bc7085aee51176cbc51c0bb8d
2015-08-04 14:05:20 -07:00
Bill McCloskey
b1a00d7c72 Bug 1175770 - New extension API (r=Mossop) 2015-08-03 10:41:24 -07:00
Carsten "Tomcat" Book
03d48d1951 Backed out changeset 4e3821b236f9 (bug 1175770) 2015-08-03 09:37:54 +02:00
Bill McCloskey
14e7d8ca0a Bug 1175770 - New extension API (r=Mossop) 2015-08-02 17:29:55 -07:00
Qiang Lu
b3eee8c12c Bug 1178069 - Check devices capability before enable use of vp8 hardware acceleration using android.media.MediaCodecList and android.media.MediaCodecInfo r=jrmuizel
--HG--
extra : amend_source : f7d209e2dd0bdb9a67c563b5bd2d51da4af56ba8
extra : histedit_source : d8226f7240c5d19d9d2f08f9fc07a83e158505a2%2Cde0d48144261c643fcb23c0f7756906aeded1708
2015-07-24 12:45:55 -07:00
Dave Townsend
cd73adcffe Fix the xpcshell test failures by touching the root xpcshell.ini manifest. See bug 994255
--HG--
extra : commitid : CyIA2qGNtlT
2015-07-24 11:00:04 -07:00
Dave Townsend
af1f77964b Bug 1177130: Multipackage XPIs with no valid XPIs should appear as failed downloads. r=rhelmer
--HG--
extra : commitid : B5d0Ho7Jhrb
extra : rebase_source : ff0e0428eb44444673e6d2c72bcae5bc125f309b
2015-06-24 13:18:27 -07:00
Christoph Kerschbaumer
9f1e9e2eaa Bug 1048048 - add preload content policy types for images (r=seth)
--HG--
extra : source : 88c2333ff7455b6988eb8d6ccc5e92b414a7ccf8
2015-09-20 14:55:59 -07:00
Wes Kocher
cd079d2bf9 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
19dc79ddbb Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Milan Sreckovic
9a2da7a4da Bug 1163038 - More tests to pass by running instead of catching an exception. r=kats
--HG--
extra : rebase_source : 2c561c39037c4ba75b6931ba14553d2f5ebb537a
2015-07-21 11:42:25 -04:00
Michael Layzell
d0d68ff95d Bug 1165263 - Part 5: Update PermissionsUtils.importPrefBranch to use origins instead of hosts, r=ehsan 2015-07-16 14:49:59 -04:00
Wes Kocher
ff2f0d32cf Backed out 24 changesets (bug 1173523, bug 1172080, bug 817007, bug 1165263) for android reftest bustage CLOSED TREE
Backed out changeset 84fe04b2e7d1 (bug 1172080)
Backed out changeset 0ff004760a1f (bug 1172080)
Backed out changeset af147585ad55 (bug 1165263)
Backed out changeset c3af8ebb6db0 (bug 1165263)
Backed out changeset cd3f33a888fe (bug 1165263)
Backed out changeset e5db39044a1e (bug 1165263)
Backed out changeset c01c9ed77061 (bug 1165263)
Backed out changeset fb723aaa4267 (bug 1165263)
Backed out changeset f754e52e74dc (bug 1165263)
Backed out changeset c6bda3a0afd6 (bug 817007)
Backed out changeset bfa100253349 (bug 817007)
Backed out changeset b787b3f9aadc (bug 1173523)
Backed out changeset 4a0676b73f77 (bug 1173523)
Backed out changeset 82034a4560c5 (bug 1173523)
Backed out changeset 4bdb91114c7a (bug 1173523)
Backed out changeset 72406261eccc (bug 1173523)
Backed out changeset 541b6faf7196 (bug 1173523)
Backed out changeset 1caac4569616 (bug 1173523)
Backed out changeset 0d4f9f9e1b4e (bug 1173523)
Backed out changeset 2d5661eb966c (bug 1173523)
Backed out changeset 89833c0bb0cd (bug 1173523)
Backed out changeset ea64d70eacfe (bug 1173523)
Backed out changeset a8e4f1c0c445 (bug 1173523)
Backed out changeset cf498d466b85 (bug 1173523)
2015-07-14 14:00:32 -07:00
Michael Layzell
cafed798d4 Bug 1165263 - Part 5: Update PermissionsUtils.importPrefBranch to use origins instead of hosts, r=ehsan 2015-07-14 15:06:38 -04:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Simon Lindholm
84c5c7098f Bug 1181540 - Hide "Learn More..." link for <setting type="boolint">. r=dolske
--HG--
extra : commitid : KwfFA0I3ytP
extra : rebase_source : 01285d1c335ed9b098f80df161b09731fc94edff
2015-07-08 05:31:00 -04:00
Bill McCloskey
faa7457301 Bug 1171173 - Pass multiprocessCompatible flag to bootstrapped add-ons correctly (r=felipe) 2015-07-07 17:24:40 -07:00
Ryan VanderMeulen
de7e734bc6 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-07 13:38:10 -04:00
ISHIKAWA, Chiaki
b5f289fb51 Bug 1178041 - fix incorrect use of built-in |arguments| function as an argument name. r=mak 2015-07-06 09:38:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Michael Layzell
6265522c59 Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 17:12:27 -04:00
Ehsan Akhgari
4484832cb5 Backout bug 1170200 because of test failures on a CLOSED TREE 2015-07-03 16:43:47 -04:00
Michael Layzell
39a5778c7e Bug 1170200 - Part 2: Update JavaScript consumers of nsIPermissionManager::Remove; r=ehsan 2015-07-03 14:18:23 -04:00
Bill McCloskey
13c047f238 Bug 1177013 - Add-on install test changes (r=mrbkap) 2015-07-06 19:58:43 -07:00
Phil Ringnalda
166cfe8460 Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
CLOSED TREE

Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Gerald Squelart
e91c23479e Bug 1174565 - [EME] Report telemetry about which GMP files are missing - r=cpearce,spohl
* * *
Bug 1174565 - [EME] Updated xpcshell test - r=cpearce,spohl
2015-07-02 10:12:49 +10:00
Bill McCloskey
6bd8a55e7f Bug 1177013 - Add-on install test changes (r=mrbkap) 2015-07-02 17:18:09 -07:00
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Carsten "Tomcat" Book
87e3154dff merge mozilla-inbound to mozilla-central a=merge 2015-06-22 14:03:17 +02:00
Dave Townsend
11c05929fd Bug 1161183: Follow-up fix that was missed in the review comments. r=dao, a=kwierso
--HG--
extra : commitid : ImYKytg8Tg6
extra : rebase_source : 2d5c6bcdd4fab37c38ee055a0adcc500e6d8c7a9
2015-06-19 12:08:46 -07:00
Ryan VanderMeulen
bfad686249 Merge m-c to inbound. a=merge
CLOSED TREE
2015-06-17 12:10:37 -04:00
Jeff Walden
26babfb430 Bug 1146136 - Fix another test that parenthesizes destructuring pattern assignment targets, that snuck in in the last week, as ES6 forbids such parenthesization. r=bustage, a=bustage
--HG--
extra : rebase_source : b31cfa5966a6f1b60bf2a8eda67e27edf7cddc10
2015-06-19 18:30:44 -07:00
Jeff Walden
a91d171b6e Bug 1146136 - Fix another test that parenthesizes destructuring pattern assignment targets, that snuck in in the last week, as ES6 forbids such parenthesization. r=bustage, a=bustage
--HG--
extra : rebase_source : 0c85e71ff12dad567bee4e64ddb147d6eb1399d4
2015-06-19 18:00:02 -07:00
Dave Townsend
20a7d6dbec Bug 1161183: Don't show the add-on version in the list view. r=dao
--HG--
extra : commitid : F75YrYAzaoX
extra : rebase_source : ea7952263eda1e0623113c637617002114f6a666
2015-06-08 10:30:35 -07:00
Phil Ringnalda
fca7cc1fcd Merge m-i to m-c, a=merge 2015-06-13 19:49:13 -07:00
Ryan VanderMeulen
15f3c165c5 Merge m-c to fx-team. a=merge 2015-06-12 15:00:54 -04:00
Dave Townsend
6d2cc20764 Bug 1172028: Sideloaded add-ons without full signing shouldn't ever be loaded. r=dveditz
--HG--
extra : commitid : F3febINTh2u
extra : rebase_source : c31e1ae284fb8b3bb4ba188ea0a83cd4930b03f3
extra : amend_source : 42a884ddef8d8765dfb093c684fca5dc1ce62b8d
extra : source : f3760acfed2ac7f66c0170948e5c91561bfda44a
2015-06-05 11:46:11 -07:00
Randall Barker
1fc136e380 Bug 1163664 - Don't check for plugin blocklist state on Android. r=jimm, r=jchen 2015-06-01 17:05:00 -04:00
Kan-Ru Chen
da20ce4ae2 Bug 1170981 - Load the storage service before NSS. r=mak 2015-06-12 21:26:43 +08:00
Ryan VanderMeulen
e5789bfad8 Bug 986458 - Re-enable browser_whitelist7.js on all platforms since the leaks appear to have gone away.
--HG--
extra : histedit_source : 97c8c1bc27f9c3f6648e13b81484817a8d1820d7
2015-06-10 22:06:26 -04:00
Carsten "Tomcat" Book
fb6be5d957 Backed out changeset f3760acfed2a (bug 1172028) for causing xperf regression
--HG--
extra : rebase_source : 81a92eaeacf909703c9944554bc8c54446a1af9e
2015-06-10 13:44:00 +02:00
Dave Townsend
b50a7602c6 Bug 1172708: Don't show the compatibility UI for add-ons that are already compatible.
--HG--
extra : commitid : 2CEYshL981Y
extra : rebase_source : fe78ca0b8015626dbb72943d46a43a689c63042d
2015-06-08 17:11:48 -07:00
Dave Townsend
936ce348c8 Bug 1172028: Sideloaded add-ons without full signing shouldn't ever be loaded. r=dveditz
--HG--
extra : commitid : 58eDMD7nkod
extra : rebase_source : f10644cd193e5fe0f69ca31b157eff400b320f67
2015-06-05 11:46:11 -07:00
Boris Zbarsky
bdea574c3c Bug 1174954 part 1. Stop throwing DOMErrors from JS-implemented webidl, since we can now throw content-side Errors instead. r=bholley 2015-06-16 16:44:10 -04:00
Dave Townsend
6693a19d53 Bug 1170162: Use a support page for signing warnings intended for users. r=dao
--HG--
extra : commitid : L3inMC9RBcT
extra : rebase_source : 15d39486b95eee5086eef8ad9060a45fe86a5814
2015-06-08 09:17:15 -07:00
Edwin Flores
5246b9c834 Bug 1163764 - Add telemetry to determine whether users have disabled EME - r=cpearce 2015-06-05 13:57:03 +12:00
Chris Pearce
3680ae4020 Bug 1173144 - Ensure Adobe EME plugin voucher is present before adding GMP dir to GMPService. r=dolske 2015-06-12 20:26:06 -07:00
Phil Ringnalda
12473e14a7 Back out 62da079a46b1 (bug 1173144) for test_gmpProvider.js bustage
CLOSED TREE
2015-06-12 20:03:11 -07:00
Chris Pearce
073b676841 Bug 1173144 - Ensure Adobe EME plugin voucher is present before adding GMP dir to GMPService. r=dolske 2015-06-12 17:28:34 -07:00
Benjamin Smedberg
1f89a17f3a Bug 1163049, alternate patch - make .syncGUID a lazy getter to avoid initializing NSS during the startup sequence, r=rnewman 2015-05-22 12:36:26 -04:00
Phil Ringnalda
1502da464c No bug, fix merge bustage in GMPProvider.jsm, a=me 2015-05-23 17:09:45 -07:00
Phil Ringnalda
d98af6849d Merge f-t to m-c, a=merge
--HG--
rename : browser/devtools/performance/modules/io.js => browser/devtools/performance/modules/logic/io.js
2015-05-23 14:28:07 -07:00
Ryan VanderMeulen
8556f54b04 Merge m-c to fx-team. a=merge 2015-05-22 14:21:30 -04:00
Milan Sreckovic
4faad2a7ed Bug 1163038 - Make sure the gfx blocklist tests pass by doing testing. r=me
Original code from Ehsan.

--HG--
extra : rebase_source : 230f465e36384b3f5810b8358db35cbf764fd800
2015-05-15 13:06:23 -04:00
Milan Sreckovic
df043549d1 Bug 1164036 - Add an xpcshell test for graphics blocklist versioning. r=kats
--HG--
extra : rebase_source : 3293ab834e4ed93b288fd7aeb0192c45e9206d22
2015-05-15 12:55:53 -04:00
Dave Townsend
c2f2c25d59 Bug 1164168: Add a build time flag to control add-on signature checks. r=dveditz, r=gps
--HG--
extra : rebase_source : 5027a26a01d7f79067ea38e61496d8c878922097
extra : amend_source : fb3d327f5552d8cf63eb23cd06517f6cca7f42d2
2015-05-12 14:03:59 -07:00
Benjamin Smedberg
4a61494750 Bug 1167204 - Typo in a codepath which isn't Windows/Mac/Linux with GConf, r=gfritzsche
--HG--
extra : rebase_source : b9cee72bf2f7518ff14d43555fe9258ae0afb7d5
2015-05-21 12:27:46 -04:00
Chris Pearce
1660053cf2 Bug 1156566 - Polyfill Array.includes() in test_gmpProvider.js, so that test passes when it uplifts out of Nightly. r=preemptive-bustage-fix 2015-05-21 14:00:57 +12:00
James Willcox
a1024c6502 Bug 1167197 - Fix GMPProvider on Android r=cpearce 2015-05-22 11:58:48 -05:00
Christoph Kerschbaumer
6b24d4a573 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update newChannel2 (r=sicking,paolo) 2015-05-21 19:52:03 -07:00
Christoph Kerschbaumer
3a846e95d6 Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update asyncFetch2 (r=sicking,paolo) 2015-05-21 19:51:40 -07:00
Mike Kaply
871ae67f8f Bug 899088 - Log certificate error when add-on update fails due to cert problems, r=Mossop
--HG--
extra : rebase_source : 825ee002e3d74c86d08f8b434e01195902a965d7
extra : amend_source : 55f88cb608989d88f1d17a762bb07e6780e3efd9
2015-05-22 10:17:46 -05:00
Dave Townsend
d7a6584df7 Bug 1164006: Reduce recursion from calls to AddonManager.getAddonsByIDs. r=paolo
--HG--
extra : rebase_source : d52f5ab27e5931e2822ea2a17d9cf2e5cda345ef
2015-05-12 12:39:52 -07:00
Carsten "Tomcat" Book
10055fbabd merge mozilla-inbound to mozilla-central on a CLOSED TREE a=merge
--HG--
extra : amend_source : 5eed4d9cbde44ac4e53210d61ece005a83908ad7
2015-05-15 17:39:23 +02:00
Brian Grinstead
547df33bde Bug 1164178 - Use an empty value by default for lightweightThemes.selectedThemeID;r=dao 2015-05-14 18:31:21 -07:00
Chris Pearce
cf3535c1fd Bug 1156566 - Report via telemetry when Adobe EME plugin DLL is unexepectedly missing on startup. r=spohl,r=vladan 2015-05-15 11:50:52 +12:00
Chris Pearce
1d7b493a55 Bug 1156566 - Don't add invalid GMPs to GMPService in GMPProvider. r=spohl 2015-05-15 11:50:40 +12:00
Dave Townsend
3adce9c727 Bug 1156985: Fix crashing xpcshell test_signed_inject.js
--HG--
extra : rebase_source : 474807adfa45f063238066c0878307c9e18908c8
2015-05-11 12:29:44 -07:00
Dave Townsend
9291a55b7e Bug 1163046: Force AMO signature requirements on in branded beta and release builds. r=gps
--HG--
extra : rebase_source : 108e7737e8979e545f4721ef3fa310b481de9963
2015-05-11 12:24:45 -07:00
Dave Townsend
1fc780275e Bug 1151537: Support hotfixes signed by the AMO trusted root. r=rstrong
--HG--
extra : rebase_source : ff20f76e36de0bf499c837a3059709c1faf08447
extra : source : b9276252c2e68f43f2f6526f1bf9e03fe1d70393
2015-05-04 17:14:22 -07:00
Phil Ringnalda
20acfc81a9 Back out b9276252c2e6 (bug 1151537) for Windows xpcshell failures
CLOSED TREE
2015-05-09 13:50:58 -07:00
Dave Townsend
93783264d8 Bug 1151537: Support hotfixes signed by the AMO trusted root.
--HG--
extra : rebase_source : 9b192be9430bd1e68047d6032e607fc79e753825
2015-05-04 17:14:22 -07:00
Dão Gottwald
55b17ab83d Bug 1151509 - Implement the front-end side of the warning about add-ons detected as no longer signed during the periodic check. r=dtownsend 2015-05-08 19:27:25 +02:00
Daniel Veditz
b6db17399a Bug 1038072 - call unpacked jar verification from XPIProvider. r=mossop
--HG--
extra : rebase_source : de5a3ea103ca93a6dab98410aa121428a31a7f08
extra : source : 266853fe89654e03923048aa4e50789b411a97fc
2015-05-04 18:00:00 +02:00
YFdyh000
931e1283c9 Bug 1160871 - add accesskey to Debug add-on menu. r=mossop 2015-05-03 06:27:00 +02:00
Wes Kocher
b4ecf746d3 Merge m-c to fx-team a=merge 2015-05-01 17:24:54 -07:00
Wes Kocher
5ef0b7b6a7 Merge inbound to m-c a=merge 2015-05-01 17:19:28 -07:00
Dave Townsend
c11d61496f Bug 1159805: Land updated signed XPIs for tests. r=Mossop 2015-05-01 16:16:02 -07:00
Dave Townsend
807c708c09 Bug 1160340: Themes should not be marked as unsigned in the add-ons manager. r=dveditz
--HG--
extra : rebase_source : 98fd079d1a5da4836763ceb6be553c031be4fabe
extra : amend_source : 21bdc204d19de3068e953582e5068b2d9d7347ed
2015-04-30 17:51:18 -07:00
Jim Mathies
167ae6301c Bug 1129040 - In the content process blocklist shim fail in all addon related calls. r=Mossop 2015-05-01 10:07:19 -05:00
Jim Mathies
967e987b40 Bug 1129040 - Forward blocklist update notifications to the content process. r=Mossop 2015-05-01 10:07:18 -05:00
Richard Marti
bee499f64f Bug 989469 - Use new style for add-on manager. ui-r=mmasalaney r=mossop CLOSED TREE
--HG--
rename : toolkit/themes/windows/mozapps/extensions/heart.png => toolkit/themes/linux/mozapps/extensions/heart.png
rename : toolkit/themes/windows/mozapps/extensions/extensions.css => toolkit/themes/shared/extensions/extensions.inc.css
rename : toolkit/themes/windows/mozapps/extensions/navigation.png => toolkit/themes/shared/extensions/navigation.png
extra : amend_source : e7ed1be23874b7986378393234bfdca3891a5f30
2015-04-03 17:00:56 +02:00
Dave Townsend
cec7acc473 Bug 989469: Fix browser_gmpProvider.js to switch views correctly. r=spohl 2015-04-30 16:28:52 -07:00
Dão Gottwald
ea5e332f77 Bug 1149702 - Display a note about add-ons that aren't properly signed in the add-ons manager. r=mossop 2015-04-30 21:17:39 +02:00
Dave Townsend
eea628c504 Bug 1151511: Implement the periodic check for unsigned add-ons. r=dveditz
--HG--
extra : rebase_source : 572cbf546e9fb7695252036522e2c09defb7e7ce
2015-04-07 11:08:34 -07:00
Justin Dolske
cffc584803 Bug 1159814 - Change the Adobe CDM's homepage URL. r=gavin, a=dolske 2015-04-29 15:57:00 +02:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00
Carsten "Tomcat" Book
ae58dbd5c0 Backed out changeset c0a9dd81198a (bug 1129040) for linux bc1 test failure on a CLOSED TREE 2015-04-29 16:52:29 +02:00
Carsten "Tomcat" Book
4f3df8cff2 Backed out changeset a8aa5f3c1c14 (bug 1129040) 2015-04-29 16:51:35 +02:00
Jim Mathies
0cd1c90861 Bug 1129040 - In the content process blocklist shim fail in all addon related calls. r=Mossop 2015-04-29 06:33:10 -05:00
Jim Mathies
e4180f41c7 Bug 1129040 - Forward blocklist update notifications to the content process. r=Mossop 2015-04-29 06:33:09 -05:00
Dave Townsend
7b5d12ad46 Bug 1038068: Check add-on signatures and refuse to install unsigned or broken add-ons (preffed off for now). r=dveditz
--HG--
extra : source : 3b48e1a81a170634dce964cd462c752d09680805
2015-03-31 11:32:40 -07:00
Dave Townsend
f9067433a2 Bug 1038068: Always log errors from saving the extensions database. r=dveditz
--HG--
extra : rebase_source : 2087884ec6ab93f674629120098493226703037e
2015-04-23 14:43:37 -07:00
Carsten "Tomcat" Book
30b01a14e8 Backed out changeset f99621542727 (bug 1038068) for test failures in test_corrupt.js etc on a CLOSED TREE 2015-04-23 09:09:30 +02:00
Dave Townsend
2fb50ac667 Bug 1038068: Check add-on signatures and refuse to install unsigned or broken add-ons (preffed off for now). r=dveditz
--HG--
extra : source : 3b48e1a81a170634dce964cd462c752d09680805
extra : amend_source : 4aa3ae86e2afc75529e880ab962c67163405248b
2015-03-31 11:32:40 -07:00
Wes Kocher
9adc1fecb8 Backed out changeset 3b48e1a81a17 (bug 1038068) for xpcshell orange even after a clobbering IGNORE IDL
--HG--
extra : amend_source : 086173e953ae46aa2292993601380ab04884b1ac
2015-04-21 18:21:52 -07:00
Dave Townsend
f4b5328e0d Bug 1038068: Check add-on signatures and refuse to install unsigned or broken add-ons (preffed off for now). IGNORE IDL. r=dveditz
--HG--
extra : rebase_source : a48282c6b3f10391e9492d4f0a89cef8697ea622
extra : amend_source : 17c0645d0577dad789b2d9b4879459327fcef1f7
2015-03-31 11:32:40 -07:00
Carsten "Tomcat" Book
55fcaa830f Merge mozilla-central to mozilla-inbound 2015-04-13 12:04:29 +02:00
Carsten "Tomcat" Book
ede9c4f220 merge mozilla-inbound to mozilla-central a=merge 2015-04-13 12:00:00 +02:00
Edwin Flores
22ff3a6f11 Bug 1148071 - Fix CDM update behaviour - r=cpearce 2015-04-04 17:03:16 +13:00
Ryan VanderMeulen
e88000de0a Backed out changeset 4c16c59c8158 (bug 989469) for browser_gmpProvider.js failures.
--HG--
rename : toolkit/themes/shared/extensions/navigation.png => toolkit/themes/windows/mozapps/extensions/navigation.png
2015-04-10 12:46:23 -04:00
YFdyh000
ec9e501961 Bug 1150786 - Add the localized string and accesskey for "Debug" add-on button. r=Mossop 2015-04-06 17:56:00 -04:00
Richard Marti
ecb3a165ec Bug 989469 - Use new style for add-on manager. ui-r=mmasalaney r=mossop
--HG--
rename : toolkit/themes/windows/mozapps/extensions/heart.png => toolkit/themes/linux/mozapps/extensions/heart.png
rename : toolkit/themes/windows/mozapps/extensions/extensions.css => toolkit/themes/shared/extensions/extensions.inc.css
rename : toolkit/themes/windows/mozapps/extensions/navigation.png => toolkit/themes/shared/extensions/navigation.png
2015-04-03 17:00:56 +02:00
Christoph Kerschbaumer
94d55409cf Bug 1147562 - Update remaining callsites of newChannel before landing the shim in toolkit/ (r=gijs) 2015-04-09 10:10:45 -07:00
Mike Kaply
582b36c834 Fallout from bug 1132971 - Remove const now defined in head.js - CLOSED TREE 2015-04-10 07:28:05 -05:00
Mike Kaply
ddaf3b093b Bug 1132971 - Don't assume that the add-ons discovery pane will be available, r=mossop
--HG--
extra : rebase_source : e5b1bf8b9d405ad491ed1e0d917714c64c8c3205
2015-04-09 11:18:31 -05:00
Stephen Pohl
1ec7eca591 Bug 1151544: Update Adobe EME's homepage URL in addons manager. r=gfritzsche 2015-04-07 14:05:34 -04:00
Peter Van der Beken
f3fd8b5329 Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 1 - split GeckoMediaPluginService into a part for chrome and a part for both content and chrome. r=jwwang.
--HG--
rename : dom/media/gmp/GMPService.cpp => dom/media/gmp/GMPServiceParent.cpp
rename : dom/media/gmp/GMPService.h => dom/media/gmp/GMPServiceParent.h
rename : dom/media/gmp/mozIGeckoMediaPluginService.idl => dom/media/gmp/mozIGeckoMediaPluginChromeService.idl
extra : rebase_source : 7fe8972a20b198ca960ae76df082b153d22c37b4
2015-02-09 21:54:12 +01:00
Wes Kocher
5d721ab157 Merge inbound to m-c a=merge 2015-04-01 17:54:45 -07:00
Ryan VanderMeulen
e5afe92d0f Merge m-c to fx-team. a=merge 2015-04-01 12:44:33 -04:00
Ryan VanderMeulen
fc845bd84b Merge inbound to m-c. a=merge 2015-04-01 12:34:21 -04:00
Brian Grinstead
602337095e Bug 1148996 - Install a devedition lightweight theme on startup, then wait for it to be applied before applying devedition styles;r=Gijs 2015-03-31 20:00:32 -07:00
Ryan VanderMeulen
5bf1674bb7 Merge m-c to inbound. a=merge 2015-04-01 12:40:05 -04:00
Alessio Placitelli
fe2acbe5b6 Bug 1148763 - Don't initialise Telemetry twice in browser_bug557956.js. r=gfritzsche 2015-04-01 05:09:00 -04:00
Chris Pearce
066aa9747b Bug 1146201 - Use message manager instead of observer service in GMPWrapper. r=markh 2015-03-31 20:50:01 +13:00
Chris Pearce
5f9cc4f2a3 Bug 1146201 - Initiate check for GMP updates when JS requests CDM and we haven't installed it yet. r=spohl 2015-03-31 20:50:01 +13:00
Dragana Damjanovic
b658f9d97e Bug 647010 - Limit when HTTP authentication dialog is shown. Block cross-origin http auth prompts with pref. r=mayhemer, r=tanvi 2015-04-01 06:56:00 -04:00