Commit Graph

4673 Commits

Author SHA1 Message Date
Dave Townsend
1806b6b76c Bug 1245916: Turn on no-undef in toolkit/mozapps/extensions. r=rhelmer
Mostly just declaring globals that Cu.imports defines but there are some actual
bugs here that have been fixed as well as one test that just never ran because
of a hidden exception.

MozReview-Commit-ID: J6uIpYp8ANx
2016-02-03 22:48:48 -08:00
Andrea Marchesini
c6537709fd Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Wes Kocher
3b6e1cd6a4 Backed out 3 changesets (bug 1231784) for breaking 10.10 opt jetpack tests
Backed out changeset 653df21ca861 (bug 1231784)
Backed out changeset 0aac20bc3619 (bug 1231784)
Backed out changeset edcbd7c0aa36 (bug 1231784)
2016-02-03 17:38:12 -08:00
Andrew Halberstadt
2489a6c765 Bug 1231784 - Fix toolkit/mozapps/extensions/test/browser/browser_select_confirm.js, r=Mossop 2016-01-22 14:34:55 -05:00
Andrew Halberstadt
cc5061ee00 Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong 2016-01-27 11:36:16 -05:00
Robert Helmer
24172a5df8 Bug 1249689 - generate and provide a Symbol for each add-on on startup r=mossop
MozReview-Commit-ID: LoPGSrJtlkr
2016-01-11 15:35:19 -08:00
Robert Helmer
84f0238afa Bug 1249689 - replace bootstrapScope with an activeAddons Map() that contains it r=mossop
MozReview-Commit-ID: 4s3c5OOQYLv
2016-02-22 17:39:21 -08:00
Sebastian Hengst
879ebb4309 Backed out changeset 4ca40a403e9d (bug 1249640) for XPCshell failures on OSX. r=backout 2016-02-24 19:02:10 +01:00
Milan Sreckovic
e4062a9361 Bug 1249640: Part 1 A way to block canvas 2D acceleration from blocklists. r=benwa 2016-02-19 14:39:00 +01:00
Carsten "Tomcat" Book
5f2eb05976 Backed out changeset 889072501f26 (bug 1239808) bustage for web platform tests as run via taskcluster 2016-02-24 12:52:16 +01:00
Carsten "Tomcat" Book
edaf22574c Merge mozilla-central to mozilla-inbound 2016-02-24 12:21:22 +01:00
Henrik Skupin
0783e6386f Bug 1239808 - Rename test_packages.json to include package basename as prefix. r=chmanchester, r=jlund
MozReview-Commit-ID: LxTr8Mo2P0i
2016-02-24 10:49:40 +01:00
Chris Pearce
df997cd001 Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl
MozReview-Commit-ID: FIdyL7l3eY6
2016-02-24 15:46:52 +13:00
Dave Townsend
e8afce7583 Bug 1243935 - "Restartless add-ons that get into the pending disable state never disable". r=aswan 2016-01-28 16:01:00 +01:00
Phil Ringnalda
6342273139 Back out e8d8faa25955 (bug 1241111) for breaking platform.ini, a=bustage 2016-01-31 10:01:22 -08:00
Phil Ringnalda
cf5e6f9eb3 Merge f-t and m-i to m-c, a=merge 2016-01-30 17:08:37 -08:00
Phil Ringnalda
c6000dca8a Merge m-c to m-i 2016-01-30 09:43:42 -08:00
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Phil Ringnalda
129d6694f3 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Kris Maglione
ca6d4f166d Bug 1225715: Part 6 - Remove redundant manifest type checking from XPIProvider. r=Mossop 2016-01-21 23:36:53 -08:00
Kris Maglione
b03f09db5f Bug 1225715: Part 5 - Add schema for extension manifests. r=billm
This currently forbids unknown top-level schema properties, and unknown
permissions. In the future, I'd like to make those warnings rather than
errors, for compatibility purposes, but I think errors are fine for now.
2016-01-30 10:27:02 -08:00
Georg Fritzsche
fd1dc72457 Bug 1241111 - Allow overriding SOURCE_REV_URL, SOURCE_REPO, SOURCE_CHANGESET. r=ted 2016-01-29 18:42:51 +01:00
Paolo Amadini
f4353161e9 Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-01-29 13:19:53 +00:00
Andrew Swan
b65ee05f9b Bug 1172835 - Add warning icon to unsigned extensions warning button. r=Mossop 2016-01-28 11:16:28 -08:00
Dave Townsend
d24a0c9d9e Bug 1237820: Track whether a user has been offered a sideloaded add-on or not. r=rhelmer
Previously we just checked every newly sideloaded add-on to decide whether to
offer it to the user for opt-in. This adds a new "seen" property (naming could
be better if you have other suggestions) which tracks whether we've ever shown
the opt-in UI for the add-on. It defaults to true for all add-ons and is only
set to false for sideloaded add-ons that default to being disabled on install.
The seen flag can be set to true through the API but cannot be reset to false
as that would allow add-ons to forcibly re-present themselves to the user when
disabled.

The opt-in UI sets the seen flag to true only when it has focus which fixes a
long-standing bug where if you accept the first add-on you see and restart the
other tabs might not show up.

The one slight downside of this approach is that it now requires loading the
full add-ons database on every startup in order to check the seen flag for all
installed add-ons. There are hacky ways we might get around this but they all
involve overloading prefs with even more object data. The good thing is that
we do the load and check asynchronously after most of startup is complete and
the UI is fully loaded so there shouldn't be any percieved impact to startup
time. I've run multiple talos runs to verify that none of the numbers appear to
regress.
2016-01-26 14:31:33 -08:00
Nils Meinert
82811ca9ed Bug 1225102 - Stop recording addon telemetry details for GMP plugins. r=gfritzsche 2016-01-25 14:00:01 -08:00
Gijs Kruitbosch
f33ce262a2 Bug 1135866 - fix syntax error in manifest file, rs=trivial,bustage 2016-01-25 09:42:17 +00:00
Blair McBride
2a6eb6b20d Bug 1135866 - Disable intermittent browser_bug562890.js & browser_openDialog.js on Windows opt builds. r=mossop 2016-01-19 22:52:23 +13:00
Gabor Krizsanits
a9c6984669 Bug 1234675 - Ability to disable e10s for users with addons. r=Mossop 2016-01-22 10:10:17 +01:00
Andrew Halberstadt
785b1a3245 Bug 1240875 - Register temporary addons with AddonPathService, r=mossop 2016-01-19 15:16:18 -05:00
Dave Townsend
2ffc222f5b Bug 1241181: Test for bug 1232274 should use promises to restart the add-ons manager. r=rhelmer
Really for consistency than anything else.
2016-01-20 10:01:34 -08:00
Dave Townsend
7b6e7cf218 Bug 1232274: Make installing or enabling an add-on require a restart if e10s is on and a pref is set. r=rhelmer 2016-01-14 15:21:01 -08:00
Robert Helmer
c068c4d060 Bug 1239484 - remove use of Object.values() r=mossop 2016-01-19 11:01:19 -08:00
Sebastian Hengst
b7ecbb92fb Bug 1239868 - remove unused PREF_EM_UPDATE_INTERVAL. r=Mossop 2016-01-15 13:11:31 +01:00
Carsten "Tomcat" Book
a1d46b7914 merge mozilla-inbound to mozilla-central a=merge 2016-01-15 11:46:47 +01:00
Jim Chen
6e55ad29e4 Bug 1223209 - Clean up old GeckoView library files; r=nalexander
Right now, each incremental build produces a new set of GeckoView
library files, but the previous files don't get cleaned up, and you end
up with a bunch of old libraries in your objdir. This patch cleans up
the old files before producing new ones.
2016-01-14 18:20:02 -05:00
Jim Chen
a4c58de36c Bug 1223209 - Remove geckoview_example; r=nalexander r=mfinkle
geckoview_example is broken and obsolete, and we haven't maintained it
for a long time. We should remove it from the tree, allow GeckoView AARs
to build, and rely on other example GeckoView projects that live on
GitHub.
2016-01-14 18:20:02 -05:00
Kris Maglione
8b7a54bbe2 Bug 1235365: Parse WebExtension JSON files as UTF-8. r=billm 2016-01-09 16:53:24 -08:00
Matt Howell
9a3b9363d9 Bug 1234861 - Fix a case where the installer can "clean up" registry keys it didn't create. r=rstrong 2016-01-12 12:38:50 -08:00
Chris Manchester
f7f2da7629 Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted 2015-07-16 16:52:31 -07:00
Chris Peterson
a4cd491fb7 Bug 1236389 - Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in mozapps/update. r=rstrong
toolkit/mozapps/update/updater/updater.cpp:3722:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
toolkit/mozapps/update/updater/updater.cpp:3768:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2016-01-01 17:04:00 -07:00
Nicholas Nethercote
84b71404df Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Carsten "Tomcat" Book
d1ee9c9f70 merge mozilla-inbound to mozilla-central a=merge 2016-01-07 11:50:57 +01:00
Robert Helmer
2261f2ae24 Bug 1209344 - Link to about:debugging from about:addons. r=mossop 2016-01-05 12:19:59 -08:00
Robert Helmer
59bdb048ed Bug 1209344 - Remove debug button from about:addons. r=mossop 2016-01-05 12:19:15 -08:00
Mark Finkle
69f2796b64 Bug 590127 - Remove toolkit implementation of about:addons r=margaret 2016-01-06 00:49:03 -05:00
Chris Pearce
f218e8882c Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl 2015-12-21 16:06:41 +13:00
Dave Townsend
fb1e757d42 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Ryan VanderMeulen
f0dc54f9b2 Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
2d12810664 Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium 2015-12-23 16:50:47 -08:00
Matt Howell
c8b534e9bf Bug 1120124 - Prevent 64-bit builds from installing over 32-bit ones (or vice-versa) by default. r=rstrong 2016-01-05 14:31:27 -08:00
Dave Townsend
df031b5ddd Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe 2016-01-06 10:10:35 -08:00
Chris Pearce
9d003e1849 Bug 1234099 - Backout 34460cc654ca due to playback failures caused by Adobe GMP. r=backout 2016-01-07 09:57:36 +13:00
Jan Beich
1046efd5fc Bug 1234033 - Unbreak build --with-system-bz2 using Clang. r=dvander 2015-07-24 08:09:04 +00:00
Matt Howell
7ab6992976 Bug 1212939 - Disable update logging if given a log file path longer than MAX_PATH; r=rstrong 2015-12-21 11:36:54 -08:00
Mike Hommey
673e7f80f7 Bug 1235676 - Replace $(abspath $(DEPTH)) with $(topobjdir). r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
a05c4207ed Bug 1235676 - Replace $(abspath $(DIST)) with $(ABS_DIST). r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
3f231e7e9d Bug 1235676 - Replace _ABS_DIST with ABS_DIST. r=mshal 2015-12-31 08:10:02 +09:00
Mike Hommey
337af22d15 Bug 1235676 - Add a global ABS_DIST variable for a non-relative version of DIST, based on topobjdir. r=mshal
This replaces multiple local definitions of ABS_DIST.
2015-12-31 08:10:02 +09:00
Milan Sreckovic
1289d61b67 Bug 1234385: Add downloadable blocklist support for between comparison types, by recognizing driverVersionMax when parsing. r=benwa 2015-12-24 12:53:40 -05:00
Stephen A Pohl
a11c9c6384 Bug 1222555: Copy updater.app to the proper location for app update mochitest chrome tests. r=rstrong,ted 2015-12-21 12:21:57 -05:00
Carsten "Tomcat" Book
49c97f4f52 Merge mozilla-central to mozilla-inbound 2015-12-18 15:25:47 +01:00
Masatoshi Kimura
d3ca21019c Bug 1197191 - Add .pdf and media file types to OpenWithProgids. r=rstrong 2015-12-18 23:00:51 +09:00
Alessio Placitelli
ed26cf73f9 Bug 1217282 - Add test coverage. r=gfritzsche 2015-12-15 05:44:00 +01:00
Chris Manchester
9b8027e8eb Bug 1223745 - Move generate headers in toolkit/mozapps/update/updater/Makefile.in to GENERATED_FILES. r=glandium 2015-12-16 13:08:34 -08:00
Chris AtLee
7a279402dc Bug 1231379 - Disable omni.ja compression on desktop platforms r=catlee,glandium 2015-12-15 10:11:12 -05:00
Chris Pearce
347050d5de Bug 1232799 - Remove KEY_PLUGIN_TRIAL_CREATE pref from GMPProvider and friends. r=spohl
The GMPVideoDecoderTrialCreator was removed from Gecko in bug 1232527, and so
we don't need to set/reset this pref in the GMPProvider any more.
2015-12-16 10:38:51 +13:00
Chris Pearce
d99ceb32d1 Bug 1232795 - Remove VIDEO_EME_DISABLED telemetry probe. r=spohl 2015-12-16 10:32:41 +13:00
Robert Helmer
d67d9d234f Bug 1231003 - clarify in variable names and comments that temporary add-ons can be files or dirs r=mossop 2015-12-07 14:53:11 -05:00
Georg Fritzsche
ebef6d0425 Bug 1231055 - Fix tags usage in PluginProvider. r=dtownsend 2015-12-08 19:52:45 -05:00
Matt Howell
b79e2ddec2 Bug 1079858, Deal with deprecation of SHA1 (SHA-1) Authenticode signatures for Windows signing, part 2 (swap cert), r=catlee, a=lizzard 2015-12-08 16:16:55 -05:00
Ryan VanderMeulen
600c01a4b6 Merge fx-team to m-c. a=merge 2015-12-05 15:09:41 -05:00
Wes Kocher
b6c86514bf Backed out changeset 0ea0832d052d (bug 1079858) for causing bug 1230631 a=backout 2015-12-04 14:58:55 -08:00
Dave Townsend
bea898214f Bug 1229519: Fix download managers to pass eslint checks. r=mak 2015-12-03 10:00:18 -08:00
Robert Helmer
aed58de900 bug 1228792 - remove leading 0, be explicit about octals r=mossop 2015-12-02 18:43:09 -08:00
Robert Helmer
84a117067d bug 1228792 - use function* for generators r=mossop 2015-12-02 18:42:50 -08:00
Robert Helmer
5f35ae1b56 bug 1228792 - use standard version of catch r=mossop 2015-12-02 18:42:16 -08:00
Robert Helmer
48beee83db bug 1228792 - remove use of array comprehensions r=mossop 2015-12-02 18:40:59 -08:00
Dave Townsend
cfefdf4ef5 Bug 1227981: Test that referencing a DTD from the inline options of an add-on works. r=rhelmer 2015-11-25 10:18:53 -08:00
Ben Hearsum
bd2dd20e30 Bug 1079858: Enable SHA2 signing for windows. r=catlee rs=rstrong 2015-12-02 14:12:37 -05:00
Carsten "Tomcat" Book
81c50d96fe Merge mozilla-central to fx-team 2015-12-01 15:28:12 +01:00
Carsten "Tomcat" Book
c78dfb0a34 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Robert Helmer
051692f3a5 Bug 1195353 - leave extension proxy files that point to invalid manifests r=mossop 2015-11-25 23:28:30 -08:00
Dave Townsend
137e4e143e Bug 1226386: Remove or fix many uses of Array.forEach. r=rhelmer 2015-11-20 15:31:17 -08:00
Dave Townsend
92ccaadf0f Bug 1226386: Remove use of non-standard __defineGetter__ and __defineSetter__. r=rhelmer
Moved these mostly onto the prototype. We couldn't do this before without making
the target of the wrapper a property of the wrappers and we don't want to expose
that but now WeakMaps allow us to get the target without exposing it.

Once change with this approach is that when the test suite shuts down the
add-ons manager it kills the map and so wrappers cease to function. A couple of
tests were relying on accessing wrapper properties after that but that would
have likely been unsafe anyway.
2015-11-20 10:55:13 -08:00
Dave Townsend
1758b5d021 Bug 1226386: Switch to fat arrow functions where it makes sense. r=rhelmer
Both for brevity and to remove the use of |self = this|.
2015-11-20 10:06:14 -08:00
Dave Townsend
c1869c479f Bug 1226386: Remove functions names where possible. r=rhelmer
We used to need explicit names for functions to make stack traces display
properly. The JS engine is smarter now so doesn't need them and they just
make the code messy and redundant.
2015-11-19 16:35:41 -08:00
Dave Townsend
52d0cb06a8 Bug 1226386: Remove createWrapper function and replace with a memoized property. r=rhelmer 2015-11-19 14:19:33 -08:00
Dave Townsend
48f9e79f72 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.
2015-11-19 15:30:47 -08:00
Dave Townsend
558a3fca62 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.
2015-11-27 12:44:22 -08:00
Kris Maglione
cec61e6961 Bug 1192435: Support updates for WebExtensions. r=Mossop 2015-11-17 16:23:15 -08:00
Johann Hofmann
4bfc6f1e8c Bug 1200674 - Allow flexible icon sizes in ExtensionUtils. r=dtownsend 2015-11-24 18:20:26 +01:00
Christoph Kerschbaumer
ed48ca2d92 Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
Robert Helmer
96d1a54534 Bug 1209341 - allow loading unsigned restartless add-ons at runtime. r=mossop 2015-11-03 10:07:08 -08:00
Jim Chen
71b77b9a88 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
4c605d31cb Bug 1182546 - Test update: make inlinesettings accessible from content (r=bz) 2015-11-20 10:56:55 -08:00
Gijs Kruitbosch
2ee7d35854 Bug 1191468 - always load app dir add-ons irrespective of enabledScopes, r=Mossop,froydnj 2015-11-17 13:55:31 +00:00
Carsten "Tomcat" Book
bee53c8625 Merge mozilla-central to fx-team 2015-11-19 15:24:02 +01:00
Carsten "Tomcat" Book
8c38596e70 merge mozilla-inbound to mozilla-central a=merge 2015-11-19 14:44:11 +01:00
Nigel Babu
174d79f200 Backed out changeset 9155ee3d42d8 (bug 1182546) for Android M(c) bustage 2015-11-19 14:26:20 +05:30
Gijs Kruitbosch
8362f8f434 Bug 1040005 - fix nsHelperAppDlg.js to cope with always ask in combination with a preferred helper app, r=mconley 2015-11-17 16:56:16 +00:00
Dave Townsend
f478a4b069 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.
2015-11-09 15:02:29 -08:00
Dave Townsend
ea9d8c6a76 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.
2015-11-09 15:02:05 -08:00
Dave Townsend
c5bfb6b827 Bug 1225629: Always verify signatures for hotfixes and system add-on updates. r=rhelmer 2015-11-17 14:05:04 -08:00
Mike Hommey
21ea6a1c90 Bug 1224490 - Kill LIBXUL_DIST. r=mshal 2015-11-17 10:00:19 +09:00
Christoph Kerschbaumer
bfa00b54c4 Bug 1223435 - Use channel.asyncOpen2 in toolkit/mozapps/extensions/internal/XPIProvider.jsm (r=sicking) 2015-11-15 14:48:11 -08:00
Christoph Kerschbaumer
3ff59d2c04 Bug 1182546 - Test update: make inlinesettings accessible from content (r=bz) 2015-11-18 19:25:03 -08:00
Mike Hommey
c15f45a0d4 Bug 1216371 - Use the PiecemealFormatter for the OmniJarFormatter. r=gps 2015-11-19 08:05:51 +09:00
Andrew Halberstadt
e7ce0828a2 Bug 1219442 - Re-write specialpowers as a restartless addon, r=jmaher
In order to meet the addon signing requirement for tests, specialpowers
needs to be installed at gecko runtime. This means it must be restartless.
This patch packages specialpowers as a restartless addon, but it does not
yet install it at runtime.
2015-11-05 10:00:59 -05:00
Mark Goodwin
d349a25c8e 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
cf11bc894c Backed out changeset 46eadccf444d (bug 1223435) 2015-11-16 16:03:18 +05:30
Christoph Kerschbaumer
4c9499e970 Bug 1223435 - Use channel.asyncOpen2 in toolkit/mozapps/extensions/internal/XPIProvider.jsm (r=sicking) 2015-11-15 14:48:11 -08:00
Mike Hommey
c248dd34b4 Bug 1222323 - Avoid passing extra defines to the compiler from config.mk. r=gps
C/C++ code should not be relying on XPI_NAME or AB_CD being defined, so
moving them out works.
2015-11-14 08:40:54 +09:00
Bill McCloskey
7f0b500571 Bug 967873 - Fix some recently enabled tests 2015-11-11 16:24:34 -08:00
Nick Alexander
3ba90b4e47 Bug 938994 - Move build/mobile/robocop into mobile/android/tests/browser/robocop. r=gbrown
This builds the Robocop tests with |mach build mobile/android|, making
it easier for developers to build Fennec and the tests at the same
time.
2015-11-09 12:55:38 -08:00
Wes Kocher
98dbbbe89e Merge m-c to fx-team, a=merge 2015-11-05 18:47:26 -08:00
Wes Kocher
22c6858903 Merge inbound to central, a=merge 2015-11-05 18:44:24 -08:00
Kris Maglione
01f0997d2c Bug 1192433: Part 3 - Support localized names and descriptions in WebExtension manifests. r=Mossop 2015-11-02 16:50:42 -08:00
Carsten "Tomcat" Book
d47bd77a6f Merge mozilla-central to fx-team 2015-11-05 12:17:28 +01:00
Andrew McCreight
539c3b4785 Bug 1221185 - Enable more e10s tests in toolkit/mozapps/extensions/test/browser/. r=felipe 2015-11-03 09:12:00 +01:00
aleth
15b414b395 Bug 1221356 - Don't package mozharness for Thunderbird builds. r=gps 2015-11-04 01:26:46 +01:00
Carsten "Tomcat" Book
7fd446b11f merge mozilla-inbound to mozilla-central a=merge 2015-11-04 11:59:46 +01:00
Kris Maglione
ce6bf11d43 Bug 1213632: Prevent WebExtensions from using versioned JavaScript. r=billm 2015-10-22 23:25:43 -07:00
Dave Townsend
6fbdb4ec02 Bug 1220198: Never appDisable experiments if they don't have the right app compatibility information available. r=rhelmer 2015-11-02 11:15:12 -08:00
Matt Howell
ac8a5113c6 Bug 1205843 - Part 2: Disable maintenance service on WinXP < SP3 - r=rstrong
Attempt to get around the fact that XP SP2 (and below) systems won't be able to
handle Authenticode signatues with SHA-2 digests by disabling the maintenance
service, the only thing on our update path that uses Authenticode, on systems
running WinXP below SP3.

This patch both prevents the service from being included in new installations,
and prevents the service from being used where it is already installed.
2015-10-27 14:31:34 -07:00
Kris Maglione
3767292a88 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.
2015-10-19 09:18:42 -07:00
Kris Maglione
7ffbc9e953 Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop 2015-11-03 14:49:46 -08:00
Wes Kocher
1aa2dd2be4 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
411a416b0e 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.
2015-10-19 09:18:42 -07:00
Kris Maglione
b55ae08207 Bug 1214058: Part 1 - Add a simplified JSON-based add-on update protocol. r=Mossop 2015-11-03 14:49:46 -08:00
Wes Kocher
917b5f3bb1 Merge fx-team to central, a=merge 2015-10-29 17:07:41 -07:00
Fabrice Desré
ae5427b571 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
99535144f4 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)
2015-10-29 12:17:25 -07:00
Tim Nguyen
1a4049e512 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é
e8aa747fc4 Bug 1208242 - Part 1: hook up the blocklist service to b2g web extensions r=mossop,ferjm 2015-10-29 07:32:50 -07:00
Philip Chee
bf105cbd5b Bug 1217985 Follow up fix test bustage 2015-10-28 09:16:44 -07:00
Kathy Brade
1ef9a7b47e Bug 1217985 - Don't depend on Windows crypto DLLs
If not building the Windows Maintenance Service, avoid a dependency
on crypt32.dll and wintrust.dll.

Also, avoid setting sUsingService inside the updater code; this
ensures that all Maintenance Service related codepaths are skipped.
2015-10-27 17:50:32 -07:00
Bill McCloskey
a48b175c54 Bug 967873 - Test changes for async removeTab (r=Gijs) 2015-11-04 10:56:15 -08:00
Bill McCloskey
210c879835 Bug 1219504 - Test changes (r=Gijs,mconley,jryans,MattN,Mossop) 2015-11-04 10:56:15 -08:00
Nick Thomas
f02b2763af Bug 1220763 - 43.0b1 build1 osx en-US beta build failing to upload, r=glandium 2015-11-03 21:22:38 +13:00
Johann Hofmann
6046bc7b0c Bug 1192432 - Support custom icons in Web Extensions. r=mossop 2015-10-14 11:03:40 +02:00
Dave Townsend
1aa02c0c76 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.
2015-10-21 10:26:28 -07:00
Tooru Fujisawa
682bfa0898 Bug 1217082 - Remove for-each from toolkit/. r=Gijs 2015-10-19 04:57:14 +09:00
J. Ryan Stinnett
281c27c39b Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Ehsan Akhgari
19d51ea1b4 Bug 1215676 - Disable leak reporting during packaging; r=glandium 2015-10-20 08:41:31 -04:00
Nick Thomas
77407d4ec0 Bug 1213721 - unbuffered python output during 'make upload', r=glandium 2015-10-20 10:59:19 +13:00
Chris Manchester
b9c223a9a7 Backed out changeset 92e5edb0d02e (bug 992983) for breaking fix_stack_using_bpsyms.py 2015-10-19 12:15:43 -07:00
Chris Manchester
74d1935978 Bug 992983 - Build and upload the gtest libxul during test packaging. r=ted 2015-07-16 16:52:31 -07:00
Alexandre Poirot
dea025001d Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
Carsten "Tomcat" Book
631d2babdf merge mozilla-inbound to mozilla-central a=merge 2015-10-14 12:46:09 +02:00